Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 707060b

Browse files
superna9999andersson
authored andcommitted
arm64: dts: qcom: pm8550ve: make PMK8550VE SID configurable
The pm8550ve can be found with a different SID on SM8650 platforms, make it configurable. Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent d235037 commit 707060b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

arch/arm64/boot/dts/qcom/pm8550ve.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333

3434

3535
&spmi_bus {
36-
pm8550ve: pmic@5 {
36+
pm8550ve: pmic@PMK8550VE_SID {
3737
compatible = "qcom,pm8550", "qcom,spmi-pmic";
38-
reg = <0x5 SPMI_USID>;
38+
reg = <PMK8550VE_SID SPMI_USID>;
3939
#address-cells = <1>;
4040
#size-cells = <0>;
4141

4242
pm8550ve_temp_alarm: temp-alarm@a00 {
4343
compatible = "qcom,spmi-temp-alarm";
4444
reg = <0xa00>;
45-
interrupts = <0x5 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
45+
interrupts = <PMK8550VE_SID 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
4646
#thermal-sensor-cells = <0>;
4747
};
4848

arch/arm64/boot/dts/qcom/sm8550-mtp.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "pm8010.dtsi"
1111
#include "pm8550.dtsi"
1212
#include "pm8550b.dtsi"
13+
#define PMK8550VE_SID 5
1314
#include "pm8550ve.dtsi"
1415
#include "pm8550vs.dtsi"
1516
#include "pmk8550.dtsi"

arch/arm64/boot/dts/qcom/sm8550-qrd.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "pm8010.dtsi"
1212
#include "pm8550.dtsi"
1313
#include "pm8550b.dtsi"
14+
#define PMK8550VE_SID 5
1415
#include "pm8550ve.dtsi"
1516
#include "pm8550vs.dtsi"
1617
#include "pmk8550.dtsi"

0 commit comments

Comments
 (0)