MLK-10646: ARM: dts: Add independent dts for hdmi audio and wm8960 audio
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 13 Apr 2015 06:24:38 +0000 (14:24 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
wm8960, hdmi can't be used together for they use same SAI interface.
Which is hardware limitation.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 56514bac9745ec263b84adc0479c0c0314902ab9)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
arch/arm/boot/dts/imx7d-sdb-hdmi-audio.dts [new file with mode: 0644]
arch/arm/boot/dts/imx7d-sdb-wm8960.dts [new file with mode: 0644]

diff --git a/arch/arm/boot/dts/imx7d-sdb-hdmi-audio.dts b/arch/arm/boot/dts/imx7d-sdb-hdmi-audio.dts
new file mode 100644 (file)
index 0000000..b9fea5b
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx7d-sdb.dts"
+
+/ {
+       sound {
+               status = "disabled";
+       };
+
+       sound-hdmi {
+               status = "okay";
+       };
+};
diff --git a/arch/arm/boot/dts/imx7d-sdb-wm8960.dts b/arch/arm/boot/dts/imx7d-sdb-wm8960.dts
new file mode 100644 (file)
index 0000000..4aa7d91
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx7d-sdb.dts"
+
+/ {
+       sound {
+               status = "okay";
+       };
+
+       sound-hdmi {
+               status = "disabled";
+       };
+};