HardenedBSD/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
a10_common.c
a10_dmac.c
a10_dmac.h
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
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
a10_hdmi.c
a10_hdmiaudio.c
a10_mmc.c Add support for 8-bit eMMC. 2016-04-26 12:02:36 +00:00
a10_mmc.h
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
a10_sramc.h
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
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
aw_rsb.c Reduce complexity of RSB by always using polling mode. Unfortunately 2016-05-15 16:43:47 +00:00
aw_rtc.c
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
aw_wdog.h
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
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
if_emacreg.h
std.a10
std.allwinner Add support for Allwinner H3 SoC. 2016-05-13 18:20:54 +00:00
sunxi_dma_if.m
timer.c Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY 2016-04-30 17:27:33 +00:00