Commit Graph

4 Commits

Author SHA1 Message Date
David Collins
ee11d4c1ad ARM: dts: qcom: specify PM8550VE_F temp-alarm ADC channel for sun V8
Add properties to the PM8550VE_F spmi-temp-alarm device to specify
it's die temperature ADC channel on Sun power grid V8 boards.  This
ensures that software is able to read it's precise die temperature
instead of estimating it based on the TEMP_ALARM peripheral
over-temperature stage.

Change-Id: I726e2ca236db94ef8aa7f6c19b3f4c74f745c763
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2024-03-27 14:37:53 -07:00
David Collins
7a007c4dd0 ARM: dts: qcom: add active and sleep L1F and L3G regulators for Sun
Add active-only and sleep-only regulator subnodes for rpmh-regulator
devices L1F and L3G on Sun boards.  This allows requests to be issued
for them that are tied to the application processor's power collapse
state.

Change-Id: Ia8fd8c3aef5c5abfec1044ba3287b1a59f1d5824
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2024-02-27 11:17:45 -08:00
David Collins
b994cb80a3 ARM: dts: qcom: remove overlay regulator node/phandle creation for sun V8
Sun power grid V8 boards have seen a boot-up issue seemingly caused
by device tree overlays not being applied as expected.  This results
in the rpmh-regulator-mxlvl device not probing correctly as the
proxy-supply property isn't found/resolved.

Correct this issue by moving regulator phandle creation from V8
overlay DTs into the base DT and not creating any regulator nodes
in the overlay DTs (which are duplicates of ones in the base DT).

Change-Id: I2b3515d1ddfa4a9961ef892af61beb8e3afdfd1a
Fixes: 3e728ec361 ("ARM: dts: qcom: add PMIC device support for sun V8 power grid boards")
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2024-01-03 12:15:29 -08:00
David Collins
3e728ec361 ARM: dts: qcom: add PMIC device support for sun V8 power grid boards
Sun boards that utilize the V8 power grid have a PM8550VE PMIC in
place of a PM8550VS one for the "F" PMIC at SPMI SID=5.  Several
FTSMPS regulators are ganged together differently and some supplies
are shuffled around.  These are the impacts for RPMh managed
regulator resources:

      V6 Power Grid     V8 Power Grid
S4J      WCN_CX              XX
S5F        XX              WCN_CX
S6F      VDD_MXA             XX
S8F        N/A             VDD_MXA

Update the device tree configurations for V8-specific overlays so
that the correct set of PMIC resources is present.

Change-Id: I035b8dfc87703b7681110a757952005bbdbf8a63
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-11-27 17:29:25 -08:00