diff options
| author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 18:25:47 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-12 03:52:10 +0400 |
| commit | 5f36e231e9dbffb5264612e5b5817ab574a5e5db (patch) | |
| tree | a71027cded532334d3d51cbf737925240d34e7df /include/linux/debugobjects.h | |
| parent | e443b333629f82ca0da91a05ca638050943bbedd (diff) | |
| download | linux-5f36e231e9dbffb5264612e5b5817ab574a5e5db.tar.xz | |
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
