From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A45DAC2D0CE for ; Tue, 21 Jan 2020 14:57:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 78801207E0 for ; Tue, 21 Jan 2020 14:57:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729154AbgAUO5B (ORCPT ); Tue, 21 Jan 2020 09:57:01 -0500 Received: from foss.arm.com ([217.140.110.172]:44364 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727255AbgAUO5B (ORCPT ); Tue, 21 Jan 2020 09:57:01 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C0F0330E; Tue, 21 Jan 2020 06:57:00 -0800 (PST) Received: from [10.1.196.37] (e121345-lin.cambridge.arm.com [10.1.196.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D725C3F52E; Tue, 21 Jan 2020 06:56:59 -0800 (PST) Subject: Re: [PATCH] arm64: dts: rockchip: fix px30 lvds ports To: Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: Heiko Stuebner , linux-kernel@vger.kernel.org, miquel.raynal@bootlin.com, linux-arm-kernel@lists.infradead.org, christoph.muellner@theobroma-systems.com References: <20200121134510.3893487-1-heiko@sntech.de> From: Robin Murphy Message-ID: <1cd15d49-3c4f-6da2-4d4f-0414dd6d6adc@arm.com> Date: Tue, 21 Jan 2020 14:56:58 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200121134510.3893487-1-heiko@sntech.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/01/2020 1:45 pm, Heiko Stuebner wrote: > From: Heiko Stuebner > > The lvds controller has two ports. port@0 for the connection > to the display controller(s) and port@1 for the connection to > the panel, so should have a ports node covering the port@x nodes. > > Signed-off-by: Heiko Stuebner > --- > arch/arm64/boot/dts/rockchip/px30.dtsi | 23 ++++++++++++++--------- > 1 file changed, 14 insertions(+), 9 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi > index 9b1c92132007..37e014444214 100644 > --- a/arch/arm64/boot/dts/rockchip/px30.dtsi > +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi > @@ -421,19 +421,24 @@ lvds: lvds { > rockchip,output = "lvds"; > status = "disabled"; FWIW, the main node's "#{address,size}-cells" properties above here should now be unnecessary too. Robin. > > - port@0 { > - reg = <0>; > + ports { > #address-cells = <1>; > #size-cells = <0>; > > - lvds_vopb_in: endpoint@0 { > + port@0 { > reg = <0>; > - remote-endpoint = <&vopb_out_lvds>; > - }; > - > - lvds_vopl_in: endpoint@1 { > - reg = <1>; > - remote-endpoint = <&vopl_out_lvds>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + lvds_vopb_in: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&vopb_out_lvds>; > + }; > + > + lvds_vopl_in: endpoint@1 { > + reg = <1>; > + remote-endpoint = <&vopl_out_lvds>; > + }; > }; > }; > }; > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 770D8C2D0CE for ; Tue, 21 Jan 2020 14:57:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 34F69207E0 for ; Tue, 21 Jan 2020 14:57:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W5YrbFrs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 34F69207E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lz9rAHyp35KqUPCrcmRNprcfxw8mtZnF6jOFRqxn6YI=; b=W5YrbFrsO/rHVqJiiSmtVEJR6 yXG2aF4xsmIPxkirjbvzM/LjlZNXwsad4ltHpkG6K9fpwrn2uBuPprMc41+rkcQCfSHxG1sLAypQq vz6nXREq/JqARgWuyMhCprB7Q+honMYQsdhcvGi12Cy4ymGCLEFcEiV1PWjeM2wp3lSvGGu3xMob0 33Yx9RI0SwdS+FY4TQB3lFM2PYZZ5F528s8KrGKtwTxFlhv3QB5uDzb89NQOLkZj/OJtV2zqNg5Vi F8w560k0guGTrVDqHimKO6B1GNCBeXoORXP6co5jNKjb3hH4YW9kuOV43qjliYnfVzIAH2qYj396x m+4K2ZgSg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ituxl-0001PP-BH; Tue, 21 Jan 2020 14:57:05 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ituxh-0001MA-FQ; Tue, 21 Jan 2020 14:57:03 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C0F0330E; Tue, 21 Jan 2020 06:57:00 -0800 (PST) Received: from [10.1.196.37] (e121345-lin.cambridge.arm.com [10.1.196.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D725C3F52E; Tue, 21 Jan 2020 06:56:59 -0800 (PST) Subject: Re: [PATCH] arm64: dts: rockchip: fix px30 lvds ports To: Heiko Stuebner , linux-rockchip@lists.infradead.org References: <20200121134510.3893487-1-heiko@sntech.de> From: Robin Murphy Message-ID: <1cd15d49-3c4f-6da2-4d4f-0414dd6d6adc@arm.com> Date: Tue, 21 Jan 2020 14:56:58 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200121134510.3893487-1-heiko@sntech.de> Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200121_065701_575808_748AD72F X-CRM114-Status: GOOD ( 17.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , christoph.muellner@theobroma-systems.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, miquel.raynal@bootlin.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 21/01/2020 1:45 pm, Heiko Stuebner wrote: > From: Heiko Stuebner > > The lvds controller has two ports. port@0 for the connection > to the display controller(s) and port@1 for the connection to > the panel, so should have a ports node covering the port@x nodes. > > Signed-off-by: Heiko Stuebner > --- > arch/arm64/boot/dts/rockchip/px30.dtsi | 23 ++++++++++++++--------- > 1 file changed, 14 insertions(+), 9 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi > index 9b1c92132007..37e014444214 100644 > --- a/arch/arm64/boot/dts/rockchip/px30.dtsi > +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi > @@ -421,19 +421,24 @@ lvds: lvds { > rockchip,output = "lvds"; > status = "disabled"; FWIW, the main node's "#{address,size}-cells" properties above here should now be unnecessary too. Robin. > > - port@0 { > - reg = <0>; > + ports { > #address-cells = <1>; > #size-cells = <0>; > > - lvds_vopb_in: endpoint@0 { > + port@0 { > reg = <0>; > - remote-endpoint = <&vopb_out_lvds>; > - }; > - > - lvds_vopl_in: endpoint@1 { > - reg = <1>; > - remote-endpoint = <&vopl_out_lvds>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + lvds_vopb_in: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&vopb_out_lvds>; > + }; > + > + lvds_vopl_in: endpoint@1 { > + reg = <1>; > + remote-endpoint = <&vopl_out_lvds>; > + }; > }; > }; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel