Commit 707060bf authored by Neil Armstrong's avatar Neil Armstrong Committed by Bjorn Andersson

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: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231130-topic-sm8650-upstream-dt-v5-3-b25fb781da52@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent d2350377
...@@ -33,16 +33,16 @@ trip1 { ...@@ -33,16 +33,16 @@ trip1 {
&spmi_bus { &spmi_bus {
pm8550ve: pmic@5 { pm8550ve: pmic@PMK8550VE_SID {
compatible = "qcom,pm8550", "qcom,spmi-pmic"; compatible = "qcom,pm8550", "qcom,spmi-pmic";
reg = <0x5 SPMI_USID>; reg = <PMK8550VE_SID SPMI_USID>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pm8550ve_temp_alarm: temp-alarm@a00 { pm8550ve_temp_alarm: temp-alarm@a00 {
compatible = "qcom,spmi-temp-alarm"; compatible = "qcom,spmi-temp-alarm";
reg = <0xa00>; reg = <0xa00>;
interrupts = <0x5 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; interrupts = <PMK8550VE_SID 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
}; };
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "pm8010.dtsi" #include "pm8010.dtsi"
#include "pm8550.dtsi" #include "pm8550.dtsi"
#include "pm8550b.dtsi" #include "pm8550b.dtsi"
#define PMK8550VE_SID 5
#include "pm8550ve.dtsi" #include "pm8550ve.dtsi"
#include "pm8550vs.dtsi" #include "pm8550vs.dtsi"
#include "pmk8550.dtsi" #include "pmk8550.dtsi"
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "pm8010.dtsi" #include "pm8010.dtsi"
#include "pm8550.dtsi" #include "pm8550.dtsi"
#include "pm8550b.dtsi" #include "pm8550b.dtsi"
#define PMK8550VE_SID 5
#include "pm8550ve.dtsi" #include "pm8550ve.dtsi"
#include "pm8550vs.dtsi" #include "pm8550vs.dtsi"
#include "pmk8550.dtsi" #include "pmk8550.dtsi"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment