Skip to content

PENDING: arm64: dts: qcom: nord: add ADC-TM thermal channels for Nord… - #1179

Draft
drajpura269 wants to merge 1 commit into
qualcomm-linux:staging/nordfrom
drajpura269:pmic_hlos_nord_changes
Draft

drajpura269 wants to merge 1 commit into
qualcomm-linux:staging/nordfrom
drajpura269:pmic_hlos_nord_changes

Conversation

@drajpura269

Copy link
Copy Markdown

… 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.

…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
drajpura269 force-pushed the pmic_hlos_nord_changes branch from 1bc579b to 52f608c Compare September 25, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant