diff options
author | Robin Gong <yibin.gong@nxp.com> | 2024-12-05 19:51:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-12-09 16:14:14 +0300 |
commit | 229773f90b1f886e8fd542f98b495c66e43be5ba (patch) | |
tree | 17955f1c5a46459939d3eb11f306f3cd0a3e188e /tools/perf/scripts/python/parallel-perf.py | |
parent | a6ebabd0e53d4352abe0fd2ad156a52162f5d3ce (diff) | |
download | linux-229773f90b1f886e8fd542f98b495c66e43be5ba.tar.xz |
regulator: pca9450: add enable_value for all bucks
Set 'enable_value' in the regulator descriptor for different bucks to
manage their enable modes:
- 00b: OFF
- 01b: ON when PMIC_ON_REQ = H
- 10b: ON when PMIC_ON_REQ = H && PMIC_STBY_REQ = L
- 11b: Always ON
Ensure appropriate behavior based on the intended design. For example:
- Buck2, designed for vddarm, should be set to '10b' (ON when
PMIC_STBY_REQ = L) since it can be off when `PMIC_STBY_REQ = H` after the
kernel enters suspend.
- Other bucks remain '01b' (ON when PMIC_ON_REQ = H), matching the default
setting. This avoids the need to re-enable them during kernel boot as they
are already enabled after PMIC initialization.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20241205-pca9450-v1-1-aab448b74e78@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions