rockchip: support rk3399 gpio driver
authorCaesar Wang <wxt@rock-chips.com>
Wed, 25 May 2016 11:21:43 +0000 (19:21 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Fri, 27 May 2016 01:39:56 +0000 (09:39 +0800)
commit9901dcf6bb14813bf9ace57ffb51d62f37a1d2fb
treecaa4523356468cdfc1a22ea3f5d4a133b97f9c09
parent195889829e3f3fc4eabb3297b3d686daf14af7f5
rockchip: support rk3399 gpio driver

There are 5 groups of GPIO (GPIO0~GPIO4), totally have 122 GPIOs
on rk3399 platform.
The pull direction(pullup or pulldown) for all of GPIOs are
software-programmable.
At the moment, we add the gpio basic driver since reset or power off
the devices from gpio configuration for BL31.
plat/rockchip/common/include/plat_private.h
plat/rockchip/rk3399/drivers/gpio/rk3399_gpio.c [new file with mode: 0644]
plat/rockchip/rk3399/drivers/soc/soc.c
plat/rockchip/rk3399/drivers/soc/soc.h
plat/rockchip/rk3399/include/platform_def.h
plat/rockchip/rk3399/platform.mk
plat/rockchip/rk3399/rk3399_def.h