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

Skip to content
Commit 70213109 authored by Elson Roy Serrao's avatar Elson Roy Serrao
Browse files

usb: dwc3-msm: Add orientation setting capablity via sysfs



For SuperSpeed electrical compliance testing it is required
to configure the port in host mode prior to connecting the
Type-C fixture. However host mode in unplugged scenario always
assumes lane A orientation. Add a sysfs entry to configure
the orientation as per the requirement.

Lane can be configured using below commands.
Lane A:echo A  > /sys/bus/platform/devices/a600000.ssusb/orientation
Lane B:echo B  > /sys/bus/platform/devices/a600000.ssusb/orientation
Any other value will reset the orientation setting to default
behavior.

Change-Id: I736119f642204272d291c63ad19322bf043c3923
Signed-off-by: default avatarElson Roy Serrao <eserrao@codeaurora.org>
parent 3a9eb4f4
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