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:
Elson Roy Serrao <eserrao@codeaurora.org>
Loading
Please register or sign in to comment