From c9db9489e7589c148f178056df22eda574b2c3ec Mon Sep 17 00:00:00 2001 From: Sandor Yu Date: Thu, 16 Nov 2017 14:38:10 +0800 Subject: 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 --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/fsl-imx8qm-lpddr4-arm2-dp.dts | 43 ++++++++++++++++++++++ .../boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts | 7 ---- 3 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-dp.dts 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 { -- cgit v1.2.3