Skip to content

Commit

Permalink
arm64: dts: qcom: Alias pm8916 on msm8916 devices
Browse files Browse the repository at this point in the history
Add an alias for pm8916 on msm8916 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: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
  • Loading branch information
Stephen Boyd authored and Andy Gross committed Dec 17, 2015
1 parent 503b01e commit 2bce84c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
aliases {
serial0 = &blsp1_uart2;
serial1 = &blsp1_uart1;
usid0 = &pm8916_0;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/ {
aliases {
serial0 = &blsp1_uart2;
usid0 = &pm8916_0;
};

chosen {
Expand Down
6 changes: 3 additions & 3 deletions arch/arm64/boot/dts/qcom/pm8916.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

&spmi_bus {

usid0: pm8916@0 {
compatible = "qcom,spmi-pmic";
pm8916_0: pm8916@0 {
compatible = "qcom,pm8916", "qcom,spmi-pmic";
reg = <0x0 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -90,7 +90,7 @@
};
};

usid1: pm8916@1 {
pm8916_1: pm8916@1 {
compatible = "qcom,spmi-pmic";
reg = <0x1 SPMI_USID>;
#address-cells = <1>;
Expand Down

0 comments on commit 2bce84c

Please sign in to comment.