extcon: max77843: control the JIG pin by Auto detection 98/126198/3 accepted/tizen/unified/20170421.042254 submit/tizen/20170421.012531 tizen_4.0.m1_release
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 20 Apr 2017 10:53:25 +0000 (19:53 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 21 Apr 2017 00:31:45 +0000 (17:31 -0700)
commit30f8f2991aa0c3119cc5d6b6b1b5e3fc0dcc2946
tree3bac902c32c2d97c3990393ee1cf7ee82e051d53
parent3f1b732f023533f90c4088fa1c4ec99d0b35d9ea
extcon: max77843: control the JIG pin by Auto detection

Control the JIG pin by Auto dection.

Coontrol3 register has JIGset[1:0].
00: JIG pin controlled by Auto detection
01: JIG pin Output Low
10 to 11 : JIG pin Hi-Impedance

This patch is for fixing 'poweroff" issue.
- Download the some image
- After downloading the image, rebooting target.
- Press the poweroff, it runs 'reboot' instead of 'poweroff'

Change-Id: Ie17a46f79f2b4da6bbffc7d57feaddc7524b3524
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/extcon/extcon-max77843.c