LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ARM: dts: omap3-pandora: Add fixed 26MHz clock as fck for twl
@ 2018-04-05 16:01 H. Nikolaus Schaller
  2018-05-01 15:19 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: H. Nikolaus Schaller @ 2018-04-05 16:01 UTC (permalink / raw)
  To: Peter Ujfalusi, Benoît Cousson, Tony Lindgren, Rob Herring,
	Mark Rutland
  Cc: letux-kernel, linux-omap,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux ARM, linux-kernel, H. Nikolaus Schaller

The board uses 26MHz oscillator for the twl4030 HFCLK.
This way we will not depend on the bootloader to configure the
CFG_BOOT:HFCLK_FREQ

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap3-pandora-common.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-pandora-common.dtsi b/arch/arm/boot/dts/omap3-pandora-common.dtsi
index c8d58752e15e..5d9be7d43f05 100644
--- a/arch/arm/boot/dts/omap3-pandora-common.dtsi
+++ b/arch/arm/boot/dts/omap3-pandora-common.dtsi
@@ -28,6 +28,13 @@
 		display1 = &tv;
 	};
 
+	/* fixed 26MHz oscillator */
+	hfclk_26m: oscillator {
+		#clock-cells = <0>;
+		compatible = "fixed-clock";
+		clock-frequency = <26000000>;
+	};
+
 	tv: connector {
 		compatible = "connector-analog-tv";
 		label = "tv";
@@ -417,6 +424,9 @@
 		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
 		interrupt-parent = <&intc>;
 
+		clocks = <&hfclk_26m>;
+		clock-names = "fck";
+
 		twl_power: power {
 			compatible = "ti,twl4030-power-reset";
 			ti,use_poweroff;
-- 
2.12.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: omap3-pandora: Add fixed 26MHz clock as fck for twl
  2018-04-05 16:01 [PATCH] ARM: dts: omap3-pandora: Add fixed 26MHz clock as fck for twl H. Nikolaus Schaller
@ 2018-05-01 15:19 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2018-05-01 15:19 UTC (permalink / raw)
  To: H. Nikolaus Schaller
  Cc: Peter Ujfalusi, Benoît Cousson, Rob Herring, Mark Rutland,
	letux-kernel, linux-omap,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux ARM, linux-kernel

* H. Nikolaus Schaller <hns@goldelico.com> [180405 09:06]:
> The board uses 26MHz oscillator for the twl4030 HFCLK.
> This way we will not depend on the bootloader to configure the
> CFG_BOOT:HFCLK_FREQ
> 
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

Applying into omap-for-v4.18/dt thanks.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-01 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05 16:01 [PATCH] ARM: dts: omap3-pandora: Add fixed 26MHz clock as fck for twl H. Nikolaus Schaller
2018-05-01 15:19 ` Tony Lindgren

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).