freebsd-skq/sys/dev/iicbus
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
..
twsi Add support for interrupts, sensors and GPIO for AXP209 PMIC. 2016-05-26 21:09:07 +00:00
ad7417.c
ad7418.c
adm1030.c
adt746x.c Use OF_prop_free instead of direct call to free(9) 2016-05-14 20:06:38 +00:00
ds133x.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ds1307.c Add support for the Microchip mcp7941x. 2016-04-05 03:27:33 +00:00
ds1307reg.h Add support for the Microchip mcp7941x. 2016-04-05 03:27:33 +00:00
ds1374.c
ds1631.c
ds1672.c
ds1775.c
ds3231.c Fix off-by-one bugs. 2015-03-10 14:55:05 +00:00
ds3231reg.h Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
icee.c Add FDT compatibility to the icee driver. 2015-10-22 01:04:31 +00:00
if_ic.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
iic.c iic_rdwr_data->nmsgs is uint32_t, so limit the allowable number of messages to prevent memory exhaustion and short allocations on 32-bit systems. Since iicrdwr is intended to be a workalike of a Linux i2c-dev call, use the same limit of 42 that Linux uses. 2016-05-20 03:03:04 +00:00
iic.h iic_rdwr_data->nmsgs is uint32_t, so limit the allowable number of messages to prevent memory exhaustion and short allocations on 32-bit systems. Since iicrdwr is intended to be a workalike of a Linux i2c-dev call, use the same limit of 42 that Linux uses. 2016-05-20 03:03:04 +00:00
iicbb_if.m Remove a couple of extra blank lines. 2016-05-22 04:09:05 +00:00
iicbb.c iicbus: Use device_delete_children() instead of explicit child removal 2015-10-20 19:52:59 +00:00
iicbus_if.m Fix numerous issues in iic(4) and iicbus(4): 2015-04-21 11:50:31 +00:00
iicbus.c Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
iicbus.h Handle IRQ resources on iicbus and ofw_iicbus. 2015-05-09 03:05:44 +00:00
iicoc.c Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
iicoc.h
iiconf.c Remove a couple of extra blank lines. 2016-05-22 04:09:05 +00:00
iiconf.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
iicsmb.c iicbus: Use device_delete_children() instead of explicit child removal 2015-10-20 19:52:59 +00:00
lm75.c Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
max6690.c
ofw_iicbus.c Move the OFW iicbus code to dev/iicbus to stop polluting dev/ofw with 2016-05-24 01:33:49 +00:00
pcf8563.c Make the pcf8563 RTC work on FDT systems and on interrupt based i2c 2015-04-25 21:43:29 +00:00
pcf8563reg.h
s35390a.c