mxs: power: Change sequence of enabling DCDC switches
authorLukasz Majewski <lukma@denx.de>
Wed, 13 Oct 2021 13:40:12 +0000 (15:40 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000 (13:38 +0100)
commit91f27f3ba854409a3575a5b2d6e3f31526092f2b
tree3ef13cf333806ba957513ec44b47cd12e810a1a2
parentcd0ecb3d806dc107218a56b615471815e42784fa
mxs: power: Change sequence of enabling DCDC switches

The imx28 uses following voltage supplies hierarchy:

VDD_5V (VDD_BAT) -> VDDIO -> VDDA -> VDDMEM
     \-----> VDDD

One shall first enable DCDC on the parent source (VDDIO) and then
follow with its children.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c