Emmanuel Vadot 4943ecf438 a10_gpio_get_function now returns the whole function not only
GPIO_INPUT/GPIO_OUTPUT.
a10_gpio_get_pud now returns the whole pud not only PULLDOWN/PULLUP.
Add a10_gpio_get_drv to get the current drive strenght.
During fdt pin configure, avoid setting function/drive/pud if it's already in
the correct value.

Tested on Allwinner H3 and A20

MFC after:	1 week
2016-08-17 10:20:36 +00:00
..
2016-08-16 02:25:19 +00:00
2016-08-09 19:32:06 +00:00
2016-08-15 19:17:00 +00:00
2016-08-10 12:41:36 +00:00