Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23C4BC6FD1D for ; Tue, 21 Mar 2023 03:16:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C01D685CB6; Tue, 21 Mar 2023 04:15:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 76DE985C7A; Tue, 21 Mar 2023 04:15:37 +0100 (CET) Received: from mail-m11874.qiye.163.com (mail-m11874.qiye.163.com [115.236.118.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D28AA85BE9 for ; Tue, 21 Mar 2023 04:15:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kever.yang@rock-chips.com Received: from [172.16.12.93] (unknown [58.22.7.114]) by mail-m11874.qiye.163.com (Hmail) with ESMTPA id 99B823C018B; Tue, 21 Mar 2023 11:15:19 +0800 (CST) Message-ID: <475bfd06-4f0d-25e2-6736-504efcc47a29@rock-chips.com> Date: Tue, 21 Mar 2023 11:15:19 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v2 5/7] arm: dts: rockchip: rk3288: partial sync vop/lvds/mipi/hdmi nodes Content-Language: en-US To: Johan Jonker Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, w.egorov@phytec.de, hl@rock-chips.com, jernej.skrabec@gmail.com, lukma@denx.de, seanga2@gmail.com, agust@denx.de, u-boot@lists.denx.de References: <99944d4c-25d4-e05c-f5ea-7801f8e1253a@gmail.com> From: Kever Yang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGkoeQ1YdTE0aQ0tOTh8ZQ05VEwETFh oSFyQUDg9ZV1kYEgtZQVlOQ1VJSVVMVUpKT1lXWRYaDxIVHRRZQVlPS0hVSkpLSEpMVUpLS1VLWQ Y+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Kxw6Egw5Qj0JKRBNTCwZPC0j ARwwFDxVSlVKTUxCSE1DTklLT01PVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFNS01JNwY+ X-HM-Tid: 0a87022a01692eb0kusn99b823c018b X-HM-MType: 1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 2023/3/16 02:34, Johan Jonker wrote: > In order to better compare the Linux rk3288.dtsi > version 6.3 -rc2 with the U-Boot version partial > sync the vop/lvds/mipi/hdmi nodes. > > Signed-off-by: Johan Jonker > Reviewed-by: Simon Glass > Tested-by: Simon Glass # chromebook-jerry Reviewed-by: Kever Yang Thanks, - Kever > --- > arch/arm/dts/rk3288.dtsi | 48 ++++++++++++++++++++-------------------- > 1 file changed, 24 insertions(+), 24 deletions(-) > > diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi > index 9f924466..f24e9ba5 100644 > --- a/arch/arm/dts/rk3288.dtsi > +++ b/arch/arm/dts/rk3288.dtsi > @@ -1021,7 +1021,7 @@ > > vopb: vop@ff930000 { > compatible = "rockchip,rk3288-vop"; > - reg = <0xff930000 0x19c>; > + reg = <0xff930000 0x19c>, <0xff931000 0x1000>; > interrupts = ; > clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>; > clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; > @@ -1035,24 +1035,24 @@ > #address-cells = <1>; > #size-cells = <0>; > > - vopb_out_edp: endpoint@0 { > + vopb_out_hdmi: endpoint@0 { > reg = <0>; > - remote-endpoint = <&edp_in_vopb>; > + remote-endpoint = <&hdmi_in_vopb>; > }; > > - vopb_out_hdmi: endpoint@1 { > + vopb_out_edp: endpoint@1 { > reg = <1>; > - remote-endpoint = <&hdmi_in_vopb>; > + remote-endpoint = <&edp_in_vopb>; > }; > > - vopb_out_lvds: endpoint@2 { > + vopb_out_mipi: endpoint@2 { > reg = <2>; > - remote-endpoint = <&lvds_in_vopb>; > + remote-endpoint = <&mipi_in_vopb>; > }; > > - vopb_out_mipi: endpoint@3 { > + vopb_out_lvds: endpoint@3 { > reg = <3>; > - remote-endpoint = <&mipi_in_vopb>; > + remote-endpoint = <&lvds_in_vopb>; > }; > }; > }; > @@ -1070,7 +1070,7 @@ > > vopl: vop@ff940000 { > compatible = "rockchip,rk3288-vop"; > - reg = <0xff940000 0x19c>; > + reg = <0xff940000 0x19c>, <0xff941000 0x1000>; > interrupts = ; > clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>; > clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; > @@ -1084,24 +1084,24 @@ > #address-cells = <1>; > #size-cells = <0>; > > - vopl_out_edp: endpoint@0 { > + vopl_out_hdmi: endpoint@0 { > reg = <0>; > - remote-endpoint = <&edp_in_vopl>; > + remote-endpoint = <&hdmi_in_vopl>; > }; > > - vopl_out_hdmi: endpoint@1 { > + vopl_out_edp: endpoint@1 { > reg = <1>; > - remote-endpoint = <&hdmi_in_vopl>; > + remote-endpoint = <&edp_in_vopl>; > }; > > - vopl_out_lvds: endpoint@2 { > + vopl_out_mipi: endpoint@2 { > reg = <2>; > - remote-endpoint = <&lvds_in_vopl>; > + remote-endpoint = <&mipi_in_vopl>; > }; > > - vopl_out_mipi: endpoint@3 { > + vopl_out_lvds: endpoint@3 { > reg = <3>; > - remote-endpoint = <&mipi_in_vopl>; > + remote-endpoint = <&lvds_in_vopl>; > }; > }; > }; > @@ -1118,11 +1118,11 @@ > }; > > mipi_dsi: mipi@ff960000 { > - compatible = "rockchip,rk3288_mipi_dsi"; > + compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi"; > reg = <0xff960000 0x4000>; > interrupts = ; > - clocks = <&cru PCLK_MIPI_DSI0>; > - clock-names = "pclk_mipi"; > + clocks = <&cru SCLK_MIPIDSI_24M>, <&cru PCLK_MIPI_DSI0>; > + clock-names = "ref", "pclk"; > power-domains = <&power RK3288_PD_VIO>; > rockchip,grf = <&grf>; > status = "disabled"; > @@ -1148,7 +1148,7 @@ > reg = <0xff96c000 0x4000>; > clocks = <&cru PCLK_LVDS_PHY>; > clock-names = "pclk_lvds"; > - pinctrl-names = "default"; > + pinctrl-names = "lcdc"; > pinctrl-0 = <&lcdc_ctl>; > power-domains = <&power RK3288_PD_VIO>; > rockchip,grf = <&grf>; > @@ -1216,8 +1216,8 @@ > #sound-dai-cells = <0>; > rockchip,grf = <&grf>; > interrupts = ; > - clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>; > - clock-names = "iahb", "isfr"; > + clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>; > + clock-names = "iahb", "isfr", "cec"; > power-domains = <&power RK3288_PD_VIO>; > status = "disabled"; > > -- > 2.20.1 >