mfd: Add basic WM831x OTP support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Jul 2009 13:45:56 +0000 (14:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:46:59 +0000 (09:46 +0200)
commit6704e5171ba9053ba173bcd807c7392d2076bdb4
tree84f91270bdf1bfbefe2e059dec395d473cbd72d0
parent63aed85e3535b4603798184cc941e49de386d354
mfd: Add basic WM831x OTP support

The WM831x series of devices use OTP (One Time Programmable, a type
of PROM) to store system configuration. At run time this data is
visible via registers.

Currently the only explicitly supported feature is that the unique
ID provided by every WM831x device is exported to user space via
sysfs. Other configuration data may be read by system-specific
code in the pre_init() and post_init() platform data operations.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c
drivers/mfd/wm831x-otp.c [new file with mode: 0644]
include/linux/mfd/wm831x/otp.h [new file with mode: 0644]