Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1541108

[PATCH v4 8/9] ARM: dts: stm32f4: Add external I2S clock

From <gabriel.fernandez@st.com>
Newsgroups linux.kernel
Subject [PATCH v4 8/9] ARM: dts: stm32f4: Add external I2S clock
Date 2016-12-13 15:30 +0100
Message-ID <sNWfE-2go-39@gated-at.bofh.it> (permalink)
References <sNWfD-2go-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Gabriel Fernandez <gabriel.fernandez@st.com>

This patch adds an external I2S clock in the DT.
The I2S clock could be derived from an external I2S clock or by I2S pll.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
---
 arch/arm/boot/dts/stm32f429.dtsi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index e4dae0e..7c7dfbd 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -68,6 +68,12 @@
 			compatible = "fixed-clock";
 			clock-frequency = <32000>;
 		};
+
+		clk_i2s_ckin: i2s-ckin {
+			#clock-cells = <0>;
+			compatible = "fixed-clock";
+			clock-frequency = <0>;
+		};
 	};
 
 	soc {
@@ -362,7 +368,7 @@
 			#clock-cells = <2>;
 			compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
 			reg = <0x40023800 0x400>;
-			clocks = <&clk_hse>;
+			clocks = <&clk_hse>, <&clk_i2s_ckin>;
 			st,syscfg = <&pwrcfg>;
 		};
 
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/9]  STM32F4 missing clocks <gabriel.fernandez@st.com> - 2016-12-13 15:30 +0100
  [PATCH v4 4/9] clk: stm32f4: Add lcd-tft clock <gabriel.fernandez@st.com> - 2016-12-13 15:30 +0100
  [PATCH v4 8/9] ARM: dts: stm32f4: Add external I2S clock <gabriel.fernandez@st.com> - 2016-12-13 15:30 +0100
  [PATCH v4 7/9] clk: stm32f4: SDIO & 48Mhz clock management for STM32F469 board <gabriel.fernandez@st.com> - 2016-12-13 15:30 +0100
    Re: [PATCH v4 7/9] clk: stm32f4: SDIO & 48Mhz clock management for  STM32F469 board Stephen Boyd <sboyd@codeaurora.org> - 2016-12-22 01:20 +0100
  [PATCH v4 6/9] clk: stm32f4: Add SAI clocks <gabriel.fernandez@st.com> - 2016-12-13 15:30 +0100
    Re: [PATCH v4 6/9] clk: stm32f4: Add SAI clocks Stephen Boyd <sboyd@codeaurora.org> - 2016-12-22 01:20 +0100
  [PATCH v4 2/9] clk: stm32f4: Add PLL_I2S & PLL_SAI for STM32F429/469 boards <gabriel.fernandez@st.com> - 2016-12-13 15:30 +0100
    Re: [PATCH v4 2/9] clk: stm32f4: Add PLL_I2S & PLL_SAI for  STM32F429/469 boards Stephen Boyd <sboyd@codeaurora.org> - 2016-12-22 01:20 +0100
  [PATCH v4 3/9] clk: stm32f4: Add post divisor for I2S & SAI PLLs <gabriel.fernandez@st.com> - 2016-12-13 15:30 +0100
    Re: [PATCH v4 3/9] clk: stm32f4: Add post divisor for I2S & SAI PLLs Stephen Boyd <sboyd@codeaurora.org> - 2016-12-22 01:20 +0100

csiph-web