diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-22 12:05:27 +0100 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-01-04 12:17:43 +0100 |
commit | 0931a4c6dbfab03f2bfd22a9170130f7b155d53a (patch) | |
tree | 3b943723615a0212bf5e5b74b1fbc0689ee6cbae /drivers/mfd/tps65010.c | |
parent | 4331bb32339a55fd88fbfb0581ed5132207bf9a2 (diff) | |
download | op-kernel-dev-0931a4c6dbfab03f2bfd22a9170130f7b155d53a.zip op-kernel-dev-0931a4c6dbfab03f2bfd22a9170130f7b155d53a.tar.gz |
mfd: dm355evm msp430 driver
Basic MFD framework for the MSP430 microcontroller firmware used
on the dm355evm board:
- Provides an interface for other drivers: register read/write
utilities, and register declarations.
- Directly exports:
* Many signals through the GPIO framework
+ LEDs
+ SW6 through gpio sysfs
+ NTSC/nPAL jumper through gpio sysfs
+ ... more could be added later, e.g. MMC signals
* Child devices:
+ LEDs, via leds-gpio child (and default triggers)
+ RTC, via rtc-dm355evm child device
+ Buttons and IR control, via dm355evm_keys
- Supports power-off system call. Use the reset button to power
the board back up; the power supply LED will be on, but the
MSP430 waits to re-activate the regulators.
- On probe() this:
* Announces firmware revision
* Turns off the banked LEDs
* Exports the resources noted above
* Hooks the power-off support
* Muxes tvp5146 -or- imager for video input
Unless the new tvp514x driver (tracked for mainline) is configured,
this assumes that some custom imager driver handles video-in.
This completely ignores the registers reporting the output voltages
on the various power supplies. Someone could add a hwmon interface
if that seems useful.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd/tps65010.c')
0 files changed, 0 insertions, 0 deletions