minix/drivers/tps65217
Thomas Cort 75bd3009d3 libi2cdriver: add functions for IC register access
Many i2c device drivers used similar code to access registers on
the ICs they drive. This commit implements that functionality in
libi2cdriver and updates the drivers to use the library instead of
their own register access functions. The net result is 375+ fewer
lines of code and less work for people developing new drivers.

The two exceptions were cat24c256 and parts of tda19988. They access
the bus in uncommon ways. It doesn't make sense at this time to
move their read/write functions into libi2cdriver.

Change-Id: Id8280b71af33b710a49944d7f20a7262be9f5988
2013-09-18 08:10:26 -04:00
..
Makefile tps65217: driver for the TPS65217 PMIC 2013-08-05 10:22:59 -04:00
README.txt tps65217: driver for the TPS65217 PMIC 2013-08-05 10:22:59 -04:00
tps65217.c libi2cdriver: add functions for IC register access 2013-09-18 08:10:26 -04:00

TPS65217 Driver (Power Management IC)
=====================================

Overview
--------

This driver is for the power management chip commonly found on the BeagleBone
and the BeagleBone Black.

Testing the Code
----------------

Starting up an instance:

/bin/service up /usr/sbin/tps65217 -label tps65217.1.24 \
	-args 'bus=1 address=0x24'

Killing an instance:

/bin/service down tps65217.1.24