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

Commit 9b0870cb authored by Maria Yu's avatar Maria Yu
Browse files

ARM: dts: msm: add device tree overlay support for sdm450/sdm632



Sdm450 and sdm632 shared the same mtp, cdp, qrd
board design. Add base device tree overlay support
for such sdm450/sdm632 variant boards.

Change-Id: I0925df5a028c43f125e39f6959764af3abb8cc14
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent 1c9f67f6
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -220,7 +220,15 @@ dtbo-$(CONFIG_ARCH_SDM450) += msm8953-mtp-overlay.dtbo \
	msm8953-cdp-overlay.dtbo \
	msm8953-rcm-overlay.dtbo \
	msm8953-qrd-overlay.dtbo \
	msm8953-iot-mtp-overlay.dtbo
	msm8953-iot-mtp-overlay.dtbo \
	sdm450-cdp-s2-overlay.dtbo \
	sdm450-mtp-s3-overlay.dtbo \
	sdm450-qrd-sku4-overlay.dtbo

dtbo-$(CONFIG_ARCH_SDM632) += sdm632-rumi-overlay.dtbo \
	sdm450-cdp-s2-overlay.dtbo \
	sdm450-mtp-s3-overlay.dtbo \
	sdm450-qrd-sku4-overlay.dtbo

msm8953-mtp-overlay.dtbo-base := sdm450.dtb \
	msm8953.dtb \
@@ -251,6 +259,13 @@ msm8953-ext-codec-mtp-overlay.dtbo-base := msm8953.dtb \
msm8953-ext-codec-rcm-overlay.dtbo-base := msm8953.dtb \
	apq8053.dtb
msm8953-cdp-1200p-overlay.dtbo-base := msm8953.dtb
sdm450-cdp-s2-overlay.dtbo-base := sdm450-pmi632.dtb \
	sdm632.dtb
sdm450-mtp-s3-overlay.dtbo-base := sdm450-pmi632.dtb \
	sdm632.dtb
sdm450-qrd-sku4-overlay.dtbo-base := sdm450-pmi632.dtb \
	sdm632.dtb
sdm632-rumi-overlay.dtbo-base := sdm632.dtb

else
dtb-$(CONFIG_ARCH_MSM8953) += msm8953-cdp.dtb \
+24 −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 "sdm450-pmi632-cdp-s2.dtsi"

/ {
	model = "CDP S2";
	compatible = "qcom,cdp";
	qcom,board-id = <1 2>;
};
+24 −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 "sdm450-pmi632-mtp-s3.dtsi"

/ {
	model = "MTP S3";
	compatible = "qcom,mtp";
	qcom,board-id = <8 3>;
};
+24 −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 "sdm450.dtsi"
#include "sdm450-pmi632.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDM450 + PMI632 SOC";
	compatible = "qcom,sdm450";
	qcom,pmic-id = <0x010016 0x25 0x0 0x0>;
	qcom,pmic-name = "PMI632";
};
+24 −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 "sdm450-qrd-sku4.dtsi"

/ {
	model = "QRD SKU4";
	compatible = "qcom,qrd";
	qcom,board-id = <0xb 1>;
};
Loading