lkml.org 
[lkml]   [2020]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subjectrk3399 rockchip pcie power domain is saying unsupported
Hi All,

On my rock960 I want to add power domain feature for pcie node using
following patch. [0] https://patchwork.kernel.org/patch/9322549/
I also tried to add some more cru to see below
but the power domain summary shows unsupported

# cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
...
pd_sdioaudio off-0
/devices/platform/fe310000.dwmmc suspended
/devices/platform/ff8a0000.i2s suspended
pd_perihp on
/devices/platform/fe380000.usb unsupported
/devices/platform/fe3c0000.usb unsupported
/devices/platform/fe3a0000.usb suspended
/devices/platform/fe3e0000.usb suspended
/devices/platform/f8000000.pcie unsupported
pd_sd on
/devices/platform/fe320000.dwmmc active
pd_gmac off-0
...
can any one share more inputs.
----
@@ -1049,6 +1056,19 @@
<&cru SCLK_SDMMC>;
pm_qos = <&qos_sd>;
};
+ pd_perihp@RK3399_PD_PERIHP {
+ reg = <RK3399_PD_PERIHP>;
+ clocks = <&cru ACLK_PERIHP>,
+ <&cru SCLK_PCIEPHY_REF>,
+ <&cru ACLK_PERF_PCIE>,
+ <&cru ACLK_PCIE>,
+ <&cru PCLK_PCIE>,
+ <&cru SCLK_PCIE_PM>;
+ pm_qos = <&qos_perihp>,
+ <&qos_pcie>,
+ <&qos_usb_host0>,
+ <&qos_usb_host1>;
+ };

-Anand
\
 
 \ /
  Last update: 2020-01-07 19:01    [W:0.023 / U:3.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site