freebsd-skq/sys/arm/allwinner
loos a59cb6a48a Bring a few simplifications to a10_gpio:
o Return the real hardware state in gpio_pin_getflags() instead of keep
   the last state in an internal table.  Now the driver returns the real
   state of pins (input/output and pull-up/pull-down) at all times.
 o Use a spin mutex.  This is required by interrupts and the 1-wire code.
 o Use better variable names and place parentheses around them in MACROS.
 o Do not lock the driver when returning static data.

Tested with gpioled(4) and DS1820 (1-wire) sensors on banana pi.
2015-07-13 18:19:26 +00:00
..
a20
a10_ahci.c
a10_clk.c Add the routines to activate the GMAC clock and setup the GMAC mode. 2015-07-03 18:39:25 +00:00
a10_clk.h Add the routines to activate the GMAC clock and setup the GMAC mode. 2015-07-03 18:39:25 +00:00
a10_common.c
a10_ehci.c
a10_gpio.c Bring a few simplifications to a10_gpio: 2015-07-13 18:19:26 +00:00
a10_gpio.h Rename a10_emac_gpio_config() to a10_gpio_ethernet_activate() to make the 2015-07-03 17:54:41 +00:00
a10_machdep.c
a10_mmc.c
a10_mmc.h
a10_sramc.c
a10_sramc.h
a10_wdog.c
a10_wdog.h
aintc.c
console.c
files.a10
files.allwinner
if_emac.c Rename a10_emac_gpio_config() to a10_gpio_ethernet_activate() to make the 2015-07-03 17:54:41 +00:00
if_emacreg.h
std.a10
timer.c