twl4030_usb: export status of id pin via sysfs
authorAndreas Kemnade <andreas@kemnade.info>
Fri, 30 Mar 2012 08:35:02 +0000 (10:35 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 2 Mar 2013 20:11:56 +0000 (22:11 +0200)
A file in sysfs is created:
/sys/bus/platform/devices/twl4030_usb/id
it shows 440k, 200k, 102k, floating or GND.

If none of the corresponding bits are set, unknown is shown.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found