commit | b863e49c73e3f13ee20fe324921bd7ee21ae663b | [log] [tgz] |
---|---|---|
author | William Wu <william.wu@rock-chips.com> | Thu Mar 14 10:36:16 2024 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Thu Mar 14 18:19:44 2024 +0800 |
tree | 4b27e8244590d0b470b1921671e3f3a9c0091d7f | |
parent | d9388d1e78d314eec7aba1555b4adaad610fd741 [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>