freebsd-dev/sys/arm/allwinner
Emmanuel Vadot 30068a1de9 Add support for interrupts, sensors and GPIO for AXP209 PMIC.
Pressing the PEK (power enable key) will shutdown the board.
Some events are reported to devd via system "PMU" and subsystem
"Battery", "AC" and "USB" such as connected/disconnected.
Some sensors values (power source voltage/current) are reported via
sysctl (dev.axp209_pmu.X.)
It also expose a gpioc node usable in kernel and userland. Only 3 of
the 4 GPIO are exposed (The GPIO3 is different and mostly unused on
boards). Most popular boards uses GPIO1 as a sense pin for OTG power.
Add a dtsi file that adds gpio-controller capability to the device as
upstream doesn't defined it and include it in our custom DTS.

Reviewed by:	jmcneill
Approved by:	cognet (mentor)
Differential Revision:	https://reviews.freebsd.org/D6135
2016-05-26 21:09:07 +00:00
..
a10 Return the struct intr_pic pointer from intr_pic_register. This will be 2016-05-18 15:05:44 +00:00
a20 Replace the A20 kernel config with a generic ALLWINNER kernel config that 2016-04-21 16:49:04 +00:00
a31 Add support for Allwinner A31/A31S R-GPIO (CPUs-PORT) controller. 2016-04-23 13:59:18 +00:00
a83t Add support for the Allwinner A83T (sun8iw6p1) SoC. 2016-05-05 09:41:57 +00:00
clk Use OF_prop_free instead of direct call to free(9) 2016-05-13 22:28:02 +00:00
h3 Add support for Allwinner H3 SoC. 2016-05-13 18:20:54 +00:00
a10_ahci.c Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
a10_codec.c Convert Allwinner port to extres clk/hwreset/regulator APIs. 2016-04-06 23:11:03 +00:00
a10_common.c Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine 2016-04-15 16:05:41 +00:00
a10_dmac.c Convert Allwinner port to extres clk/hwreset/regulator APIs. 2016-04-06 23:11:03 +00:00
a10_dmac.h Add support for the Allwinner DMA controller. This will be used by the at 2016-02-15 19:56:35 +00:00
a10_ehci.c Enable USB PHY regulators when requested by the host controller driver. 2016-05-26 10:50:39 +00:00
a10_fb.c Convert Allwinner port to extres clk/hwreset/regulator APIs. 2016-04-06 23:11:03 +00:00
a10_gpio.c Use OF_prop_free instead of direct call to free(9) 2016-05-13 22:28:02 +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_hdmi.c Convert Allwinner port to extres clk/hwreset/regulator APIs. 2016-04-06 23:11:03 +00:00
a10_hdmiaudio.c Add Allwinner A20 HDMI support. 2016-02-25 20:17:18 +00:00
a10_mmc.c Add support for 8-bit eMMC. 2016-04-26 12:02:36 +00:00
a10_mmc.h Fix PIO mode on A31 and later SoCs. 2016-02-27 22:26:05 +00:00
a10_padconf.c Replace the A20 kernel config with a generic ALLWINNER kernel config that 2016-04-21 16:49:04 +00:00
a10_sramc.c Add function for mapping SRAM-D area to USB0 (OTG) controller. Use a lower 2016-04-08 10:54:59 +00:00
a10_sramc.h Add function for mapping SRAM-D area to USB0 (OTG) controller. Use a lower 2016-04-08 10:54:59 +00:00
allwinner_machdep.c Add support for Allwinner H3 SoC. 2016-05-13 18:20:54 +00:00
allwinner_machdep.h Add support for Allwinner H3 SoC. 2016-05-13 18:20:54 +00:00
allwinner_pinctrl.h Move the Allwinner kernels to use fdt_pinctrl. This will read the pin 2016-02-17 18:28:03 +00:00
aw_ccu.c Add support for Allwinner H3 SoC. 2016-05-13 18:20:54 +00:00
aw_if_dwc.c Replace the A20 kernel config with a generic ALLWINNER kernel config that 2016-04-21 16:49:04 +00:00
aw_mp.c Merge a20_mp_start_ap and a31_mp_start_ap into one function. 2016-05-10 18:00:37 +00:00
aw_mp.h Merge a20_mp_start_ap and a31_mp_start_ap into one function. 2016-05-10 18:00:37 +00:00
aw_nmi.c Return the struct intr_pic pointer from intr_pic_register. This will be 2016-05-18 15:05:44 +00:00
aw_reset.c Attach hwreset resources at the same time as clock resources. 2016-04-08 23:07:16 +00:00
aw_rsb.c Reduce complexity of RSB by always using polling mode. Unfortunately 2016-05-15 16:43:47 +00:00
aw_rtc.c Add support for Allwinner A31 RTC controller. 2016-03-03 22:19:39 +00:00
aw_sid.c Add Allwinner A83T thermal sensor controller support. 2016-05-15 22:36:55 +00:00
aw_sid.h Add Allwinner A83T thermal sensor controller support. 2016-05-15 22:36:55 +00:00
aw_thermal.c Add Allwinner A83T thermal sensor controller support. 2016-05-15 22:36:55 +00:00
aw_usbphy.c Enable USB PHY regulators when requested by the host controller driver. 2016-05-26 10:50:39 +00:00
aw_wdog.c Add support for the Allwinner A31 watchdog to the existing A10 watchdog 2016-02-25 16:50:36 +00:00
aw_wdog.h Add support for the Allwinner A31 watchdog to the existing A10 watchdog 2016-02-25 16:50:36 +00:00
axp81x.c Reduce complexity of RSB by always using polling mode. Unfortunately 2016-05-15 16:43:47 +00:00
axp209.c Add support for interrupts, sensors and GPIO for AXP209 PMIC. 2016-05-26 21:09:07 +00:00
axp209reg.h Add support for interrupts, sensors and GPIO for AXP209 PMIC. 2016-05-26 21:09:07 +00:00
console.c Switch to my freebsd.org emal address in copyright. 2014-03-25 08:31:47 +00:00
files.a10 Convert A10 interrupt controller to INTRNG 2016-04-26 11:15:48 +00:00
files.allwinner Add driver for "generic-ohci" as defined by FDT. 2016-05-17 17:46:12 +00:00
if_awg.c Use OF_prop_free instead of direct call to free(9) 2016-05-13 22:28:02 +00:00
if_awgreg.h Add driver for Allwinner A83T/H3/A64 Gigabit Ethernet. 2016-05-04 20:06:20 +00:00
if_emac.c Convert Allwinner port to extres clk/hwreset/regulator APIs. 2016-04-06 23:11:03 +00:00
if_emacreg.h Simplify the receiver code a bit. 2015-04-18 00:35:00 +00:00
std.a10 Move ARM_L2_PIPT option to std.armv6 for all armv6 platforms. 2016-02-22 11:47:28 +00:00
std.allwinner Add support for Allwinner H3 SoC. 2016-05-13 18:20:54 +00:00
sunxi_dma_if.m Add support for the Allwinner DMA controller. This will be used by the at 2016-02-15 19:56:35 +00:00
timer.c Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY 2016-04-30 17:27:33 +00:00