freebsd-skq/sys/arm
manu 75eb020bfe 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
..
allwinner Add support for interrupts, sensors and GPIO for AXP209 PMIC. 2016-05-26 21:09:07 +00:00
altera/socfpga Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
amlogic/aml8726 Use OF_prop_free instead of direct call to free(9) 2016-05-18 23:41:58 +00:00
annapurna/alpine Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
arm Disable alignment faults on armv6, adjust various alignment-related macros 2016-05-26 00:03:23 +00:00
at91 Use the new(-ish) CP15_SCTLR macro to generate system control reg accesses 2016-05-23 20:07:17 +00:00
broadcom/bcm2835 Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
cavium/cns11xx Spaces->tab in comment. 2016-05-23 20:13:17 +00:00
conf Add driver for "generic-ohci" as defined by FDT. 2016-05-17 17:46:12 +00:00
freescale Another round of changes to add compatibility with the older ESHDC variety 2016-05-26 03:55:27 +00:00
include Disable alignment faults on armv6, adjust various alignment-related macros 2016-05-26 00:03:23 +00:00
lpc Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
mv Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
nvidia Return the struct intr_pic pointer from intr_pic_register. This will be 2016-05-18 15:05:44 +00:00
qemu While gem5 is not qemu, we treat it as "simulators" or "virtual environments". 2016-05-04 16:24:12 +00:00
rockchip Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
samsung/exynos sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
ti Only do the touch screen setup when the 'ti,wires' property is present. 2016-05-26 18:52:26 +00:00
versatile Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
xilinx sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
xscale sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00