mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 11:01:06 -04:00
arm64: dts: qcom: qcm6490-fairphone-fp5: Add PM7250B thermals
Configure the thermals for the CHARGER_SKIN_THERM and USB_CONN_THERM thermistors connected to PM7250B. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://lore.kernel.org/r/20231013-fp5-thermals-v1-2-f14df01922e6@fairphone.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
18c74d56fe
commit
4c343fe9b6
@@ -134,6 +134,36 @@ afvdd_2p8: regulator-afvdd-2p8 {
|
||||
enable-active-high;
|
||||
vin-supply = <&vreg_bob>;
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
chg-skin-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pm7250b_adc_tm 0>;
|
||||
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
conn-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pm7250b_adc_tm 1>;
|
||||
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&apps_rsc {
|
||||
@@ -425,6 +455,42 @@ &ipa {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm7250b_adc {
|
||||
channel@4d {
|
||||
reg = <ADC5_AMUX_THM1_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
label = "charger_skin_therm";
|
||||
};
|
||||
|
||||
channel@4f {
|
||||
reg = <ADC5_AMUX_THM3_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
label = "conn_therm";
|
||||
};
|
||||
};
|
||||
|
||||
&pm7250b_adc_tm {
|
||||
status = "okay";
|
||||
|
||||
charger-skin-therm@0 {
|
||||
reg = <0>;
|
||||
io-channels = <&pm7250b_adc ADC5_AMUX_THM1_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time-us = <200>;
|
||||
};
|
||||
|
||||
conn-therm@1 {
|
||||
reg = <1>;
|
||||
io-channels = <&pm7250b_adc ADC5_AMUX_THM3_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time-us = <200>;
|
||||
};
|
||||
};
|
||||
|
||||
&pm7325_gpios {
|
||||
volume_down_default: volume-down-default-state {
|
||||
pins = "gpio6";
|
||||
|
||||
Reference in New Issue
Block a user