diff options
author | Stephen Boyd <stephen.boyd at linaro.org> | 2018-02-26 19:42:23 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2019-01-11 21:17:01 +0530 |
commit | 39424ea0cc846974a2395e267797fc05d9ac1ead (patch) | |
tree | edced52aeafb45ed03866d716c6a5ab64218f07c /arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | |
parent | fb5d56f082381c202915e2d4732e4bffe71afec0 (diff) |
RFC: db410c: usb: chipidea: Hook into mux framework to toggle usb switch
On the db410c 96boards platform we have a TC7USB40MU on the board
to mux the D+/D- lines coming from the controller between a micro
usb "device" port and a USB hub for "host" roles[1]. During a
role switch, we need to toggle this mux to forward the D+/D-
lines to either the port or the hub. Add the necessary code to do
the role switch in chipidea core via the generic mux framework.
Board configurations like on db410c are expected to change roles
via the sysfs API described in
Documentation/ABI/testing/sysfs-platform-chipidea-usb2.
[1] https://github.com/96boards/documentation/raw/master/ConsumerEdition/DragonBoard-410c/HardwareDocs/Schematics_DragonBoard.pdf
Signed-off-by: Stephen Boyd <stephen.boyd at linaro.org>
Signed-off-by: Yossi Mansharoff <yossim at codeaurora.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi')
0 files changed, 0 insertions, 0 deletions