commit | a932a8041ff9941a244619555f1c75ecf299f662 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@nxp.com> | Mon Mar 27 10:54:27 2017 +0800 |
committer | Peter Chen <peter.chen@nxp.com> | Fri Apr 14 09:26:37 2017 +0800 |
tree | 327a92c46c42a92c000557389777540fdad74737 | |
parent | 4f4555cfe704913ce4ce836ab2707825d784a7cc [diff] |
usb: chipidea: core: add sysfs group Sometimes, the user needs to adjust some properties for controllers, eg the role for controller, we add sysfs group for them. The attribute 'role' is used to switch host/gadget role dynamically, the uewr can read the current role, and write the other role compare to current one to finish the switch. Signed-off-by: Peter Chen <peter.chen@nxp.com>