MLK-16834-02 dts: Add display port only dts for imx8qm arm2
authorSandor Yu <Sandor.yu@nxp.com>
Thu, 16 Nov 2017 06:38:10 +0000 (14:38 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:55:45 +0000 (15:55 -0500)
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>
(cherry picked from commit c9db9489e7589c148f178056df22eda574b2c3ec)

arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-dp.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts

index 9096e73..838a2ed 100644 (file)
@@ -11,6 +11,7 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb \
                                 fsl-imx8qm-mek_ca72.dtb \
                                 fsl-imx8qm-mek-it6263.dtb \
                                 fsl-imx8qm-mek-jdi-wuxga-lvds1-panel.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-jdi-wuxga-lvds1-panel.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 (file)
index 0000000..937a716
--- /dev/null
@@ -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";
+};
index 7b509aa..dc3ab59 100644 (file)
                amix-controller = <&amix>;
        };
 
-       sound-hdmi {
-               compatible = "fsl,imx-audio-cdnhdmi";
-               model = "imx-audio-dp";
-               audio-cpu = <&sai_hdmi_tx>;
-               protocol = <1>;
-       };
-
        lvds_backlight0: lvds_backlight@0 {
                compatible = "pwm-backlight";
                pwms = <&lvds0_pwm 0 100000 0>;