extcon: port: Add DT support
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 10 Jul 2014 10:54:39 +0000 (19:54 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:14 +0000 (12:00 +0900)
commitcd52837b4185d97e871a693f06abb75e3ea2dff7
tree1338ba716d6c8a9f89e88f375173e45cb816124b
parent35388d756ea63aca70382c32873d29ead5754a34
extcon: port: Add DT support

Add Device Tree support for extcon-port driver. Parse from DTS:
- name of MUIC/Jack/HDMI devices;
- port online properties;

This allows removal from extcon-port hard-coded MUIC driver names
(max14577, max77836).

Additionally a sysfs symlink is created to /sys/devices/platform/jack
for supporting platform requirements.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-port.c