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-07-08 23:38:25 +00:00
2016-07-22 14:39:55 +00:00
2016-07-11 20:06:21 +00:00
2016-05-13 18:20:54 +00:00
2016-07-11 20:15:46 +00:00
2016-07-16 18:06:41 +00:00
2015-04-18 00:35:00 +00:00
2016-07-08 23:38:25 +00:00