git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62b693
)
twl4030_usb: export status of id pin via sysfs
author
Andreas Kemnade
<andreas@kemnade.info>
Fri, 30 Mar 2012 08:35:02 +0000
(10:35 +0200)
committer
Grazvydas 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