From patchwork Tue Jan 30 14:55:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 768245 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D3B17CF2D; Tue, 30 Jan 2024 14:55:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626549; cv=none; b=VaE/3L2z7GJ5fO2PsF95+mK4ClDhwMwQ5o1wpqst9/h1EHWWf5L/oQ2lyb5d/dCyeVvv3TZyN6Vrbizr7afdERSe+2TQjnM6IUZJ+D4TwFWRrgQSbKZGLdlVDXPHcY2eJCOLouetGWRtyHnOlfmjWFhdue4o4t12BCnOQH1Uh2Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626549; c=relaxed/simple; bh=OGxm2l6+IjMuBaGBky+KQIZee+ckkPhgs3G0dlDBMRw=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type; b=jWhCrt1cJMwrQcXjiD+jYE/Jh9npYhHPiM2cT5UNzzOwILURSr0UV5l2NBJ/8BFA6AuK1l6tRTdoiTWM4/T6IrjAWow1pkcqxzn1iyZJBJcFfM2gV/mQY8ch0mc/h4vJW37ODMJC9wkcco7G9IW6OM7+IdLrvouUOpeD/oTBkk8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Rwh4kn53; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Rwh4kn53" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-55c2cf644f3so4090126a12.1; Tue, 30 Jan 2024 06:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626546; x=1707231346; darn=vger.kernel.org; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=+gO8ZOe0pnwzVp9ud1Vv3npsbTRCsdAJJfeT82uG86Y=; b=Rwh4kn53WRz56pPwhVaTGsUFNhm0D5gNG4I4m+obAAT+rmknoqRV5gmUUsO4jLPjFZ lZpiI33MJVbN3J48Ss9AILKC0/wGVqIiaNVzwzGCNcV4jEFyZR134SCXkh+rf1OTm2aV /4Bn5C55rsvW2FTgVAf403dVn7LdE49Nfjd9n6dlhxIvizaEfPcT4VaOT88NPMTDrbJ1 zbQ5NkDTN5zUO6s4nmpNeD3tP1RycaXlkcumpxEaehIJpcVdSFDc2rmSt7hC+2Y/yxRp O6nwU0M02dCd2kd7zCoh69ECOBLRgTfac2/z8nH5ja/1IsQEE0RBemrbUygykNh+OwRR bOCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626546; x=1707231346; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+gO8ZOe0pnwzVp9ud1Vv3npsbTRCsdAJJfeT82uG86Y=; b=F89q9iwG8asOhjdMX7QU1AE33sivvvfr0sJl9mcdFgygCVDex394EsxSlVdv/kRSA8 8uIn0+AKekUc4O5ATzFf+gvnSj9iYiO994vzys+6p5NsvB5KtdXv+GouN8EaT/RvXyCo ZI8/ANEaxubbaF9H4AWb8BKMPpHHysGgOcqDn3GpHcUSeL8lWlF23XYQz4th5cNUtm5g D7VTbjmoS/E+XiMWVowSoPDsw05xCMjtVErzNbu0cHpHF7J/5stjpVzYC4Q8HtcoVNFA 2VSARpB5u/UcIN7SPFeca4ejg9r8qwV+biHTkzn6CES7h4z3b0H9HfSnpuxBzk0tpaS0 Ov0w== X-Gm-Message-State: AOJu0YzmgTKYuwQQYgUbDwyR0mAv69q3R/o69NRXQ7ji4wbP6QE6Wpz4 cQKGNTuPg8U6pBoZ/0DqmhYcvz48gDrIwDSRMHG9ukOSnAoWTxat X-Google-Smtp-Source: AGHT+IFRi9GyQXJSDsExLjRideZaSaED5yGKhx4CIr1ncWL2nfC+HtMvB4YtSvuuO6qpUWW+snUifQ== X-Received: by 2002:a05:6402:b4c:b0:55f:327c:d18a with SMTP id bx12-20020a0564020b4c00b0055f327cd18amr1583915edb.36.1706626545234; Tue, 30 Jan 2024 06:55:45 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXqWmkvvZvd/lwxAk5iOs/VBqiWjnua4Cq/9D+o3F2xLZwmzEJMPNiiOjtfh9LrBXqnGvYMSd88PILzT8o3xzK9P+3yp3sqWYnh9NLKrY0hvwe7NU7JZQ0IbQ8uR0NFWWsIngFyK6hMspO4slIDwkejfYFCHuDhg5YWuYQ/j3lMjtmfRzxgplPg2gvPKKop3D3KOYnfFzFnkqtGcNM3AaUafagYD8RZAwUsC0Q8WDsXGVMdxReIZkzlhXqdhnP4oYMKjAA9x8mQyMmNeBh7DPxdCSUGhKGkGheL0vvxU9eK5QwO+oIbNs+WT7znL8d4caxfiZycFAURrmrN+sJlfk0kVLLBXN8vvHv91bOoDXxlmnRQYv2chZzfs/3g0GmQI8VCmU6orQxG8n23lnDYRaqkTeCBK5lhr+MLgbWh8vkgr2rCD1NC5KvR+vVRMmbo5YZOe0dqCTHw4D4W6ZdVi5xMUZptn1m/ttlJjjyk0AApmbHio84E8u7Rf+v2dribs36sZUh7b6hdhSrvM/TMQcpHXiLPf7nDUI8= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.55.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:55:44 -0800 (PST) Message-ID: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Date: Tue, 30 Jan 2024 15:55:43 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 1/6] dt-bindings: display: rockchip: rockchip,dw-hdmi: deprecate port property To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Language: en-US The hdmi-connector nodes are now functional and the new way to model hdmi nodes with, so deprecate the port property and make port@0 and port@1 a requirement. Also update example. Signed-off-by: Johan Jonker --- .../display/rockchip/rockchip,dw-hdmi.yaml | 27 ++++++++++++++++--- 1 file changed, 23 insertions(+), 4 deletions(-) -- 2.39.2 diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml index 7e59dee15a5f..cd0a42f35f24 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml @@ -97,8 +97,11 @@ properties: ports: $ref: /schemas/graph.yaml#/properties/ports - patternProperties: - "^port(@0)?$": + properties: + port: + $ref: /schemas/graph.yaml#/properties/port + deprecated: true + port@0: $ref: /schemas/graph.yaml#/properties/port description: Input of the DWC HDMI TX properties: @@ -108,11 +111,14 @@ properties: description: Connection to the VOPB endpoint@1: description: Connection to the VOPL - properties: port@1: $ref: /schemas/graph.yaml#/properties/port description: Output of the DWC HDMI TX + required: + - port@0 + - port@1 + rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -147,7 +153,11 @@ examples: clock-names = "iahb", "isfr"; ports { - port { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; @@ -155,11 +165,20 @@ examples: reg = <0>; remote-endpoint = <&vopb_out_hdmi>; }; + hdmi_in_vopl: endpoint@1 { reg = <1>; remote-endpoint = <&vopl_out_hdmi>; }; }; + + port@1 { + reg = <1>; + + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; + }; }; }; From patchwork Tue Jan 30 14:57:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 768244 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47E627E761; Tue, 30 Jan 2024 14:57:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626663; cv=none; b=LkfW7HPHfwR1TYlXIMxeDN4cujyaJ1L1vBCQgvIkFIK1DXq6wtujeldgj69m9mMWkwc8rFNHLokJnfMcYa1wcGIwazrpC6tEXJuBy7nUY6QPYpWb8cFWz054wHIuH0cg2jCmz8RR+vGUzfwf3TVA59FQtlpJaZ3SMiUG/uJGfHA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626663; c=relaxed/simple; bh=Mb6wtC714kf+HK8azpbzU0t9E0KmcnySm1wF8tE0Wv4=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=ruAfizzTi772Yh6OPPaW7Jk6YGTotl5piN3MtRGvqT1yKca8xtJSFC2uzahFJbgZyIRC1oewCiE4FYcoOuJzG09PkOwujmJF5koDGfVgR2dzRsDLCePUS1zv5Tte02VDLnuO8TyLEtppVF+Pz83c/pti2Ln+Zv+glNPMDv2jyE0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Q2duOxX1; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Q2duOxX1" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-5102a877d50so4352966e87.0; Tue, 30 Jan 2024 06:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626659; x=1707231459; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=q/NVySBHvc0o4wdoGiVlWfEl/BNyNyErkR0wz3BaYxg=; b=Q2duOxX18c/kT0VVwhxs0mP+IVGnMT98be6RP18tY0bVCPYyOiCnnioHt7rqQ31IBp JW2E5FbKkqexM7F13d9UOy4KnQA2D/CQXkvBTq4qiI+iOQeMrONI5PO39rIDk23eiFTD jlz/n023HylR0qZGdaMXgsf1zfig+ojrIo89RFYcU6D0ABOZoMfGI/9CfQUoPQ0bjoRH JkH5FwGJXODZq7lYzYmF2zKMRn/Bg4LjvjxHv0pTVkOjCMmFceNytH+RQQE1FMMs4pS3 bTa1lUAYGI37J0oxMtOKvZjiiCXAUW3fA0XRfcWnlWF60/Y1048RtWOXFXt8jTp5fXrB k0LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626659; x=1707231459; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=q/NVySBHvc0o4wdoGiVlWfEl/BNyNyErkR0wz3BaYxg=; b=TipNtnqqEsgBs5ug9TSUu9o9Y1A7p8sUNAc833lg0V+9StrZJ/4Q/CfU/vp7s+aFb4 Ljtg7S1ADIL9AT6ddlecMYG0q+b6R5yjE6ij3S/6g8VARC8qPs3N8dUGj25EWxHjOmmF 7iRQ/9XLz3uSONqAggXg1rjoSb0AHEefRbcgjyDKOfyI2B6RGPYTint+hELg6gWPphdv ah5+zVob8vhZiRo1jYYlSd+PuIMay7Gs1HpppWuU46DnIOTG6/VHEURfZZ8htv6y/9It 2+Wh+IaCD3PcFvAkvUQkU3Rm05DyMGShEjxsWciswF6SZWflXY9XA9N4fDqAk0YK3thi FYPw== X-Gm-Message-State: AOJu0YymK3PGELegXZq7vwa3o9TF9FeQeqH+NJXp3OHlKubkY6IhB/hV WYn1/R+9m/2ERBh8jE9lA7SpCNHp7WWRHpK598nDoOdUHvXa09SC X-Google-Smtp-Source: AGHT+IFn1Z26pvSzf1A60+etpdAcRjcbap+od6ft3lxl2E7sSOHZhEaK9JTfGX8g1RPOH8q3h/609w== X-Received: by 2002:ac2:4835:0:b0:50e:7b4d:887e with SMTP id 21-20020ac24835000000b0050e7b4d887emr4801358lft.65.1706626659027; Tue, 30 Jan 2024 06:57:39 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXtKPcxeDPDHRPcyvyciixUjP+8gxE9F9UoeTDo7kJsrWyOhFqmDwdKPVwCfKEYUPpJOm5LG+01o329oSO/CXK0fVXevvNd3hNwpoKGDQdW+O5c8GqFk7fQMph1uP6is4ZTXtj+0ofR3OLPG/JW/T65FczgaWc+i5lsqLJTzra1KQjLrmAUx4Uf6LFmUBzNrx/P+Nc1TTyjn0caviinMNAiUSFFtOCflrNF1wMr6Jv/r7XYpqYk59yjb09oFe/DHHejCJc7ou+F67/Yu/kegjf8myxnjnfEdjqL7ub3Y2qbBf2Nfgu8wn7x/LnL8ZxVxjvmCjGSafl7OGYkiXtcRmzCQM07NbIOVI5c4e5nPFOoNMYJR+eHKm+FxhxYRp+HkGDwd3vIohSxUCJEzwwO70ty6ubeDVJt3mZeh9aPOkW9yEtaZ1Fe4FHmzf2L+KREOHkg1gqGNX6pLVN8vQjDMrABxBlqcuvaPU7OUDb4/s7AD5T6vWQdDQ+LA3KWus/EsrlIRdwDP6fKO2+womw9Umlk6/igm6NG9Cw= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.57.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:57:38 -0800 (PST) Message-ID: <691c3a0e-8831-4d3b-98b8-f08235cb3b83@gmail.com> Date: Tue, 30 Jan 2024 15:57:38 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 3/6] ARM: dts: rockchip: fix rk3288 hdmi ports node To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Fix rk3288 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rockchip/rk3288.dtsi | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) -- 2.39.2 diff --git a/arch/arm/boot/dts/rockchip/rk3288.dtsi b/arch/arm/boot/dts/rockchip/rk3288.dtsi index ead343dc3df1..1a63281dcb36 100644 --- a/arch/arm/boot/dts/rockchip/rk3288.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3288.dtsi @@ -1239,28 +1239,38 @@ edp_out: port@1 { hdmi: hdmi@ff980000 { compatible = "rockchip,rk3288-dw-hdmi"; reg = <0x0 0xff980000 0x0 0x20000>; - reg-io-width = <4>; - #sound-dai-cells = <0>; - rockchip,grf = <&grf>; interrupts = ; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>; clock-names = "iahb", "isfr", "cec"; power-domains = <&power RK3288_PD_VIO>; + reg-io-width = <4>; + rockchip,grf = <&grf>; + #sound-dai-cells = <0>; status = "disabled"; ports { - hdmi_in: port { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_in: port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; + hdmi_in_vopb: endpoint@0 { reg = <0>; remote-endpoint = <&vopb_out_hdmi>; }; + hdmi_in_vopl: endpoint@1 { reg = <1>; remote-endpoint = <&vopl_out_hdmi>; }; }; + + hdmi_out: port@1 { + reg = <1>; + }; }; }; From patchwork Tue Jan 30 14:58:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 768243 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01F9685C5C; Tue, 30 Jan 2024 14:58:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626686; cv=none; b=ZkgLXj52adkA9jqZXI+DEQ2WHM3aTcN2oL3owmWMYeXd5btb60HxC5z6RhdrlcveXgU7aajd/9BGhGxcF4x58dTwifVT3LOwv6ULZLrooMkh8D/jPF3KY8a3o5jlEpYj2TmAvEyCABGHqWE3+9+YVvohaazJfemraboTAh79M5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626686; c=relaxed/simple; bh=uvKx/KXiwrX5Tw12wdU034IVRA4WrPOCHCRyoEjEb8U=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=qvNTTsg4XZES3ncfEU+l7jNsOYaGNbHGwvFFvAxK9cnER8PgInUt74d5UeqP427EuSuD09ASVAnsWX3RGBhu9tQBDQ/awwGqK3wKxg4sg4qlc1h7iEd7yZNtbk/agpRhPREervGVAKb8VzEBXIm/KiE+zTJu3ZlVVIS2G9Cms+E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=b6itl2I8; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="b6itl2I8" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5100ed2b33dso6650855e87.0; Tue, 30 Jan 2024 06:58:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626683; x=1707231483; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=4KVEU6pfibVE5vwIMFG0DTRVvqGuby5kG2hwyGagW1Y=; b=b6itl2I8fz9fxkyw9NBkKXh2UoZO1tMuJSPStplD+ti8zTOJ+yEOm9f2ZGBZZ24y7E QjkGL2GBVjnRXz36L2/s7G3uPcXfDTyH5EAOvO5q2eUuRQY29O7lbyjvIx/yYDxK5P0Y ybN1abl4fq1USKqh8/acyLZCrEOLoS0Tu7xDVPfvm3LSsloHbALwmdw7V81vbPj4HH2x UA3xrABeceygphpyCID+gmbqOTl8vdYWGfYZdKRzbHncIoKRoyCWL4xwGlimDbc4ts8K YatpgmUuIrIdOF536qGc9Zcp9bDOIV2XkyuCukvc7KbSgnDg4KOKQeGFBOqPxvFTCo7l awNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626683; x=1707231483; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4KVEU6pfibVE5vwIMFG0DTRVvqGuby5kG2hwyGagW1Y=; b=jdXO7yJOK4fUVSytTxesefJ64aNZEgNhxNWYMQDaXj2TSLYIaFY18kneacBDs7kU3l d+2480J78HElMpwdSp3RVoMh86mGXvBca5Cth5CYBsKehYeU4BxrEwucUOut0fj8sX8y TSq7Ry3bt5gMOHavd4KdI+Bick/bXz4qA9EpOqyX921N5Rf5tjwRvGFLQHTfZ6HFz6iq vPAz2UjrnEQ/J5RSfgBbzKVFppfwYJq9Ka2gvcGRRAxGa/WrMIotY1bIAdytj2z3HamM FcTGX7e/MgvkUMsttAq25TMF6g0IMriP4SohwjcHknXkRssgvWZCl++xLZCMZHtiOYOk /koQ== X-Gm-Message-State: AOJu0YwTgnovuSDikelR219M+uTG/nGfHNzYHSmnp2cf2AC9VKH2UQp0 EJ8jUNSUngVJ86IGeYK6a6A2Rzz5TEThseuddg1bOY5wy5BPcR4p X-Google-Smtp-Source: AGHT+IFjjgAuwmClX/o+HbWS8xl5uKCY8esTk4Nm5+W6LMTSgfafhSjGxp/blXmlubQ+95+DX33G+w== X-Received: by 2002:a05:6512:603:b0:510:27a7:ccc4 with SMTP id b3-20020a056512060300b0051027a7ccc4mr5835024lfe.64.1706626682921; Tue, 30 Jan 2024 06:58:02 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWaUrJEimFY5hJaIsjNuilaWQySKKzwncpg3VoY/OIk6fwNHm2uK4XncD/JZQcpwn9no0P0WSEZzR5MUn1hW0cKjM/lCt2KBRqOl5sDeu7MfSaUsRrXslGeT25IM/ejfROyAGJO9i4gSI5Jne/A5pUZoUlqW6eppbAbUNNk/tiDbKEeBUP+ECTvSoUeTpgT4VpvaHBPJ3ABPZ5wdSkiEnUOmio8Ajwdy/APxlVw0HBw3TMcg3jYpUvEXXsgJibDrMTWBVkZTNqtClEngjfKTUFdNRRUmFe5VZgQSBubZBobh44q0727zHc3K10Vs9YKgajk3tJaIyPCBJHfLKdqV39o63YxF7JwUALlDjOqr4a0UfTP5whmJi59i2lOGFipD3R6nUZRJsI2MSKNl9JsC10OOp0HylpGlIUnEyEeX+WjqlO7x+wMJWZlFFd2/DD4IY3/qbWJuAttWev4r/cpkfDDDKQfUCPjtFZOyGUhtUWBhZEBwvPbYPVx0yc6DZqF5ij1Jr1UfqKHOK1yH1VLGfsQtLLK5MLdpQA= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.58.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:58:02 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2024 15:58:01 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 5/6] arm64: dts: rockchip: fix rk3328 hdmi ports node To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Fix rk3328 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.39.2 diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index fb5dcf6e9327..749b3f965f32 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -727,7 +727,6 @@ vop_mmu: iommu@ff373f00 { hdmi: hdmi@ff3c0000 { compatible = "rockchip,rk3328-dw-hdmi"; reg = <0x0 0xff3c0000 0x0 0x20000>; - reg-io-width = <4>; interrupts = , ; clocks = <&cru PCLK_HDMI>, @@ -740,16 +739,26 @@ hdmi: hdmi@ff3c0000 { phy-names = "hdmi"; pinctrl-names = "default"; pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>; + reg-io-width = <4>; rockchip,grf = <&grf>; #sound-dai-cells = <0>; status = "disabled"; ports { - hdmi_in: port { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_in: port@0 { + reg = <0>; + hdmi_in_vop: endpoint { remote-endpoint = <&vop_out_hdmi>; }; }; + + hdmi_out: port@1 { + reg = <1>; + }; }; };