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

Commit 96f6330b authored by Teng Fei Fan's avatar Teng Fei Fan Committed by Maria Yu
Browse files

ARM: dts: msm: Add sdm632 rcm and ext codec device trees support



Add sdm632 rcm, ext codec cdp and ext codec mtp initial
device tree support.

Change-Id: I3062659d9cb1855d18474f2b1572ad110886d4ed
Signed-off-by: default avatarTeng Fei Fan <tengfei@codeaurora.org>
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent f9894575
Loading
Loading
Loading
Loading
+19 −4
Original line number Diff line number Diff line
@@ -300,6 +300,9 @@ dtbo-$(CONFIG_ARCH_SDM450) += msm8953-mtp-overlay.dtbo \
dtbo-$(CONFIG_ARCH_SDM632) += sdm632-rumi-overlay.dtbo \
	sdm450-cdp-s2-overlay.dtbo \
	sdm450-mtp-s3-overlay.dtbo \
	sdm632-ext-codec-cdp-s3-overlay.dtbo \
	sdm632-ext-codec-mtp-s4-overlay.dtbo \
	sdm632-rcm-overlay.dtbo \
	sdm450-qrd-sku4-overlay.dtbo \
	sdm632-qrd-overlay.dtbo

@@ -351,6 +354,12 @@ sdm450-qrd-sku4-overlay.dtbo-base := sdm450-pmi632.dtb \
	sdm632.dtb \
	sdm632-pm8004.dtb
sdm632-rumi-overlay.dtbo-base := sdm632.dtb
sdm632-ext-codec-cdp-s3-overlay.dtbo-base := sdm632.dtb \
	sdm632-pm8004.dtb
sdm632-ext-codec-mtp-s4-overlay.dtbo-base := sdm632.dtb \
	sdm632-pm8004.dtb
sdm632-rcm-overlay.dtbo-base := sdm632.dtb \
	sdm632-pm8004.dtb
sdm632-qrd-overlay.dtbo-base := sdm632.dtb \
	sdm632-pm8004.dtb

@@ -420,11 +429,17 @@ dtb-$(CONFIG_ARCH_SDM450) += sdm450-rcm.dtb \

dtb-$(CONFIG_ARCH_SDM632) += sdm632-rumi.dtb \
	sdm632-cdp-s2.dtb \
	sdm632-ext-codec-cdp-s3.dtb \
	sdm632-mtp-s3.dtb \
	sdm632-ext-codec-mtp-s4.dtb \
	sdm632-rcm.dtb \
	sdm632-qrd-sku4.dtb \
	sdm632-qrd.dtb \
	sdm632-pm8004-cdp-s2.dtb \
	sdm632-pm8004-ext-codec-cdp-s3.dtb \
	sdm632-pm8004-mtp-s3.dtb \
	sdm632-pm8004-ext-codec-mtp-s4.dtb \
	sdm632-pm8004-rcm.dtb \
	sdm632-pm8004-qrd-sku4.dtb \
	sdm632-pm8004-qrd.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 "sdm632-ext-codec-cdp-s3.dtsi"

/ {
	model = "Ext Codec CDP S3";
	compatible = "qcom,cdp";
	qcom,board-id = <1 3>;
};
+57 −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 "sdm632.dtsi"
#include "sdm450-pmi632.dtsi"
#include "sdm632-ext-codec-cdp-s3.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDM632 + PMI632 Ext Codex CDP S3";
	compatible = "qcom,sdm632-cdp", "qcom,sdm632", "qcom,cdp";
	qcom,board-id = <1 3>;
	qcom,pmic-id = <0x010016 0x25 0x0 0x0>;
};


&soc {
	gpio_keys {
		/delete-node/home;
	};
};

&tlmm {
	tlmm_gpio_key {
		gpio_key_active: gpio_key_active {
			mux {
				pins = "gpio85", "gpio86", "gpio87";
			};

			config {
				pins = "gpio85", "gpio86", "gpio87";
			};
		};

		gpio_key_suspend: gpio_key_suspend {
			mux {
				pins = "gpio85", "gpio86", "gpio87";
			};

			config {
				pins = "gpio85", "gpio86", "gpio87";
			};
		};
	};
};
+15 −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 "sdm450-pmi632-cdp-s2.dtsi"
+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 "sdm632-ext-codec-mtp-s4.dtsi"

/ {
	model = "Ext Codec MTP S4";
	compatible = "qcom,mtp";
	qcom,board-id = <8 4>;
};
Loading