summaryrefslogtreecommitdiff
path: root/drivers/fpga/lattice-sysconfig-spi.c
diff options
context:
space:
mode:
authorUday M Bhat <uday.m.bhat@intel.com>2023-09-06 12:57:17 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-02 13:54:42 +0200
commit8929f62f1d7a45d109cd747cdeb60f3eae1c0717 (patch)
tree9ebaa38a476821167c0d34df90d822b15a33ae43 /drivers/fpga/lattice-sysconfig-spi.c
parent2f07592c30e1db498fe198a80e9d36f9d7cce441 (diff)
downloadlinux-8929f62f1d7a45d109cd747cdeb60f3eae1c0717.tar.gz
linux-8929f62f1d7a45d109cd747cdeb60f3eae1c0717.tar.bz2
linux-8929f62f1d7a45d109cd747cdeb60f3eae1c0717.zip
usb: typec: intel_pmc_mux: enable sysfs usb role access
The OS, such as ChromeOS, uses Android Runtime to run Android applications. This necessitates supporting tools, for example, Android Debugger (ADB). On host to host setup xHC.DbC shall support ADB with USB. This requires user space to control USB roles. Enable user space control to modify the USB Type-C role. At run time it will create a role attribute in /sys/class/usb_role/<switch>/. Attribute can be modified based on the values suggested in the Documentation/ABI/testing/sysfs-class-usb_role. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Uday M Bhat <uday.m.bhat@intel.com> Link: https://lore.kernel.org/r/20230906072717.32485-1-uday.m.bhat@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/lattice-sysconfig-spi.c')
0 files changed, 0 insertions, 0 deletions