* [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c
@ 2019-03-29 10:12 Olivier Moysan
2019-03-29 10:12 ` [PATCH 1/2] " Olivier Moysan
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Olivier Moysan @ 2019-03-29 10:12 UTC (permalink / raw)
To: linux-stm32, alexandre.torgue, robh, mark.rutland, devicetree,
linux-arm-kernel, linux-kernel, olivier.moysan
This patchset adds support of STM32 SPDFIRX on stm32mp157c
Olivier Moysan (2):
ARM: dts: stm32: add spdifrx support on stm32mp157c
ARM: dts: stm32: add spdfirx pins to stm32mp157c
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 13 +++++++++++++
arch/arm/boot/dts/stm32mp157c.dtsi | 13 +++++++++++++
2 files changed, 26 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: dts: stm32: add spdifrx support on stm32mp157c
2019-03-29 10:12 [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c Olivier Moysan
@ 2019-03-29 10:12 ` Olivier Moysan
2019-03-29 10:12 ` [PATCH 2/2] ARM: dts: stm32: add spdfirx pins to stm32mp157c Olivier Moysan
2019-04-10 12:52 ` [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c Alexandre Torgue
2 siblings, 0 replies; 4+ messages in thread
From: Olivier Moysan @ 2019-03-29 10:12 UTC (permalink / raw)
To: linux-stm32, alexandre.torgue, robh, mark.rutland, devicetree,
linux-arm-kernel, linux-kernel, olivier.moysan
This patch adds support of STM32 SPDIFRX on
stm32mp157c.
Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
---
arch/arm/boot/dts/stm32mp157c.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index 6ce75f696679..7769685d6361 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -580,6 +580,19 @@
status = "disabled";
};
+ spdifrx: audio-controller@4000d000 {
+ compatible = "st,stm32h7-spdifrx";
+ #sound-dai-cells = <0>;
+ reg = <0x4000d000 0x400>;
+ clocks = <&rcc SPDIF_K>;
+ clock-names = "kclk";
+ interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+ dmas = <&dmamux1 93 0x400 0x01>,
+ <&dmamux1 94 0x400 0x01>;
+ dma-names = "rx", "rx-ctrl";
+ status = "disabled";
+ };
+
spi1: spi@44004000 {
#address-cells = <1>;
#size-cells = <0>;
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dts: stm32: add spdfirx pins to stm32mp157c
2019-03-29 10:12 [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c Olivier Moysan
2019-03-29 10:12 ` [PATCH 1/2] " Olivier Moysan
@ 2019-03-29 10:12 ` Olivier Moysan
2019-04-10 12:52 ` [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c Alexandre Torgue
2 siblings, 0 replies; 4+ messages in thread
From: Olivier Moysan @ 2019-03-29 10:12 UTC (permalink / raw)
To: linux-stm32, alexandre.torgue, robh, mark.rutland, devicetree,
linux-arm-kernel, linux-kernel, olivier.moysan
This patch adds spdifrx support on stm32mp157c eval board.
Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index 9104896e6066..54c133094a8f 100644
--- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
@@ -393,6 +393,19 @@
};
};
+ spdifrx_pins_a: spdifrx-0 {
+ pins {
+ pinmux = <STM32_PINMUX('G', 12, AF8)>; /* SPDIF_IN1 */
+ bias-disable;
+ };
+ };
+
+ spdifrx_sleep_pins_a: spdifrx-1 {
+ pins {
+ pinmux = <STM32_PINMUX('G', 12, ANALOG)>; /* SPDIF_IN1 */
+ };
+ };
+
uart4_pins_a: uart4-0 {
pins1 {
pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c
2019-03-29 10:12 [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c Olivier Moysan
2019-03-29 10:12 ` [PATCH 1/2] " Olivier Moysan
2019-03-29 10:12 ` [PATCH 2/2] ARM: dts: stm32: add spdfirx pins to stm32mp157c Olivier Moysan
@ 2019-04-10 12:52 ` Alexandre Torgue
2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2019-04-10 12:52 UTC (permalink / raw)
To: Olivier Moysan, linux-stm32, robh, mark.rutland, devicetree,
linux-arm-kernel, linux-kernel
Hi Olivier
On 3/29/19 11:12 AM, Olivier Moysan wrote:
> This patchset adds support of STM32 SPDFIRX on stm32mp157c
>
> Olivier Moysan (2):
> ARM: dts: stm32: add spdifrx support on stm32mp157c
> ARM: dts: stm32: add spdfirx pins to stm32mp157c
>
> arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 13 +++++++++++++
> arch/arm/boot/dts/stm32mp157c.dtsi | 13 +++++++++++++
> 2 files changed, 26 insertions(+)
>
Series applied on stm32-next.
Regards
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-04-10 12:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-29 10:12 [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c Olivier Moysan
2019-03-29 10:12 ` [PATCH 1/2] " Olivier Moysan
2019-03-29 10:12 ` [PATCH 2/2] ARM: dts: stm32: add spdfirx pins to stm32mp157c Olivier Moysan
2019-04-10 12:52 ` [PATCH 0/2] ARM: dts: stm32: add spdifrx support on stm32mp157c Alexandre Torgue
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).