Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3090648ybk; Mon, 18 May 2020 17:43:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJrEbyGUNiEYjFuiUxVDNFApLkuUQ7Z4B9stf0wT+bCP19HYYo7xA1tS0NtOLV+UjevmTj X-Received: by 2002:a05:6402:687:: with SMTP id f7mr4986995edy.277.1589849033064; Mon, 18 May 2020 17:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589849033; cv=none; d=google.com; s=arc-20160816; b=pDKeL5pav5NOhd6MW55BBQGL2sbLeGFNQJSaK7WEJZmf2ZQYYvtSK9nvog+XFzmc1s Oji3i5Uc2+BdD9SgtaCpN3jhnEM4cGnYdt19ovXi+FXIyRgZfE62l1R/4ZP7cpEADZFk fXqA9SRlUe5SaaMiFeyRW/p7sXZVwA/8CZ5cHKy7I0ocwXMvR8+GoOOCGESGvO7lEld6 vzOdRRub9Xb0uL21yOngRNn+iB5uYd9nT9WNIp9zSbSJO5mh5irDjAE1mphTYq865qrk TRvriPuUi1N8KiJiush6lRBkSwWxkAS2YC/jyZDatxToxcoYTmoWEPHjwvuTUpZn48mG XPcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=6ypm1TkuZTFyUBSsAKfYwR2Zfx/kCNe6eEXmxdhJwBc=; b=uMsOtyuullYm87Vs5aJ+LUo/kj4MgTtjoYSi5fzMBN95i5OpoxE3llV48dGQxfisLm GAUjiXu0de0Rl7OFz6QFgsdpjkL78fJNXZrzemuWt6cz8oiahHxksvqbbEyYvRz77RkB GjcERAovdE3lqW7ghxDufPEWyuU7dMvUEOsfiqAfCSBDRREceEDNMIMBxtD8e21YOH/u Iv5Kd55Rqwa87X8O4bbM7pTR9WFqyx7lYXEkS1HI3wj+REZQLJGb9w6pcg0HhzY4ef95 9ocmG5mGlSJ1b5HgxDm5DmcBjJvOrTmYGPLOh8d/Row2jwDZqdtuT7yQZzBHYJ7NPXXR lg4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df5si7557889edb.44.2020.05.18.17.43.29; Mon, 18 May 2020 17:43:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbgESAmD (ORCPT + 99 others); Mon, 18 May 2020 20:42:03 -0400 Received: from regular1.263xmail.com ([211.150.70.202]:36314 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbgESAmC (ORCPT ); Mon, 18 May 2020 20:42:02 -0400 X-Greylist: delayed 452 seconds by postgrey-1.27 at vger.kernel.org; Mon, 18 May 2020 20:42:02 EDT Received: from localhost (unknown [192.168.167.69]) by regular1.263xmail.com (Postfix) with ESMTP id 444A5321; Tue, 19 May 2020 08:34:23 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 Received: from [172.16.21.179] (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P27331T140437578839808S1589848461574244_; Tue, 19 May 2020 08:34:22 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <33669f1ebadf44b2994914d3681cde90> X-RL-SENDER: wxt@rock-chips.com X-SENDER: wxt@rock-chips.com X-LOGIN-NAME: wxt@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 X-System-Flag: 0 Subject: Re: [PATCH v2 2/2] arm64: dts: rockchip: rk3399: fix pd_tcpc0 and pd_tcpc1 node position To: =?UTF-8?Q?Heiko_St=c3=bcbner?= , Johan Jonker , kever.yang@rock-chips.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200428203003.3318-1-jbx6244@gmail.com> <20200428203003.3318-2-jbx6244@gmail.com> <2978296.PvbIKR7951@diego> From: Caesar Wang Message-ID: <243ee54a-2fb8-86e3-0018-c069147a21c5@rock-chips.com> Date: Tue, 19 May 2020 08:34:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <2978296.PvbIKR7951@diego> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heiko, ?? 2020/5/19 ????6:29, Heiko St??bner ะด??: > Hi Kever, Caesar, > > could you double check where the type-c power-domains are located > in the power-tree, as Caesar did add them under pd_vio back in 2016. Johan's patch is correct, the pd_tcpc0 and pd_tcpc1 are grouped by VDD_LOGIC. I have a passed test for pd_vio without pd_tcpc*. > > Thanks > Heiko > > Am Dienstag, 28. April 2020, 22:30:03 CEST schrieb Johan Jonker: >> The pd_tcpc0 and pd_tcpc1 nodes are currently a sub node of pd_vio. >> In the rk3399 TRM figure of the 'Power Domain Partition' and in the >> table of 'Power Domain and Voltage Domain Summary' these power domains >> are positioned directly under VD_LOGIC, so fix that in 'rk3399.dtsi'. >> >> Signed-off-by: Johan Jonker Reviewed-by: Caesar Wang Thanks, -Caesar >> --- >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 20 ++++++++++---------- >> 1 file changed, 10 insertions(+), 10 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> index 37279db53..a4dc1bf2e 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> @@ -1056,6 +1056,16 @@ >> clocks = <&cru HCLK_SDIO>; >> pm_qos = <&qos_sdioaudio>; >> }; >> + pd_tcpc0@RK3399_PD_TCPD0 { >> + reg = ; >> + clocks = <&cru SCLK_UPHY0_TCPDCORE>, >> + <&cru SCLK_UPHY0_TCPDPHY_REF>; >> + }; >> + pd_tcpc1@RK3399_PD_TCPD1 { >> + reg = ; >> + clocks = <&cru SCLK_UPHY1_TCPDCORE>, >> + <&cru SCLK_UPHY1_TCPDPHY_REF>; >> + }; >> pd_usb3@RK3399_PD_USB3 { >> reg = ; >> clocks = <&cru ACLK_USB3>; >> @@ -1088,16 +1098,6 @@ >> pm_qos = <&qos_isp1_m0>, >> <&qos_isp1_m1>; >> }; >> - pd_tcpc0@RK3399_PD_TCPD0 { >> - reg = ; >> - clocks = <&cru SCLK_UPHY0_TCPDCORE>, >> - <&cru SCLK_UPHY0_TCPDPHY_REF>; >> - }; >> - pd_tcpc1@RK3399_PD_TCPD1 { >> - reg = ; >> - clocks = <&cru SCLK_UPHY1_TCPDCORE>, >> - <&cru SCLK_UPHY1_TCPDPHY_REF>; >> - }; >> pd_vo@RK3399_PD_VO { >> reg = ; >> #address-cells = <1>; >> > > > > >