freebsd-dev/sys/arm/allwinner
Luiz Otavio O Souza fb54940587 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 Add the gic to files.arm under "device gic" and use it with the 2015-05-10 09:33:03 +00:00
a10_ahci.c Add AHCI attachment code for Allwinner A10/A20 SoCs. 2015-07-03 14:11:01 +00:00
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 Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
a10_ehci.c Add 64-bit DMA support in the XHCI controller driver. 2015-01-05 20:22:18 +00:00
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 Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
a10_mmc.c Add DMA support for Allwinner MMC controller. 2015-07-01 23:27:01 +00:00
a10_mmc.h Add DMA support for Allwinner MMC controller. 2015-07-01 23:27:01 +00:00
a10_sramc.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
a10_sramc.h Switch to my freebsd.org emal address in copyright. 2014-03-25 08:31:47 +00:00
a10_wdog.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
a10_wdog.h
aintc.c Switch to my freebsd.org emal address in copyright. 2014-03-25 08:31:47 +00:00
console.c Switch to my freebsd.org emal address in copyright. 2014-03-25 08:31:47 +00:00
files.a10 Move the items common to all SoCs to a single file. 2015-04-18 03:07:01 +00:00
files.allwinner Add AHCI attachment code for Allwinner A10/A20 SoCs. 2015-07-03 14:11:01 +00:00
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 Simplify the receiver code a bit. 2015-04-18 00:35:00 +00:00
std.a10 Clean up the style to use "options<space><tab>". 2015-05-10 08:48:00 +00:00
timer.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00