| dd22bace | 28-Jun-2017 |
Meng Dongyang <daniel.meng@rock-chips.com> |
usb: dwc2: use dev_read_bool() instead of fdt_getprop()
Use dev_read_bool() instead of fdt_getprop() to get the property from DTS. And add a comment for "hnp-srp-disable" property to fully describe
usb: dwc2: use dev_read_bool() instead of fdt_getprop()
Use dev_read_bool() instead of fdt_getprop() to get the property from DTS. And add a comment for "hnp-srp-disable" property to fully describe its effect.
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| 26a8b80f | 28-Jun-2017 |
Meng Dongyang <daniel.meng@rock-chips.com> |
usb: host: xhci-rockchip: use fixed regulator to control vbus
Use fixed regulator to control the voltage of vbus. Enable vbus supply when usb start and disable vbus supply when usb stop.
Signed-off
usb: host: xhci-rockchip: use fixed regulator to control vbus
Use fixed regulator to control the voltage of vbus. Enable vbus supply when usb start and disable vbus supply when usb stop.
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| 9000eddb | 05-Jun-2017 |
Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
drivers/usb/ehci: Use platform-specific accessors
Current implementation doesn't allow utilization of platform-specific reads and writes.
But some arches or platforms may want to use their accessor
drivers/usb/ehci: Use platform-specific accessors
Current implementation doesn't allow utilization of platform-specific reads and writes.
But some arches or platforms may want to use their accessors that do some extra work like adding barriers for data serialization etc.
Interesting enough OHCI accessors already do that so just aligning EHCI to it now.
This is a resend of http://patchwork.ozlabs.org/patch/726714/ Back in the day this patch broke some PPC and Sandbox boards as they we missing inclusion of "asm/io.h". Those missing items were fixed with: 1) http://patchwork.ozlabs.org/patch/751397/ 2) http://patchwork.ozlabs.org/patch/771099/
So now it should be safe to apply this patch. FWIW TravisCI builds everything with all 3 patches in place, see https://travis-ci.org/abrodkin/u-boot/builds/239563813
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Simon Glass <sjg@chromium.org> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|
| c65a3494 | 08-Jun-2017 |
Meng Dongyang <daniel.meng@rock-chips.com> |
usb: dwc2: force to host mode if not support HNP/SRP
In current code, after running the command of "usb start", the controller will keep in otg mode and can't switch to host mode if not support SNP/
usb: dwc2: force to host mode if not support HNP/SRP
In current code, after running the command of "usb start", the controller will keep in otg mode and can't switch to host mode if not support SNP/SRP capability. So add the property of "hnp-srp-disable" in the DTS to config the contrller work in force mode of host.
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
show more ...
|