Change the minimum mode allowed for L2J from low power mode (LPM) to
retention mode. This can be used to ensure that power is saved once
the secure processor is out of reset.
Change-Id: I2b6b7c88b3ea9cc1f2105ff4999d44b96e0b7aeb
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
Configure the L1F and L3G active-only regulator to be always enabled
in high power mode (HPM). These regulators power REFGENs and PLLs
used by the application processor itself. Unconditional active-only
voting is needed since the software running on the application
processor won't be capable of removing L1F and L3G votes after the
application processor subsystem is power collapsed.
Change-Id: I750da467f408f35b6015a2286696609f234abdc4
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
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>
Add proxy enable properties to the DSI core and panel supplies
to support continuous splash.
Change-Id: Ib8d0ae5340eee86b29b57284226a59d3152bfab7
Signed-off-by: Lei Chen <quic_chenlei@quicinc.com>
Configure the L2F and L3F regulators on Sun boards to be always
enabled. This ensures that WCN hardware operates correctly.
Use low power mode (LPM) as the initial mode to reduce current
consumption before BT or WLAN is enabled.
Change-Id: I7820a19dd89fda0abfe6094420a8d72c8acbe33a
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
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>
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>
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>
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>
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>
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>
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>