summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-09-16 10:42:14 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2015-09-22 15:23:59 +0900
commit1ce376897e02e623ba357594604ca655df61053b (patch)
tree1e8379ce9ced536c47a956d15d9331f71b23364c /include/linux/mfd
parente76e397a7f99bffbd91fb21f96370cbb165b5bcd (diff)
downloadblackbird-op-linux-1ce376897e02e623ba357594604ca655df61053b.tar.gz
blackbird-op-linux-1ce376897e02e623ba357594604ca655df61053b.zip
mfd: arizona: Add register bits for general purpose switch
The switch is typically used in conjunction with the MICDET clamp in order to suppress pops and clicks associated with jack insertion. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/arizona/pdata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/pdata.h b/include/linux/mfd/arizona/pdata.h
index 92f31ffaf866..57b45caaea80 100644
--- a/include/linux/mfd/arizona/pdata.h
+++ b/include/linux/mfd/arizona/pdata.h
@@ -184,6 +184,9 @@ struct arizona_pdata {
/** GPIO for primary IRQ (used for edge triggered emulation) */
int irq_gpio;
+
+ /** General purpose switch control */
+ unsigned int gpsw;
};
#endif
OpenPOWER on IntegriCloud