diff options
author | Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> | 2011-09-22 16:39:54 +0530 |
---|---|---|
committer | Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> | 2011-09-22 18:19:56 +0530 |
commit | ccb4b560d11f6632178dfa17024f026eccbb4fde (patch) | |
tree | c0e349bb9350ba19314c3481cef535947db5d9a0 /include/linux/mfd/abx500/ab5500.h | |
parent | abca64e5d564e8902c831e24348f6215f884d352 (diff) |
input:misc: Add accessory driver
Add driver for the accessory detection block of the
ab5500 PMIC.
The common functions from the 8500 accessory driver
are moved to abx500-accdet generic driver. This generic
driver uses callbacks registerd from the 8500 and 5500
specific driver to work as a accessory driver for a
perticluar platform.
ST Ericsson ID: 353610
ST Ericsson FOSS-OUT ID: Trivial
ST Ericsson Linux next: NA
Change-Id: Ifb06f9c9dd0dc59cbc071198c9e244a422a63af0
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Diffstat (limited to 'include/linux/mfd/abx500/ab5500.h')
-rw-r--r-- | include/linux/mfd/abx500/ab5500.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab5500.h b/include/linux/mfd/abx500/ab5500.h index 3a35f2d4b52..7c200c483b0 100644 --- a/include/linux/mfd/abx500/ab5500.h +++ b/include/linux/mfd/abx500/ab5500.h @@ -29,6 +29,7 @@ enum ab5500_devid { AB5500_DEVID_CHARGALG, AB5500_DEVID_BTEMP, AB5500_DEVID_TEMPMON, + AB5500_DEVID_ACCDET, AB5500_NUM_DEVICES, }; @@ -157,6 +158,7 @@ struct ab5500_platform_data { bool pm_power_off; struct ab5500_regulator_platform_data *regulator; struct ab5500_usbgpio_platform_data *usb; + struct abx500_accdet_platform_data *accdet; }; struct ab5500_ponkey_platform_data { |