linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: add the tcpc for rk3399 power domain
@ 2016-09-02 20:39 Caesar Wang
  2016-09-04 22:16 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Caesar Wang @ 2016-09-02 20:39 UTC (permalink / raw)
  To: linux-arm-kernel

The tcpc is the Type C Port Controller and Type C Port Delivery (tcpd)
is part of it, we haven't used them now, add it to save power consumption.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---

 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 267b812..6c89d77 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -814,6 +814,16 @@
 					pm_qos = <&qos_isp1_m0>,
 						 <&qos_isp1_m1>;
 				};
+				pd_tcpc0 at RK3399_PD_TCPC0 {
+					reg = <RK3399_PD_TCPD0>;
+					clocks = <&cru SCLK_UPHY0_TCPDCORE>,
+						 <&cru SCLK_UPHY0_TCPDPHY_REF>;
+				};
+				pd_tcpc1 at RK3399_PD_TCPC1 {
+					reg = <RK3399_PD_TCPD1>;
+					clocks = <&cru SCLK_UPHY1_TCPDCORE>,
+						 <&cru SCLK_UPHY1_TCPDPHY_REF>;
+				};
 				pd_vo at RK3399_PD_VO {
 					reg = <RK3399_PD_VO>;
 					#address-cells = <1>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] arm64: dts: rockchip: add the tcpc for rk3399 power domain
  2016-09-02 20:39 [PATCH] arm64: dts: rockchip: add the tcpc for rk3399 power domain Caesar Wang
@ 2016-09-04 22:16 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2016-09-04 22:16 UTC (permalink / raw)
  To: linux-arm-kernel

Am Samstag, 3. September 2016, 04:39:06 CEST schrieb Caesar Wang:
> The tcpc is the Type C Port Controller and Type C Port Delivery (tcpd)
> is part of it, we haven't used them now, add it to save power consumption.
> 
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>

applied to my dts64 branch for 4.9, after checking in the TRM that the tcpc 
really doesn't seem to have a matching qos block.


Thanks
Heiko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-04 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 20:39 [PATCH] arm64: dts: rockchip: add the tcpc for rk3399 power domain Caesar Wang
2016-09-04 22:16 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).