2022-09-20 13:36:57

by Pali Rohár

[permalink] [raw]
Subject: [PATCH 4/5] ARM: mvebu: Add spdif-pins mpp pins for Armada 38x

S/PDIF function on Armada 38x uses only mpp51 pin. So add spdif-pins mpp
pins section for it. It is needed for boards without i2s.

Signed-off-by: Pali Rohár <[email protected]>
---
arch/arm/boot/dts/armada-38x.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 11e0e4286ec2..b09a48de9906 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -296,6 +296,11 @@
"mpp52", "mpp53";
marvell,function = "audio";
};
+
+ spdif_pins: spdif-pins {
+ marvell,pins = "mpp51";
+ marvell,function = "audio";
+ };
};

gpio0: gpio@18100 {
--
2.20.1


2022-09-20 14:07:48

by Andrew Lunn

[permalink] [raw]
Subject: Re: [PATCH 4/5] ARM: mvebu: Add spdif-pins mpp pins for Armada 38x

On Tue, Sep 20, 2022 at 03:26:47PM +0200, Pali Roh?r wrote:
> S/PDIF function on Armada 38x uses only mpp51 pin. So add spdif-pins mpp
> pins section for it. It is needed for boards without i2s.
>
> Signed-off-by: Pali Roh?r <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

Andrew