Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2175c1e8 authored by Badhri Jagan Sridharan's avatar Badhri Jagan Sridharan Committed by Ashay Jaiswal
Browse files

usb: phy: Dual role sysfs class definition

This CL adds a new class to monitor and change
dual role usb ports from userspace. The usb
phy drivers can register to the dual_role_usb
class and expose the capabilities of the ports.
The phy drivers can decide on whether a specific
attribute can be changed from userspace by
choosing to implement the appropriate callback.

Cherry-picked from
https://android-review.googlesource.com/#/c/167310/



Bug: 21615151
Signed-off-by: default avatarBadhri Jagan Sridharan <badhri@google.com>
Git-commit: f3061b9d608ce2314f24088281131ebadafa3985
Git-repo: https://android.googlesource.com/kernel/common/



Change-Id: Id1c4aaa97e898264d7006381a7badd029b5d9789
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent fb8a39c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment