* [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
@ 2016-09-01 23:53 ` Douglas Anderson
0 siblings, 0 replies; 6+ messages in thread
From: Douglas Anderson @ 2016-09-01 23:53 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-rockchip, wxt, zhengxing, tonie.xie, Douglas Anderson,
robh+dt, mark.rutland, catalin.marinas, will.deacon, briannorris,
jay.xu, zhangqing, yamada.masahiro, david.wu, devicetree,
linux-arm-kernel, linux-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] 6+ messages in thread
* [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
@ 2016-09-01 23:53 ` Douglas Anderson
0 siblings, 0 replies; 6+ messages in thread
From: Douglas Anderson @ 2016-09-01 23:53 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
wxt-TNX95d0MmH7DzftRWevZcw, zhengxing-TNX95d0MmH7DzftRWevZcw,
tonie.xie-TNX95d0MmH7DzftRWevZcw, Douglas Anderson,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
catalin.marinas-5wv7dgnIgG8, will.deacon-5wv7dgnIgG8,
briannorris-F7+t8E8rja9g9hUCZPvPmw,
jay.xu-TNX95d0MmH7DzftRWevZcw, zhangqing-TNX95d0MmH7DzftRWevZcw,
yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A,
david.wu-TNX95d0MmH7DzftRWevZcw,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
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-F7+t8E8rja9g9hUCZPvPmw@public.gmane.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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
@ 2016-09-01 23:53 ` Douglas Anderson
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
@ 2016-09-02 10:53 ` Heiko Stübner
0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stübner @ 2016-09-02 10:53 UTC (permalink / raw)
To: Douglas Anderson
Cc: linux-rockchip, wxt, zhengxing, tonie.xie, robh+dt, mark.rutland,
catalin.marinas, will.deacon, briannorris, jay.xu, zhangqing,
yamada.masahiro, david.wu, devicetree, linux-arm-kernel,
linux-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] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
@ 2016-09-02 10:53 ` Heiko Stübner
0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stübner @ 2016-09-02 10:53 UTC (permalink / raw)
To: Douglas Anderson
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
wxt-TNX95d0MmH7DzftRWevZcw, zhengxing-TNX95d0MmH7DzftRWevZcw,
tonie.xie-TNX95d0MmH7DzftRWevZcw, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
mark.rutland-5wv7dgnIgG8, catalin.marinas-5wv7dgnIgG8,
will.deacon-5wv7dgnIgG8, briannorris-F7+t8E8rja9g9hUCZPvPmw,
jay.xu-TNX95d0MmH7DzftRWevZcw, zhangqing-TNX95d0MmH7DzftRWevZcw,
yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A,
david.wu-TNX95d0MmH7DzftRWevZcw,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
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-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
applied to my dts64 branch for 4.9
Thanks
Heiko
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
@ 2016-09-02 10:53 ` Heiko Stübner
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2016-09-02 10:53 UTC | newest]
Thread overview: 6+ 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-01 23:53 ` Douglas Anderson
2016-09-01 23:53 ` Douglas Anderson
2016-09-02 10:53 ` Heiko Stübner
2016-09-02 10:53 ` Heiko Stübner
2016-09-02 10:53 ` Heiko Stübner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.