Alexander Shishkin 5f36e231e9 usb: chipidea: add support for roles
Add some generic code for roles and implement simple role switching
based on ID pin state and/or a sysfs file. At this, we also rename
the device to ci_hdrc, which is what it is.

The "manual" switch is made into a sysfs file and not debugfs, because
it might be useful even in non-debug context. For some boards, like
sheevaplug, it seems to be the only way to switch roles without modifying
the hardware, since the ID pin is always grounded.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-11 16:52:10 -07:00
..
2012-05-03 17:16:52 -07:00
2012-05-07 09:03:39 -07:00
2012-04-20 11:31:00 -07:00
2012-04-12 15:36:33 -07:00
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-04-27 10:46:45 +08:00
2012-05-01 21:32:55 -07:00
2012-05-07 09:03:39 -07:00
2012-04-12 15:36:33 -07:00
2012-05-07 09:03:39 -07:00
2012-03-30 00:09:17 -07:00
2012-05-02 13:47:49 -07:00
2012-05-11 16:52:10 -07:00
2012-04-18 13:15:51 -07:00
2012-05-07 09:03:39 -07:00