PENDING: arm64: dts: qcom: nord: add ADC-TM thermal channels for Nord… - #1179
Draft
drajpura269 wants to merge 1 commit into
Draft
drajpura269 wants to merge 1 commit into
drajpura269 wants to merge 1 commit into
Conversation
…ord PMICs PMAU0102 (Kai_MV) and PMM8650AU's Kobra_MM ADC5 Gen3 controllers only expose REF_GND/1P25VREF/DIE_TEMP calibration channels; none of their AMUX thermistor pins are wired up, so none of the board thermistor rails feed the thermal framework. Per IPCAT (chipio/systemio/chip/567, NordDC column), only 3 AMUX pins are actually wired to thermistors on Nord, all on Kai and none on Kobra: Kai instance E's AMUX1 (SDRAM3 THERM) and Kai instance I's AMUX1/AMUX2 (SDRAM1 THERM, UFS THERM). Kai's other AMUX pins are either DO_NOT_USE or wired to voltage-rail monitors, not thermistors, so add only these 3 channels. There is no thermistor table yet to finalize pull-up-tier or trip-point values, so these use the standard 100K pull-up default and generic hot/critical trip points; expect these to be revisited once real thermistor data is available. Add #thermal-sensor-cells = <1> to the two Kai adc@ nodes that gain a channel (Gen3 binding requires this on the controller itself, unlike Gen1/Gen2/PMIC7 which use a separate adc-tm node), the new AMUX1[/AMUX2]_THM channel(s) with qcom,adc-tm, and a per-channel thermal-zone for each, following the existing Gen3/Gen4 board pattern of a direct thermal-sensors phandle into the ADC channel. Signed-off-by: Dhruvin Rajpura <drajpura@qti.qualcomm.com>
drajpura269
force-pushed
the
pmic_hlos_nord_changes
branch
from
September 25, 2026 06:40
1bc579b to
52f608c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… PMICs
PMAU0102 (Kai_MV) and PMM8650AU's Kobra_MM ADC5 Gen3 controllers only expose REF_GND/1P25VREF/DIE_TEMP calibration channels; none of their AMUX thermistor/GPIO monitor pins are wired up, so none of the board temperature rails feed the thermal framework.
Add #thermal-sensor-cells = <1> to each Kai and Kobra_MM adc@ node so its channels can be referenced directly as thermal sensors (Gen3 binding requires this on the controller itself, unlike Gen1/Gen2/PMIC7 which use a separate adc-tm node).
Add AMUX_THM/AMUX_GPIO channel nodes with qcom,adc-tm for each pin CDOS confirms is wired to a voltage monitor: AMUX1-2_THM and AMUX1-4_GPIO (6 channels) for each of the 8 Kai instances, and AMUX1-6_THM and AMUX1-4_GPIO (10 channels) for Kobra_MM. Pull-up tier defaults to 100K per the standard convention absent a board-specific thermistor table.
Add a per-channel thermal-zone for each new channel, following the existing Gen3/Gen4 board pattern of a direct thermal-sensors phandle into the ADC channel with a two-trip "hot" policy.