* [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
@ 2016-09-01 23:53 Douglas Anderson
2016-09-02 10:53 ` Heiko Stübner
0 siblings, 1 reply; 2+ messages in thread
From: Douglas Anderson @ 2016-09-01 23:53 UTC (permalink / raw)
To: linux-arm-kernel
On some rk3399 boards GPIO0_A0 is hooked up to a 32 kHz clock. This can
be used as the source for various clocks in the system.
Add a pinmux so boards can get this pin properly configured.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 62d450935a57..13e2a440fe43 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1171,6 +1171,12 @@
drive-strength = <13>;
};
+ clock {
+ clk_32k: clk-32k {
+ rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
+ };
+ };
+
i2c0 {
i2c0_xfer: i2c0-xfer {
rockchip,pins =
--
2.8.0.rc3.226.g39d4020
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
2016-09-01 23:53 [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399 Douglas Anderson
@ 2016-09-02 10:53 ` Heiko Stübner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stübner @ 2016-09-02 10:53 UTC (permalink / raw)
To: linux-arm-kernel
Am Donnerstag, 1. September 2016, 16:53:22 schrieb Douglas Anderson:
> On some rk3399 boards GPIO0_A0 is hooked up to a 32 kHz clock. This can
> be used as the source for various clocks in the system.
>
> Add a pinmux so boards can get this pin properly configured.
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
applied to my dts64 branch for 4.9
Thanks
Heiko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-02 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-01 23:53 [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399 Douglas Anderson
2016-09-02 10:53 ` Heiko Stübner
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).