rockchip/rk3399: improve gpio driver and support get pull mode function
We may need gpio pull mode later, so add this function.
Besides fix a set pull mode bug, and save gpio clock gate,
when operate the gpio, we will enable gpio clock, when
finish gpio operate, restore gpio clock gate status.

Change-Id: Ia1d602804f571a17f5ddc499908663b968b02974
1 parent 77b0532 commit 536c2492456758d2fe7e28b11ece9001c4d79cc0
@Caesar Wang Caesar Wang authored on 9 Sep 2016
Showing 1 changed file
View
plat/rockchip/rk3399/drivers/gpio/rk3399_gpio.c