diff options
author | Derek Basehore <dbasehore@chromium.org> | 2018-11-27 15:23:31 -0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2018-11-28 14:38:37 +0100 |
commit | 17222eb932ad2ec67e583179f507982460d81bde (patch) | |
tree | 849f052cb3404f704fc0306ef3bd77bd6a5162bf /arch/arm64/boot | |
parent | cdd46460fe278e04d8ee665d975aa2962036838f (diff) | |
download | linux-17222eb932ad2ec67e583179f507982460d81bde.tar.gz linux-17222eb932ad2ec67e583179f507982460d81bde.tar.bz2 linux-17222eb932ad2ec67e583179f507982460d81bde.zip |
arm64: dts: rockchip: Add 32k clk on rk3399-gru
This adds the 32k clock to the RK3399 Gru board file, which is provided
by a Silego oscillator on Gru boards.
Even though it's not directly used, muxes will end up traversing the
entire clk tree on calls to determine_rate if it doesn't exist. This
is because the 32k clk is listed as a possible parent on some clks.
Since the clk doesn't know about the 32k clk (it was never registered),
it triggers a global search for it. This can happen about 40 times per
second, which isn't great for power.
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
[moved clock position and adapted commit message a bit]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi index ca07f6032200..ea607a601a86 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -262,6 +262,13 @@ pp5000_usb_a_vbus: pp5000 { }; + ap_rtc_clk: ap-rtc-clk { + compatible = "fixed-clock"; + clock-frequency = <32768>; + clock-output-names = "xin32k"; + #clock-cells = <0>; + }; + gpio_keys: gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; |