diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-09-01 22:02:10 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-10 19:52:49 +0100 |
| commit | a5ee78846015512b4d3d32f8aa463024a23234ce (patch) | |
| tree | 7b8090e4f7e725eccebec58064a87e7144efdea9 /tools/perf/scripts/python | |
| parent | b9fc8a8d31b914b09329240f532ff0e9c00cd727 (diff) | |
regulator: ab8500: Test dedicated enable bits only
Some regulator control registers have independent enable and low-power
bits. is_enabled() currently tests their combined update mask, so an
off regulator with its low-power bit set is incorrectly reported as
enabled.
Add an optional enable mask and use it for VINTCORE, AB8500 TVOUT,
AB8505 ADC, and AB8505 VAUX5/6. Regulators whose two-bit field encodes
the complete operating state continue to test the full update mask.
References: AB8500 User Manual, UM0836 Rev 3, p. 214;
AB8505 User Manual, DM00046744 Rev 3, pp. 171-172 and 223
Fixes: 65e03ed2d0cd ("regulators: Fixed errors in ab8500 register mapping")
Assisted-by: LLM
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260901-ux500-dts-snowball-regulator-v2-5-fe88b01829bf@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
