mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04:00
arm64: dts: qcom: sm8450-hdk: define DIE_TEMP channels
Declare the DIE_TEMP channels provided by PMICs. Use them to provide temperature reading for the spmi-temp-alarm thermal zones. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20230707123027.1510723-8-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
701b59db77
commit
53ccae05c9
@@ -6,6 +6,10 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-adc7-pm8350b.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h>
|
||||
#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
|
||||
#include "sm8450.dtsi"
|
||||
#include "pm8350.dtsi"
|
||||
@@ -581,6 +585,45 @@ &pcie1_phy {
|
||||
vdda-pll-supply = <&vreg_l6b_1p2>;
|
||||
};
|
||||
|
||||
&pm8350_temp_alarm {
|
||||
io-channels = <&pmk8350_vadc PM8350_ADC7_DIE_TEMP(1)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8350b_temp_alarm {
|
||||
io-channels = <&pmk8350_vadc PM8350B_ADC7_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pmr735a_temp_alarm {
|
||||
io-channels = <&pmk8350_vadc PMR735A_ADC7_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pmk8350_vadc {
|
||||
status = "okay";
|
||||
|
||||
channel@3 {
|
||||
reg = <PMK8350_ADC7_DIE_TEMP>;
|
||||
label = "pmk8350_die_temp";
|
||||
};
|
||||
|
||||
channel@103 {
|
||||
reg = <PM8350_ADC7_DIE_TEMP(1)>;
|
||||
label = "pm8350_die_temp";
|
||||
};
|
||||
|
||||
channel@303 {
|
||||
reg = <PM8350B_ADC7_DIE_TEMP>;
|
||||
label = "pm8350b_die_temp";
|
||||
};
|
||||
|
||||
channel@403 {
|
||||
reg = <PMR735A_ADC7_DIE_TEMP>;
|
||||
label = "pmr735a_die_temp";
|
||||
};
|
||||
};
|
||||
|
||||
&remoteproc_adsp {
|
||||
status = "okay";
|
||||
firmware-name = "qcom/sm8450/adsp.mbn";
|
||||
|
||||
Reference in New Issue
Block a user