Commit Graph

6 Commits

Author SHA1 Message Date
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
Mike Tipton
f2fddff3f5 ARM: dts: msm: Add proxy consumers for gx_gdsc dependencies on Sun
The gx_clkctl_gx_gdsc requires both gpu_cc_cx_gdsc and VDD_GX to access
its configuration registers. We access these registers during probe, so
we need to ensure these dependencies aren't disabled until after our
probe completes. Add proxy consumers for this.

After probe, the parent-supply will ensure VDD_GX is enabled before we
touch registers in the regulator_enable/disable paths. And for the CX
GDSC dependency, the client already enables it before the GX GDSC due to
historical functional requirements between the CX and GX sides.

Change-Id: I49f5654a8a86644074c76788de821eb8ae621d09
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-11-21 09:19:46 -08:00
David Collins
255a188e99 ARM: dts: qcom: update L11B and S7I regulator max voltage limits for Sun
Update the L11B and S7I regulator max voltage limits to match
the latest guideline.

Change-Id: Ia36cdbe8ad6526070e43325ff3cdb2cc6bfc58f0
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-11-16 21:57:55 -08:00
David Collins
494135fa9b ARM: dts: qcom: switch to RPMh control of VRM regulators on Sun
Replace the stub-regulator devices for VRM managed PMIC regulators
with rpmh-regulator devices.  This ensures that consumers are able
to modify the physical state of these PMIC regulators.

Update all regulator voltage limits to match the latest hardware
guidance.

Remove references to regulator L3B since RPMh will not be providing
support for it.

Change-Id: Ieee28b3860d013837ca273c32606bf3e0b0d2a6b
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-11-01 14:27:32 -07:00
David Collins
d2d054b645 ARM: dts: qcom: switch to RPMh control of ARC regulators on Sun
Replace the stub-regulator devices for ARC managed PMIC regulators
with rpmh-regulator devices.  This ensures that consumers are able
to modify the physical state of these PMIC regulators.  This is
particularly important for VDD_MMCX as it gates many multimedia
blocks in hardware.

Change-Id: I1287233d2e6aa22ef5ebd23951e5c61b8a1acae1
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-07-20 10:54:58 -07:00
David Collins
dd4580033b ARM: dts: qcom: add stub regulator devices for Sun
Add stub regulator devices for the SMPS, LDO, and BOB regulators
found on the PMIC chips which are used on Sun boards.  This
ensures that consumers can use the regulators successfully.

Change-Id: I23a02c960adbb46b09c7648458d7c367636993c3
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-05-22 11:19:24 -07:00