Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20691843 authored by Kaushal Kumar's avatar Kaushal Kumar
Browse files

ARM: dts: msm: Add device tree support for sxr1120



Add base device tree and overlay support for sxr1120
CDP and MTP board variants. Support both internal
and external audio codec variants.

Change-Id: I8a38bc1ad89ad6a70e782dc21ee15060d1a4d8e5
Signed-off-by: default avatarKaushal Kumar <kaushalk@codeaurora.org>
parent 00990163
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -95,6 +95,9 @@ SoCs:
- QCS605
  compatible = "qcom,qcs605"

- SXR1120
  compatible = "qcom,sxr1120"

- SDA670
  compatible = "qcom,sda670"

@@ -324,6 +327,8 @@ compatible = "qcom,sdm670-mtp"
compatible = "qcom,sdm670-qrd"
compatible = "qcom,qcs605-cdp"
compatible = "qcom,qcs605-mtp"
compatible = "qcom,sxr1120-mtp"
compatible = "qcom,sxr1120-cdp"
compatible = "qcom,sda670-cdp"
compatible = "qcom,sda670-mtp"
compatible = "qcom,sda670-hdk"
+12 −0
Original line number Diff line number Diff line
@@ -142,6 +142,10 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
		sdm670-pm660a-tasha-codec-cdp-overlay.dtbo \
		sdm670-aqt1000-cdp-overlay.dtbo \
		sdm670-pm660a-aqt1000-cdp-overlay.dtbo \
		sxr1120-lc-mtp-overlay.dtbo \
		sxr1120-lc-external-codec-mtp-overlay.dtbo \
		sxr1120-lc-cdp-overlay.dtbo \
		sxr1120-lc-external-codec-cdp-overlay.dtbo \
		qcs605-cdp-overlay.dtbo \
		qcs605-mtp-overlay.dtbo \
		qcs605-360camera-overlay.dtbo \
@@ -199,6 +203,10 @@ sda670-mtp-overlay.dtbo-base := sda670.dtb
sda670-hdk-overlay.dtbo-base := sda670.dtb
sda670-pm660a-cdp-overlay.dtbo-base := sda670.dtb
sda670-pm660a-mtp-overlay.dtbo-base := sda670.dtb
sxr1120-lc-mtp-overlay.dtbo-base := sxr1120-lc.dtb
sxr1120-lc-external-codec-mtp-overlay.dtbo-base := sxr1120-lc.dtb
sxr1120-lc-cdp-overlay.dtbo-base := sxr1120-lc.dtb
sxr1120-lc-external-codec-cdp-overlay.dtbo-base := sxr1120-lc.dtb
qcs605-cdp-overlay.dtbo-base := qcs605.dtb
qcs605-mtp-overlay.dtbo-base := qcs605.dtb
qcs605-external-codec-mtp-overlay.dtbo-base := qcs605.dtb
@@ -255,6 +263,10 @@ dtb-$(CONFIG_ARCH_SDM670) += sdm670-rumi.dtb \
	sdm670-pm660a-tasha-codec-cdp.dtb \
	sda670-pm660a-mtp.dtb \
	sda670-pm660a-cdp.dtb \
	sxr1120-lc-mtp.dtb \
	sxr1120-lc-external-codec-mtp.dtb \
	sxr1120-lc-cdp.dtb \
	sxr1120-lc-external-codec-cdp.dtb \
	qcs605-360camera.dtb \
	qcs605-mtp.dtb \
	qcs605-cdp.dtb \
+31 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * 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.
 */

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,camcc-sdm845.h>
#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "sxr1120-lc-cdp.dtsi"
#include "qcs605-lc-audio-overlay.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SXR1120 LC Groot+PM8005 CDP";
	compatible = "qcom,sxr1120-cdp", "qcom,sxr1120", "qcom,cdp";
	qcom,msm-id = <370 0x0>;
	qcom,board-id = <1 0>;
};
+25 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * 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.
 */


/dts-v1/;

#include "sxr1120-lc.dtsi"
#include "sxr1120-lc-cdp.dtsi"
#include "qcs605-lc-audio-overlay.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SXR1120 LC Groot+PM8005 CDP";
	compatible = "qcom,sxr1120-cdp", "qcom,sxr1120", "qcom,cdp";
	qcom,board-id = <1 0>;
};
+14 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * 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.
 */

#include "qcs605-lc-cdp.dtsi"
Loading