]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: qcom: qcs6490-rb3gen2: Add vadc and adc-tm channels
authorRakesh Kota <quic_kotarake@quicinc.com>
Wed, 12 Feb 2025 11:33:42 +0000 (17:03 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 21 Feb 2025 21:50:23 +0000 (15:50 -0600)
commita9ca8e5c6379f00efbfbccd873ff66b0f0c46873
treef2acf1cef9c636dfac3f4b3221c2fc2327f19063
parent60a2c9cc15825fd0016a622fe7a3b2838abc32f5
arm64: dts: qcom: qcs6490-rb3gen2: Add vadc and adc-tm channels

Add support for vadc and adc-tm channels which are used for
monitoring thermistors present on the platform.

- Add the necessary includes for qcom,spmi-adc7-pm7325 and
  qcom,spmi-adc7-pmk8350.
- Add thermal zones for quiet-thermal, sdm-skin-thermal, and
  xo-thermal, and define their polling delays and thermal sensors.
- Configure the pm7325_temp_alarm node to use the pmk8350_vadc
  channel for thermal monitoring.
- Configure the pmk8350_adc_tm node to enable its thermal sensors
  and define their registers and settings.
- Configure the pmk8350_vadc node to define its channels and settings

Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250212113342.873086-1-quic_kotarake@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts