commit | bab3548078237706f53baafe43ae58257225549d | [log] [tgz] |
---|---|---|
author | Badhri Jagan Sridharan <badhri@google.com> | Tue May 30 12:39:53 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 03 18:02:58 2017 +0900 |
tree | 4fc0dc90f6eb3393885c0bae536502ca0c29bac1 | |
parent | 7ee4ce6e933fbb2e5db2c39977b847704589575e [diff] |
usb: typec: Add a sysfs node to manage port type User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port type is not supported. Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>