[alsa-devel] [PATCH v4 0/2] Add support for select accessory detect mode to HPDETL or HPDETR

Inha Song
2015-04-30T01:38:06Z

This set of patches adds support for select accessory detect mode to HPDETL or HPDETR.

Changes in v4:
- Set the hpdet_channel default value to HPDETL in variable declaration.
- Fix the indentation in binding documentation.

Changes in v3:
- Set the hpdet_channel default value to HPDETL If the value is unknown or invalid.

Changes in v2:
- Use the value in pdata instead of hpdet_channel in extcon_info.
- Wrap arizona_extcon_of_get in IS_ENABLED(CONFIG_OF).
- Change hpdet_channel type to unsigned from signed in pdata.
- Move ARIZONA_ACCDET_MODE_* define to dt-binding header and directly set it to pdata.

Inha Song (2):
extcon: arizona: Add support for select accessory detect mode when
headphone detection
mfd: arizona: Update DT binding to support hpdet channel

Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++++
drivers/extcon/extcon-arizona.c | 38 ++++++++++++++++++-----
include/dt-bindings/mfd/arizona.h | 8 +++++
include/linux/mfd/arizona/pdata.h | 3 ++
4 files changed, 47 insertions(+), 8 deletions(-)
create mode 100644 include/dt-bindings/mfd/arizona.h

--
2.0.0.390.gcb682f8