diff options
author | William Wu <william.wu@rock-chips.com> | 2024-03-14 10:36:16 +0100 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2024-03-14 18:19:44 +0800 |
commit | d771597fbbade5c45ca6e0956ec3120b2d9bdce0 (patch) | |
tree | 4b27e8244590d0b470b1921671e3f3a9c0091d7f /drivers/gpio/imx_rgpio2p.c | |
parent | 811323ffd460ce6e54846c872df1ea157adf5ea8 (diff) |
regulator: rk8xx: fix SWITCH enable on RK809
On RK809 in PMIC_POWER_ENX registers, in order to set or clear a bit N,
the bit at offset N + 4 needs to be set otherwise nothing is done.
This fixes the inability to modify the SWITCH state on RK809.
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: William Wu <william.wu@rock-chips.com>
[reworded commit log]
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Diffstat (limited to 'drivers/gpio/imx_rgpio2p.c')
0 files changed, 0 insertions, 0 deletions