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

Commit 134c544e authored by Stephen Boyd's avatar Stephen Boyd Committed by Andy Gross
Browse files

arm: dts: qcom: Add aliases for PMICs



Add an alias for the PMICs found on qcom based SoCs so that the
newly updated dtbTool can find the PMIC compatible string and add
the pmic-id element to the QCDT header.

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarAndy Gross <agross@codeaurora.org>
parent 9208b517
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -8,6 +8,8 @@


	aliases {
	aliases {
		serial0 = &blsp1_uart2;
		serial0 = &blsp1_uart2;
		usid0 = &pm8941_0;
		usid4 = &pm8841_0;
	};
	};


	chosen {
	chosen {
+1 −0
Original line number Original line Diff line number Diff line
@@ -7,6 +7,7 @@


	aliases {
	aliases {
		serial0 = &blsp2_uart2;
		serial0 = &blsp2_uart2;
		usid0 = &pma8084_0;
	};
	};


	chosen {
	chosen {
+1 −0
Original line number Original line Diff line number Diff line
@@ -7,6 +7,7 @@


	aliases {
	aliases {
		serial0 = &blsp2_uart2;
		serial0 = &blsp2_uart2;
		usid0 = &pma8084_0;
	};
	};


	chosen {
	chosen {
+4 −4
Original line number Original line Diff line number Diff line
@@ -3,8 +3,8 @@


&spmi_bus {
&spmi_bus {


	usid4: pm8841@4 {
	pm8841_0: pm8841@4 {
		compatible = "qcom,spmi-pmic";
		compatible = "qcom,pm8841", "qcom,spmi-pmic";
		reg = <0x4 SPMI_USID>;
		reg = <0x4 SPMI_USID>;
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;
@@ -27,8 +27,8 @@
		};
		};
	};
	};


	usid5: pm8841@5 {
	pm8841_1: pm8841@5 {
		compatible = "qcom,spmi-pmic";
		compatible = "qcom,pm8841", "qcom,spmi-pmic";
		reg = <0x5 SPMI_USID>;
		reg = <0x5 SPMI_USID>;
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;
+4 −4
Original line number Original line Diff line number Diff line
@@ -4,8 +4,8 @@


&spmi_bus {
&spmi_bus {


	usid0: pm8941@0 {
	pm8941_0: pm8941@0 {
		compatible ="qcom,spmi-pmic";
		compatible = "qcom,pm8941", "qcom,spmi-pmic";
		reg = <0x0 SPMI_USID>;
		reg = <0x0 SPMI_USID>;
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;
@@ -153,8 +153,8 @@
		};
		};
	};
	};


	usid1: pm8941@1 {
	pm8941_1: pm8941@1 {
		compatible = "qcom,spmi-pmic";
		compatible = "qcom,pm8941", "qcom,spmi-pmic";
		reg = <0x1 SPMI_USID>;
		reg = <0x1 SPMI_USID>;
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;
Loading