Re: [PATCH V3] arm64: dts: qcs6490-rb3gen2: Add vadc and adc-tm channels
From: Konrad Dybcio
Date: Wed Feb 12 2025 - 18:42:53 EST
On 12.02.2025 12:33 PM, Rakesh Kota wrote:
> 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@xxxxxxxxxxx>
> ---
> Changes from V2:
> - As per Konrad Dybcio’s suggestion, removed all default polling values.
> Changes from V1:
> - Update the Die temp name to Channel as per Documentation.
> - As per Konrad Dybcio’s suggestion, I have sorted the pmk8350_adc_tm
> channels by unit address instead of alphabetically.
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad