commit | 7a644df74bd8e22fa0a912dac75cf73837ef5387 | [log] [tgz] |
---|---|---|
author | Michael Hoang <hoangm@google.com> | Fri Dec 14 10:00:25 2018 -0800 |
committer | Alex Van Damme <atv@google.com> | Tue Jun 25 16:50:22 2019 -0700 |
tree | 1ae84a54b936fc12678bdba56801b5a918ee00df | |
parent | 937c07c36f15213d216e3285ffcf5c43a1d0baa6 [diff] |
Expose Type-C OTG port to sysfs - Add ability to dynamically change between host and peripheral modes - Since port does not support PDO, do not add ability to select [source|sink] for power_role Tested: - "echo [host|device] > /sys/class/typec/port0/data_role" Change-Id: I14e6b8b1e893aaae417c3c9c908e368f8e76f962