extcon: arizona: Enable basic headphone identification
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Jan 2013 23:55:43 +0000 (08:55 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 15 Jan 2013 06:42:17 +0000 (15:42 +0900)
commit4f340333822de79b3439bddccdbf3846f9794e42
tree03ef9d0ad533f531dce5ba38e79d3cb8ecb936b2
parent92a49871b378b1e523a95da569cd38efdd06eee5
extcon: arizona: Enable basic headphone identification

Use the headphone detection to identify if the accessory is a headphone or
line load. There are two different revisions of the IP with different
register layouts, support both.

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
drivers/mfd/wm5102-tables.c
include/linux/mfd/arizona/registers.h