[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180119092536.22501-10-suzuki.katsuhiro@socionext.com>
Date: Fri, 19 Jan 2018 18:25:36 +0900
From: Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
To: Mark Brown <broonie@...nel.org>, alsa-devel@...a-project.org,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: Masami Hiramatsu <masami.hiramatsu@...aro.org>,
Jassi Brar <jaswinder.singh@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
Subject: [PATCH v2 9/9] arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20
This patch adds compress audio node for S/PDIF on UniPhier LD11/20
global boards. And adds settings of AIO for it.
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
---
.../boot/dts/socionext/uniphier-ld11-global.dts | 30 +++++++++++++++++++++-
.../boot/dts/socionext/uniphier-ld20-global.dts | 30 +++++++++++++++++++++-
2 files changed, 58 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts
index ca09251a3eab..51cb717e5e56 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts
@@ -48,7 +48,8 @@
dais = <&i2s_port2
&i2s_port3
&i2s_port4
- &spdif_port0>;
+ &spdif_port0
+ &comp_spdif_port0>;
};
spdif-out {
@@ -61,6 +62,17 @@
};
};
};
+
+ comp-spdif-out {
+ compatible = "linux,spdif-dit";
+ #sound-dai-cells = <0>;
+
+ port@0 {
+ comp_spdif_tx: endpoint {
+ remote-endpoint = <&comp_spdif_hiecout1>;
+ };
+ };
+ };
};
};
@@ -149,6 +161,22 @@
remote-endpoint = <&spdif_tx>;
};
};
+
+ src_port0: port@6 {
+ i2s_epcmout2: endpoint {
+ };
+ };
+
+ src_port1: port@7 {
+ i2s_epcmout3: endpoint {
+ };
+ };
+
+ comp_spdif_port0: port@8 {
+ comp_spdif_hiecout1: endpoint {
+ remote-endpoint = <&comp_spdif_tx>;
+ };
+ };
};
&evea {
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
index 0728832ce552..0bda5c1382bc 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
@@ -48,7 +48,8 @@
dais = <&i2s_port2
&i2s_port3
&i2s_port4
- &spdif_port0>;
+ &spdif_port0
+ &comp_spdif_port0>;
};
spdif-out {
@@ -61,6 +62,17 @@
};
};
};
+
+ comp-spdif-out {
+ compatible = "linux,spdif-dit";
+ #sound-dai-cells = <0>;
+
+ port@0 {
+ comp_spdif_tx: endpoint {
+ remote-endpoint = <&comp_spdif_hiecout1>;
+ };
+ };
+ };
};
};
@@ -131,6 +143,22 @@
remote-endpoint = <&spdif_tx>;
};
};
+
+ src_port0: port@6 {
+ i2s_epcmout2: endpoint {
+ };
+ };
+
+ src_port1: port@7 {
+ i2s_epcmout3: endpoint {
+ };
+ };
+
+ comp_spdif_port0: port@8 {
+ comp_spdif_hiecout1: endpoint {
+ remote-endpoint = <&comp_spdif_tx>;
+ };
+ };
};
&evea {
--
2.15.0
Powered by blists - more mailing lists