Re: [PATCH] ARM: dts: omap3-gta04: Add fixed 26MHz clock as fck for twl

2018-05-01 Thread Tony Lindgren
* H. Nikolaus Schaller  [180405 09:07]:
> 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 

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

Tony


Re: [PATCH] ARM: dts: omap3-gta04: Add fixed 26MHz clock as fck for twl

2018-05-01 Thread Tony Lindgren
* H. Nikolaus Schaller  [180405 09:07]:
> 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 

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

Tony


[PATCH] ARM: dts: omap3-gta04: Add fixed 26MHz clock as fck for twl

2018-04-05 Thread 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 
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi 
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 4170be70460e..ac830b917776 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -30,6 +30,13 @@
display0 = 
};
 
+   /* fixed 26MHz oscillator */
+   hfclk_26m: oscillator {
+   #clock-cells = <0>;
+   compatible = "fixed-clock";
+   clock-frequency = <2600>;
+   };
+
gpio-keys {
compatible = "gpio-keys";
 
@@ -312,6 +319,9 @@
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
interrupt-parent = <>;
 
+   clocks = <_26m>;
+   clock-names = "fck";
+
twl_audio: audio {
compatible = "ti,twl4030-audio";
ti,enable-vibra = <1>;
-- 
2.12.2



[PATCH] ARM: dts: omap3-gta04: Add fixed 26MHz clock as fck for twl

2018-04-05 Thread 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 
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi 
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 4170be70460e..ac830b917776 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -30,6 +30,13 @@
display0 = 
};
 
+   /* fixed 26MHz oscillator */
+   hfclk_26m: oscillator {
+   #clock-cells = <0>;
+   compatible = "fixed-clock";
+   clock-frequency = <2600>;
+   };
+
gpio-keys {
compatible = "gpio-keys";
 
@@ -312,6 +319,9 @@
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
interrupt-parent = <>;
 
+   clocks = <_26m>;
+   clock-names = "fck";
+
twl_audio: audio {
compatible = "ti,twl4030-audio";
ti,enable-vibra = <1>;
-- 
2.12.2