summaryrefslogtreecommitdiffstats
path: root/sys/arm/allwinner/axp209reg.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r308309:manu2016-12-091-87/+151
| | | | | | | Add support for AXP221 Power Management Unit. AXP221 is used on board with A31/A31S and is mostly compatible with AXP209. Regulators, GPIO and Sensors are supported.
* MFC r307379:manu2016-10-241-0/+24
| | | | | | axp209: Add support for regulators Except for LDO4, all regulators are supported.
* Add support for interrupts, sensors and GPIO for AXP209 PMIC.manu2016-05-261-0/+160
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
OpenPOWER on IntegriCloud