Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
soc: rockchip: io-domain: set 3.3V before regulator disable
Do a fix to rockchip io-domain, follow this orders:
* system running state
-> io-domain vsel to 3.3V (actually is done by pre-disable)
-> regulator_enable
-> vsel change according to regulator voltage
* system running state
-> io-domain vsel to 3.3V
-> regulator_disable
Found on some Rockchip SoCs, the regulator enable or disable without
care about the io-domain maybe caused soc damaged.
Tested on RV1126 EVB.
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>- Loading branch information