linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 21/22] ARM: dts: exynos5422-odroidxu3: Add support for secondary DAI
       [not found] <CGME20190207170244epcas1p3f0037d3a98ed63b71e8daf14090befe3@epcas1p3.samsung.com>
@ 2019-02-07 17:02 ` Sylwester Nawrocki
       [not found]   ` <CGME20190207170249epcas2p3ece5f4f132365051527cb0d3a5d80b02@epcas2p3.samsung.com>
  2019-02-11 14:08   ` [PATCH 21/22] ARM: dts: exynos5422-odroidxu3: " Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Sylwester Nawrocki @ 2019-02-07 17:02 UTC (permalink / raw)
  To: krzk
  Cc: broonie, lgirdwood, sbkim73, m.szyprowski, b.zolnierkie,
	alsa-devel, linux-kernel, linux-samsung-soc, Sylwester Nawrocki

This patch extends DAPM routing and adds secondary CPU DAI entry
to support the secondary audio PCM interface on Odroid XU3.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
---
 arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi
index e84544b220b9..51a843bd65ed 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi
@@ -24,7 +24,9 @@
 			"Headphone Jack", "MICBIAS",
 			"IN1", "Headphone Jack",
 			"Speakers", "SPKL",
-			"Speakers", "SPKR";
+			"Speakers", "SPKR",
+			"I2S Playback", "Mixer DAI TX",
+			"HiFi Playback", "Mixer DAI TX";
 
 		assigned-clocks = <&clock CLK_MOUT_EPLL>,
 				<&clock CLK_MOUT_MAU_EPLL>,
@@ -51,7 +53,7 @@
 				<196608000>;
 
 		cpu {
-			sound-dai = <&i2s0 0>;
+			sound-dai = <&i2s0 0>, <&i2s0 1>;
 		};
 		codec {
 			sound-dai = <&hdmi>, <&max98090>;
-- 
2.20.1


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

* [PATCH 22/22] ARM: dts: exynos5422-odroidxu4: Add support for secondary DAI
       [not found]   ` <CGME20190207170249epcas2p3ece5f4f132365051527cb0d3a5d80b02@epcas2p3.samsung.com>
@ 2019-02-07 17:02     ` Sylwester Nawrocki
  0 siblings, 0 replies; 3+ messages in thread
From: Sylwester Nawrocki @ 2019-02-07 17:02 UTC (permalink / raw)
  To: krzk
  Cc: broonie, lgirdwood, sbkim73, m.szyprowski, b.zolnierkie,
	alsa-devel, linux-kernel, linux-samsung-soc, Sylwester Nawrocki

This patch extends DAPM routing and adds secondary CPU DAI entry
to support the secondary audio PCM interface on Odroid XU4.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
---
 arch/arm/boot/dts/exynos5422-odroidxu4.dts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos5422-odroidxu4.dts b/arch/arm/boot/dts/exynos5422-odroidxu4.dts
index 122174ea9e0a..892d389d6d09 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu4.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu4.dts
@@ -33,6 +33,8 @@
 		compatible = "samsung,odroid-xu3-audio";
 		model = "Odroid-XU4";
 
+		samsung,audio-routing = "I2S Playback", "Mixer DAI TX";
+
 		assigned-clocks = <&clock CLK_MOUT_EPLL>,
 				<&clock CLK_MOUT_MAU_EPLL>,
 				<&clock CLK_MOUT_USER_MAU_EPLL>,
@@ -58,7 +60,7 @@
 				<196608000>;
 
 		cpu {
-			sound-dai = <&i2s0 0>;
+			sound-dai = <&i2s0 0>, <&i2s0 1>;
 		};
 
 		codec {
-- 
2.20.1


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

* Re: [PATCH 21/22] ARM: dts: exynos5422-odroidxu3: Add support for secondary DAI
  2019-02-07 17:02 ` [PATCH 21/22] ARM: dts: exynos5422-odroidxu3: Add support for secondary DAI Sylwester Nawrocki
       [not found]   ` <CGME20190207170249epcas2p3ece5f4f132365051527cb0d3a5d80b02@epcas2p3.samsung.com>
@ 2019-02-11 14:08   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2019-02-11 14:08 UTC (permalink / raw)
  To: Sylwester Nawrocki
  Cc: broonie, lgirdwood, sbkim73, Marek Szyprowski,
	Bartłomiej Żołnierkiewicz, alsa-devel,
	linux-kernel, linux-samsung-soc

On Thu, 7 Feb 2019 at 18:02, Sylwester Nawrocki <s.nawrocki@samsung.com> wrote:
>
> This patch extends DAPM routing and adds secondary CPU DAI entry
> to support the secondary audio PCM interface on Odroid XU3.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Looks okay, is there dependency on the driver?
I think you need to update the bindings (samsung,audio-routing).

Best regards,
Krzysztof

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

end of thread, other threads:[~2019-02-11 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20190207170244epcas1p3f0037d3a98ed63b71e8daf14090befe3@epcas1p3.samsung.com>
2019-02-07 17:02 ` [PATCH 21/22] ARM: dts: exynos5422-odroidxu3: Add support for secondary DAI Sylwester Nawrocki
     [not found]   ` <CGME20190207170249epcas2p3ece5f4f132365051527cb0d3a5d80b02@epcas2p3.samsung.com>
2019-02-07 17:02     ` [PATCH 22/22] ARM: dts: exynos5422-odroidxu4: " Sylwester Nawrocki
2019-02-11 14:08   ` [PATCH 21/22] ARM: dts: exynos5422-odroidxu3: " Krzysztof Kozlowski

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