rockchip: Implement spl_gpio in the GPIO driver
authorSimon Glass <sjg@chromium.org>
Mon, 21 Jan 2019 21:53:34 +0000 (14:53 -0700)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 1 Feb 2019 15:59:13 +0000 (16:59 +0100)
commitaa48c94ca87e9831738238128385472be41b148e
tree34dd4f90286d9f92a9014f4dda99cba633a92b53
parent3ec6f11c7d192856b65217317ff5ba52827f7a3c
rockchip: Implement spl_gpio in the GPIO driver

Allow rockchip boards to use GPIOs before driver model is ready. This is
really only useful for setting GPIOs to enable the early debug console, if
needed on some platforms.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/gpio.h
drivers/gpio/rk_gpio.c