rockchip: gru: Set up SoC IO domain registers
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Fri, 24 Dec 2021 13:43:43 +0000 (16:43 +0300)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 18 Mar 2022 10:12:03 +0000 (18:12 +0800)
commiteb0ca6b5ecd8fbbbd55ebdf63a4a622fd6ec907f
treebadca493f861b18b21b2652bdec72fef5798f222
parente7fb67df319cec410c20906bbf33936a6f7479b2
rockchip: gru: Set up SoC IO domain registers

The RK3399 SoC needs to know the voltage value provided by some
regulators, which is done by setting relevant register bits. Configure
these the way other RK3399 boards do, but with the same values as are
set in the equivalent code in coreboot.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
board/google/gru/gru.c