summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2017-11-16 14:38:10 +0800
committerSandor Yu <Sandor.yu@nxp.com>2017-11-17 15:58:11 +0800
commitc9db9489e7589c148f178056df22eda574b2c3ec (patch)
treea019938566c22e060ea06daff66b0e62e8c7a58f
parent58d55474ef9e9cf22e85ebe85d010e6442bbadcc (diff)
MLK-16834-02 dts: Add display port only dts for imx8qm arm2
Add fsl-imx8qm-lpddr4-arm2-dp.dts for display port only. Move hdmi sound propriety from fsl-imx8qm-lpddr4-arm2.dts to fsl-imx8qm-lpddr4-arm2-dp.dts because hdmi sound should enable with hdmi driver. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
-rw-r--r--arch/arm64/boot/dts/freescale/Makefile1
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-dp.dts43
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts7
3 files changed, 44 insertions, 7 deletions
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index f24526ee1da1..5e4148d6156a 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb \
fsl-imx8qm-mek_ca53.dtb \
fsl-imx8qm-mek_ca72.dtb \
fsl-imx8qm-mek-it6263.dtb \
+ fsl-imx8qm-lpddr4-arm2-dp.dtb \
fsl-imx8qm-lpddr4-arm2-it6263.dtb \
fsl-imx8qm-lpddr4-arm2-it6263-dual-channel.dtb \
fsl-imx8qm-lpddr4-arm2-lpspi.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-dp.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-dp.dts
new file mode 100644
index 000000000000..937a71648704
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-dp.dts
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+/*
+ * HDMI only dts, disable ldb display.
+ */
+
+#include "fsl-imx8qm-lpddr4-arm2.dts"
+
+/ {
+ sound-hdmi {
+ compatible = "fsl,imx-audio-cdnhdmi";
+ model = "imx-audio-dp";
+ audio-cpu = <&sai_hdmi_tx>;
+ protocol = <1>;
+ };
+};
+
+&ldb1_phy {
+ status = "disabled";
+};
+
+&ldb1 {
+ status = "disabled";
+};
+
+&i2c1_lvds0 {
+ status = "disabled";
+};
+
+&hdmi {
+ status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts
index c1d8277f0ea6..360e5f01413e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts
@@ -119,13 +119,6 @@
dais = <&sai6>, <&sai7>;
amix-controller = <&amix>;
};
-
- sound-hdmi {
- compatible = "fsl,imx-audio-cdnhdmi";
- model = "imx-audio-dp";
- audio-cpu = <&sai_hdmi_tx>;
- protocol = <1>;
- };
};
&acm {