diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-05-01 18:15:12 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-06-22 14:25:16 +0300 |
commit | fc027d138b79537e5353f3d3bad2bcaac787cd17 (patch) | |
tree | 12a9a5adc00ce7167bc59f2ecad8eac409047653 /include/linux/mfd/arizona/pdata.h | |
parent | 121c075c1f845c2e75d61a4e7aac92d05d2def6e (diff) | |
download | linux-fc027d138b79537e5353f3d3bad2bcaac787cd17.tar.xz |
mfd: arizona: Split INx_MODE into two fields
Later arizona silicon has the single/differential selector
in a different register, and IN1_MODE only selects between
analogue or digital. Prepare for this by splitting the
INx_MODE definition into two fields.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/arizona/pdata.h')
-rw-r--r-- | include/linux/mfd/arizona/pdata.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mfd/arizona/pdata.h b/include/linux/mfd/arizona/pdata.h index 1789cb0f4f17..f6722677e6d0 100644 --- a/include/linux/mfd/arizona/pdata.h +++ b/include/linux/mfd/arizona/pdata.h @@ -156,7 +156,10 @@ struct arizona_pdata { /** MICBIAS configurations */ struct arizona_micbias micbias[ARIZONA_MAX_MICBIAS]; - /** Mode of input structures */ + /** + * Mode of input structures + * One of the ARIZONA_INMODE_xxx values + */ int inmode[ARIZONA_MAX_INPUT]; /** Mode for outputs */ |