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

Commit b02a212a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: add MTP and CDP dts files for msm8994 devices with PM8004"

parents 538ae21d 3b29af70
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -168,7 +168,9 @@ dtb-$(CONFIG_ARCH_APQ8084) += apq8084-v1.0-old-pwr-grid-liquid.dtb \
dtb-$(CONFIG_ARCH_MSM8994) += msm8994-sim.dtb \
	msm8994-rumi.dtb \
	msm8994-cdp.dtb \
	msm8994-pmi8994-pm8004-cdp.dtb \
	msm8994-mtp.dtb \
	msm8994-pmi8994-pm8004-mtp.dtb \
	msm8994-liquid.dtb \
	msm8994-fluid.dtb \
	apq8094-cdp.dtb \
+48 −0
Original line number Diff line number Diff line
/* Copyright (c) 2014, 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.
 */

/*
 * As a general rule, only chipset-specific property overrides should be placed
 * inside this file.
 */

#include "msm8994-pm8994-pmi8994-pm8004.dtsi"

/ {
	qcom,pmic-id = <0x10009 0x1000C 0x0 0x0>;
};

&rpm_bus {
	/delete-node/ rpm-regulator-bstb;
	/delete-node/ rpm-regulator-bbyb;
	/delete-node/ rpm-regulator-smpb1;
	/delete-node/ rpm-regulator-smpc2;

	rpm-regulator-smpb2 {
		pm8004_s2_corner: regulator-s2-corner {
			regulator-name = "pm8004_s2_corner";
		};

		pm8004_s2_floor_corner: regulator-s2-floor-corner {
			regulator-name = "pm8004_s2_floor_corner";
		};
	};
};

&spmi_bus {
	/delete-node/ qcom,pmi8994@2;
	/delete-node/ qcom,pmi8994@3;
};

&usb3 {
	/delete-property/ vbus_dwc3-supply;
};
+55 −0
Original line number Diff line number Diff line
/* Copyright (c) 2014, 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.
 */

/*
 * As a general rule, only chipset-specific property overrides should be placed
 * inside this file.
 */

#include "msm8994.dtsi"
#include "msm-pm8004.dtsi"

/ {
	qcom,pmic-id = <0x10009 0x1000A 0x1000C 0x0>;
};

&rpm_bus {
	rpm-regulator-smpb2 {
		status = "disabled";
	};

	rpm-regulator-smpc2 {
		status = "okay";
		regulator-s2-corner {
			status = "okay";
		};

		regulator-s2-floor-corner {
			status = "okay";
		};
	};
};

/*
 * Override PMI8994 resources with proper PM8004 resources for
 * MSM8994 with PM8004.
 */

&soc {
	qcom,msm-thermal {
		vdd-gfx-supply = <&pm8004_s2_floor_corner>;
	};
};

&gdsc_oxili_gx {
	parent-supply = <&pm8004_s2_corner>;
};
+23 −0
Original line number Diff line number Diff line
/* Copyright (c) 2014, 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 "msm8994-pm8994-pmi8994-pm8004.dtsi"
#include "msm8994-pinctrl.dtsi"
#include "msm8994-cdp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8994 + PMI8994 + PM8004 CDP ";
	compatible = "qcom,msm8994-cdp", "qcom,msm8994", "qcom,cdp";
	qcom,board-id = <1 0>;
};
+23 −0
Original line number Diff line number Diff line
/* Copyright (c) 2014, 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 "msm8994-pm8994-pmi8994-pm8004.dtsi"
#include "msm8994-pinctrl.dtsi"
#include "msm8994-mtp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8994 + PMI8994 + PM8004 MTP";
	compatible = "qcom,msm8994-mtp", "qcom,msm8994", "qcom,mtp";
	qcom,board-id = <8 0>;
};