diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-22 19:02:25 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-18 23:15:32 +0000 |
commit | 2f7510c6070932371e0b842a5470ce7190dcf162 (patch) | |
tree | 956bcfceae25b3dac9936910ec2afae2bfbead36 /include/linux/mfd/ucb1x00.h | |
parent | c364ff473a8d31c93da5e21ac5d2789a935c8faf (diff) | |
download | linux-2f7510c6070932371e0b842a5470ce7190dcf162.tar.gz linux-2f7510c6070932371e0b842a5470ce7190dcf162.tar.bz2 linux-2f7510c6070932371e0b842a5470ce7190dcf162.zip |
MFD: ucb1x00-core: add handling for ucb1x00 reset
Provide a way to handle the software controlled ucb1x00 reset signal
from the ucb1x00-core driver without having to code platform specifics
into these drivers.
Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/mfd/ucb1x00.h')
-rw-r--r-- | include/linux/mfd/ucb1x00.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h index 731b23a656c0..fd088cc6a4ca 100644 --- a/include/linux/mfd/ucb1x00.h +++ b/include/linux/mfd/ucb1x00.h @@ -104,7 +104,14 @@ #define UCB_MODE_DYN_VFLAG_ENA (1 << 12) #define UCB_MODE_AUD_OFF_CAN (1 << 13) +enum ucb1x00_reset { + UCB_RST_PROBE, + UCB_RST_REMOVE, + UCB_RST_PROBE_FAIL, +}; + struct ucb1x00_plat_data { + void (*reset)(enum ucb1x00_reset); int gpio_base; }; |