devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/7] ARM: dts: stm32: Add alternate pinmux for i2s pins
@ 2023-06-20 15:13 Sean Nyekjaer
  2023-06-20 15:13 ` [PATCH v1 2/7] ARM: dts: stm32: Add alternate pinmux for ldtc pins Sean Nyekjaer
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Sean Nyekjaer @ 2023-06-20 15:13 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: Sean Nyekjaer, dantuguf14105, Olivier Moysan, devicetree,
	linux-stm32, linux-arm-kernel, linux-kernel

Add another mux option for i2s pins, this is used on Octavo OSD32MP1-RED board.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
---
 arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index e86d989dd351..d79f89f37bc7 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -686,6 +686,25 @@ pins {
 		};
 	};
 
+	i2s2_pins_b: i2s2-1 {
+		pins {
+			pinmux = <STM32_PINMUX('C',  3, AF5)>, /* I2S2_SDO */
+				 <STM32_PINMUX('B', 12, AF5)>, /* I2S2_WS */
+				 <STM32_PINMUX('B', 13, AF5)>; /* I2S2_CK */
+			bias-disable;
+			drive-push-pull;
+			slew-rate = <1>;
+		};
+	};
+
+	i2s2_sleep_pins_b: i2s2-sleep-1 {
+		pins {
+			pinmux = <STM32_PINMUX('C', 3, ANALOG)>, /* I2S2_SDO */
+				 <STM32_PINMUX('B', 12, ANALOG)>, /* I2S2_WS */
+				 <STM32_PINMUX('B', 13, ANALOG)>; /* I2S2_CK */
+		};
+	};
+
 	ltdc_pins_a: ltdc-0 {
 		pins {
 			pinmux = <STM32_PINMUX('G',  7, AF14)>, /* LCD_CLK */
-- 
2.40.0


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

end of thread, other threads:[~2023-06-20 16:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20 15:13 [PATCH v1 1/7] ARM: dts: stm32: Add alternate pinmux for i2s pins Sean Nyekjaer
2023-06-20 15:13 ` [PATCH v1 2/7] ARM: dts: stm32: Add alternate pinmux for ldtc pins Sean Nyekjaer
2023-06-20 15:13 ` [PATCH v1 3/7] ARM: dts: stm32: Add alternate pinmux for can pins Sean Nyekjaer
2023-06-20 15:13 ` [PATCH v1 4/7] ARM: dts: stm32: osd32: fix ldo1 not required to be always-on Sean Nyekjaer
2023-06-20 15:31   ` [Linux-stm32] " Ahmad Fatoum
2023-06-20 15:13 ` [PATCH v1 5/7] ARM: dts: stm32: osd32: fix ldo2 " Sean Nyekjaer
2023-06-20 15:13 ` [PATCH v1 6/7] ARM: dts: stm32: osd32: fix ldo6 " Sean Nyekjaer
2023-06-20 15:13 ` [PATCH v1 7/7] ARM: dts: stm32: Add Octavo OSD32MP1-RED board Sean Nyekjaer
2023-06-20 16:23   ` [Linux-stm32] " Ahmad Fatoum

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