]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3399-puma: add boot-on regulator to override BIOS_DISABLE
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 29 Sep 2017 17:28:01 +0000 (19:28 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 30 Sep 2017 22:33:35 +0000 (00:33 +0200)
commit7ffdda212d564522aff5389ea404084d3e07747f
treebdc510d8ea59ff9e976e6384857ec2ecfb841693
parentf4fa469d64aa0c87c058ad5ae73f46d8a88bca01
rockchip: rk3399-puma: add boot-on regulator to override BIOS_DISABLE

The (Qseven) BIOS_DISABLE signal on the RK3399-Q7 (Puma) keeps the
eMMC and SPI in reset initially and we need to write a GPIO to turn
them on before continuing the boot-up.

This adds the DTS entries for the additional regulator and makes
pinctrl and gpio3 available during SPL.  It also adds a hook to the
spl_board_init() to ensure that the regulator gets probed and enabled.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/rk3399-puma.dtsi
board/theobroma-systems/puma_rk3399/puma-rk3399.c