extcon: sm5502: Change internal hardware switch according to cable type
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 28 May 2014 06:35:29 +0000 (15:35 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 23 Jul 2014 01:22:35 +0000 (10:22 +0900)
commita75fed2ee6c187ab32b1cb01882c1032c4c9e4a8
tree706b108a592f8d109329e44a22fe54cfed1ce9c8
parente1954452f500cb21c09ea401f6f431ab55b35ba3
extcon: sm5502: Change internal hardware switch according to cable type

This patch changes internal hardware DP_CON/DM_CON switch according to
cable type. The SM5502 MUIC device can set hardware switch as following:
- OPEN (not connected state) / USB / UART / AUDIO
Also, this patch set VBUSIN switch according to cable type.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-sm5502.c
include/linux/extcon/sm5502.h