freebsd-dev/sys/boot/fdt
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
..
dts Add support for interrupts, sensors and GPIO for AXP209 PMIC. 2016-05-26 21:09:07 +00:00
fdt_loader_cmd.c Fixed memory leak in FDT overlay handling code 2016-05-19 20:51:47 +00:00
fdt_overlay.c Add FDT overlays support to ubldr 2016-04-29 22:42:59 +00:00
fdt_overlay.h Add FDT overlays support to ubldr 2016-04-29 22:42:59 +00:00
fdt_platform.h Add FDT overlays support to ubldr 2016-04-29 22:42:59 +00:00
help.fdt Provide verbose help for fdt commands on platforms that use it. 2013-02-11 02:15:26 +00:00
Makefile Add FDT overlays support to ubldr 2016-04-29 22:42:59 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00