arm64: dts: rockchip: add powerdomain for typec on rk3399
authorChris Zhong <zyw@rock-chips.com>
Wed, 7 Sep 2016 23:06:17 +0000 (16:06 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 8 Sep 2016 15:12:42 +0000 (17:12 +0200)
The tcpc power domain will try to power up/down the power of Type-C PHY.
Hence, we need control it in Type-C PHY driver with the pm_runtime helper.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index b65c193dc64effabd9d50f00a2ea176dd083dabe..76b28649f0b09eda10b2da72efca97b785204c7d 100644 (file)
                clock-names = "tcpdcore", "tcpdphy-ref";
                assigned-clocks = <&cru SCLK_UPHY0_TCPDCORE>;
                assigned-clock-rates = <50000000>;
+               power-domains = <&power RK3399_PD_TCPD0>;
                resets = <&cru SRST_UPHY0>,
                         <&cru SRST_UPHY0_PIPE_L00>,
                         <&cru SRST_P_UPHY0_TCPHY>;
                clock-names = "tcpdcore", "tcpdphy-ref";
                assigned-clocks = <&cru SCLK_UPHY1_TCPDCORE>;
                assigned-clock-rates = <50000000>;
+               power-domains = <&power RK3399_PD_TCPD1>;
                resets = <&cru SRST_UPHY1>,
                         <&cru SRST_UPHY1_PIPE_L00>,
                         <&cru SRST_P_UPHY1_TCPHY>;
This page took 0.0263 seconds and 5 git commands to generate.