extcon: arizona: Support HPDET based accessory identification
commitdd235eea4ed75b1599dd9a53bb618fe5befeb731
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Jan 2013 23:55:51 +0000 (11 08:55 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 15 Jan 2013 06:42:18 +0000 (15 15:42 +0900)
treefa179be072d4865c3590599c14f02ee761c8326e
parent9b1270c71fb5f4783c72cae7e458b2cf8c657f84
extcon: arizona: Support HPDET based accessory identification

The accessory detection functionality in Arizona devices is flexible and
supports several system designs in addition to the default one implemented
by the existing driver. One such design uses the HPDET feature to determine
what kind of accessory is present by comparing measurements taken with the
two headphone grounds available on the device, implement that if selected
by platform data.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-arizona.c
include/linux/mfd/arizona/pdata.h