| d3b04da0 | 22-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Add optional DM VBUS regulator support
Add DM regulator support for toggling VBUS, this is useful on boards which control the VBUS e.g. through GPIO.
Change-Id: I0f6e296d34
UPSTREAM: usb: r8a66597: Add optional DM VBUS regulator support
Add DM regulator support for toggling VBUS, this is useful on boards which control the VBUS e.g. through GPIO.
Change-Id: I0f6e296d34613ada8d7e96a8ec86a4288614822c Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 769a9cd4bbd7ae9b8170b3dd6ba54b84fde59224)
show more ...
|
| 22941b48 | 11-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Checkpatch cleanup
Fix remaining checkpatch complaints in the driver.
Change-Id: Ic58362d2e4a9a6a560ceb5c12fbfb502b814ad6f Signed-off-by: Marek Vasut <marek.vasut+renesas@g
UPSTREAM: usb: r8a66597: Checkpatch cleanup
Fix remaining checkpatch complaints in the driver.
Change-Id: Ic58362d2e4a9a6a560ceb5c12fbfb502b814ad6f Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 8b5483015496100b3f5a790a58cc3019815654e0)
show more ...
|
| deb45038 | 11-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Add Kconfig entry
Add missing Kconfig entry for the R8A66597 driver.
Change-Id: I8f476bc44995b1aaf296a3b9105e8e2d42876c20 Signed-off-by: Marek Vasut <marek.vasut+renesas@gm
UPSTREAM: usb: r8a66597: Add Kconfig entry
Add missing Kconfig entry for the R8A66597 driver.
Change-Id: I8f476bc44995b1aaf296a3b9105e8e2d42876c20 Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit a3d65651d9dd1b65722c21bf739d1e9978320a47)
show more ...
|
| 1e9a8859 | 11-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Convert to USB DM
Convert the R8A66597 USB driver to DM and add support for DT probing. Drop support for legacy non-DM and non-DT probing, since there are no platform using
UPSTREAM: usb: r8a66597: Convert to USB DM
Convert the R8A66597 USB driver to DM and add support for DT probing. Drop support for legacy non-DM and non-DT probing, since there are no platform using that.
Change-Id: Ic4a15ca6cdbea7782257b37683a62a971f4902bc Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 7f3858f90d01cca631d7c6b40301618af060acd7)
show more ...
|
| f6833e50 | 11-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Remove BE support
While the USB controller can work both in LE and BE modes, there is no user for the BE mode, so drop it. If there ever is a user for it, it can be easily r
UPSTREAM: usb: r8a66597: Remove BE support
While the USB controller can work both in LE and BE modes, there is no user for the BE mode, so drop it. If there ever is a user for it, it can be easily re-added back.
Change-Id: Icbafe9f751113a669c5322af618bcc27bf20ac75 Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 81644e01c02967edd3da7eb6c776478a34fa7370)
show more ...
|
| 1dc8df6a | 11-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Replace IO accessors
Replace in{bwl}()/out{bwl}() IO accessors with read{bwl}()/write{bwl}(), to make the driver compile both on SH and ARM.
Change-Id: I5fc72a93b162d7473a3
UPSTREAM: usb: r8a66597: Replace IO accessors
Replace in{bwl}()/out{bwl}() IO accessors with read{bwl}()/write{bwl}(), to make the driver compile both on SH and ARM.
Change-Id: I5fc72a93b162d7473a3717a07bfdcd88fe455ec5 Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 4c9a135715ad80ec10a9e642d35e3bbf1535fe56)
show more ...
|
| 7a9643b1 | 11-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Make CONFIG_RZA_USB default
No other platforms use this r8a66597 controller but RZ/A1, make RZ/A1 support the default and drop all the other SoC support to remove ifdeffery.
UPSTREAM: usb: r8a66597: Make CONFIG_RZA_USB default
No other platforms use this r8a66597 controller but RZ/A1, make RZ/A1 support the default and drop all the other SoC support to remove ifdeffery.
Change-Id: I15bd3497d23c34c6cd43c849f09ec3904ec898da Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 3ff134b7f1c06f8482ef8ab296d5a89743d219db)
show more ...
|
| 5899aea6 | 11-Aug-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: r8a66597: Remove CONFIG_SUPERH_ON_CHIP_R8A66597
Remove CONFIG_SUPERH_ON_CHIP_R8A66597 macro, which is unused.
Change-Id: I27a8ff1b6487ebc2db6ce50fa2b034030e84f156 Signed-off-by: Mare
UPSTREAM: usb: r8a66597: Remove CONFIG_SUPERH_ON_CHIP_R8A66597
Remove CONFIG_SUPERH_ON_CHIP_R8A66597 macro, which is unused.
Change-Id: I27a8ff1b6487ebc2db6ce50fa2b034030e84f156 Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 0b80f212824f632f1acb0d74fd932c05a0262fc3)
show more ...
|
| 384b75a5 | 16-Jul-2019 |
Heiko Schocher <hs@denx.de> |
UPSTREAM: usb, ohci, pci: add DM support for PCI-based OHCI USB controller
add new DM based PCI driver ohci-pci for PCI-based OHCI USB support.
Change-Id: Ie3cb7e552e48eb100cdfc2f7807136297b5563cb
UPSTREAM: usb, ohci, pci: add DM support for PCI-based OHCI USB controller
add new DM based PCI driver ohci-pci for PCI-based OHCI USB support.
Change-Id: Ie3cb7e552e48eb100cdfc2f7807136297b5563cb Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 991e66017ccd79cf4b89a729433a9606a771bd2b)
show more ...
|
| 53764d8f | 16-Jul-2019 |
Heiko Schocher <hs@denx.de> |
UPSTREAM: usb, ohci: add warning if none on pci found
Change-Id: I7e7a39a7d3ff257381a63a6bc07f86d1fa16a159 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips
UPSTREAM: usb, ohci: add warning if none on pci found
Change-Id: I7e7a39a7d3ff257381a63a6bc07f86d1fa16a159 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit f9c7fecbeb938d9a17e31bf7c8766190752790ae)
show more ...
|
| 55f7a84e | 16-Jul-2019 |
Heiko Schocher <hs@denx.de> |
UPSTREAM: usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI
set OHCI_USE_NPS if DM_PCI is enabled.
Change-Id: I75001b7d3c9efdcd448d089ee0e99019a35d9d31 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off
UPSTREAM: usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI
set OHCI_USE_NPS if DM_PCI is enabled.
Change-Id: I75001b7d3c9efdcd448d089ee0e99019a35d9d31 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit dc4e48d845d9971d2b21f99c12f874dd06cedc0a)
show more ...
|
| 27242ba8 | 16-Jul-2019 |
Heiko Schocher <hs@denx.de> |
UPSTREAM: usb, ohci: fix ohci swap register access
commit 57faca19a82f ("drivers: USB: OHCI: allow compilation for 64-bit targets") broke ohci support for the mpc85xx based socrates board, as it rem
UPSTREAM: usb, ohci: fix ohci swap register access
commit 57faca19a82f ("drivers: USB: OHCI: allow compilation for 64-bit targets") broke ohci support for the mpc85xx based socrates board, as it removed volatile keyword from ohci_readl/writel.
Fix this so usb works again on socrates board.
Change-Id: I558791c276aa1641dd735b825ba93f8da8ed0830 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit a5a7486e62b0aa4afa1fe1a3b30f7dd682eb1ff8)
show more ...
|
| da2bd437 | 16-Jul-2019 |
Heiko Schocher <hs@denx.de> |
UPSTREAM: usb, ohci-hdc: fix warning 'ohci_pci_ids' defined but not used
var ohci_pci_ids is only used if DM_USB is not enabled. So define this varaible only if !CONFIG_IS_ENABLED(DM_USB)
Change-Id
UPSTREAM: usb, ohci-hdc: fix warning 'ohci_pci_ids' defined but not used
var ohci_pci_ids is only used if DM_USB is not enabled. So define this varaible only if !CONFIG_IS_ENABLED(DM_USB)
Change-Id: I2da8e2b51cd2f225e7b452bf5bb0179a2d1e4ee4 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit b005d7d5f96539450e50450f12491913e135c2a9)
show more ...
|
| e16bd00f | 30-Jun-2019 |
Mark Kettenis <kettenis@openbsd.org> |
UPSTREAM: usb: xhci-dwc3: Add USB2 PHY configuration
Configure USB2 PHY register based on "phy_type" property and handle all the quirks that are relevant for Rockchip RK3399 SoCs.
Change-Id: Idac50
UPSTREAM: usb: xhci-dwc3: Add USB2 PHY configuration
Configure USB2 PHY register based on "phy_type" property and handle all the quirks that are relevant for Rockchip RK3399 SoCs.
Change-Id: Idac50a031e8e924712fef8ad61a622f8e85f3e86 Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 062790f461312f1b954ae876f85da8f6ce5fcc73)
show more ...
|
| 920516c8 | 24-Jun-2019 |
Marek Vasut <marex@denx.de> |
UPSTREAM: usb: ehci-mx6: Fix bus enumeration for DM case
The EHCI iMX6 driver is only partly converted to DT probing and still uses a tremendous amount of hard-coded addresses. Worse, the driver use
UPSTREAM: usb: ehci-mx6: Fix bus enumeration for DM case
The EHCI iMX6 driver is only partly converted to DT probing and still uses a tremendous amount of hard-coded addresses. Worse, the driver uses hard-coded SoC-model-specific base addresses, which are derived from values protected by SoC-specific macros, hence the driver is also compiled for a specific SoC model. Even worse, the driver depends on specific sequential indexing of the controllers, from which it derives offsets in the PHY and ANATOP register sets.
However, when the driver is probed from DT, the indexing is not correct. In fact, each controller has index 0. This patch derives the index for DT probing case from the controller base addresses, which is not the way this should be done, however it is the least intrusive approach, favorable this close to release.
The necessary steps to convert this driver fully to DT probing are described inside the patch, however this should be done in the next release and depends on iMX clock driver patches.
Change-Id: I81cef54d5e6f1bab2aef407ad053b5af3cd4e94f Signed-off-by: Marek Vasut <marex@denx.de> Cc: Abel Vesa <abel.vesa@nxp.com> Cc: Adam Ford <aford173@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Ludwig Zenz <lzenz@dh-electronics.com> Cc: Lukasz Majewski <lukma@denx.de> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Vagrant Cascadian <vagrant@debian.org> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 501547cec1f7f0438cae388a104ff60f18576c01)
show more ...
|
| 7472a52f | 11-Apr-2019 |
Yinbo Zhu <yinbo.zhu@nxp.com> |
UPSTREAM: usb: ehci: adopt 32 bit address for CONFIG_PPC
adopt 32 bit addr in fsl_esdhc for CONFIG_PPC. So adopt 32 bit address for CONFIG_PPC.
Change-Id: Ibb69849ed19fa18f494807020f9a6a911692b1aa
UPSTREAM: usb: ehci: adopt 32 bit address for CONFIG_PPC
adopt 32 bit addr in fsl_esdhc for CONFIG_PPC. So adopt 32 bit address for CONFIG_PPC.
Change-Id: Ibb69849ed19fa18f494807020f9a6a911692b1aa Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit ad9f2be3348c088e7839fd3598db3b352060bff1)
show more ...
|
| 0620c8ad | 07-May-2019 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: usb: ohci: ohci-da8xx: Cleanup Error handling and fix flags
Per feedback from Marek, he suggested better handling and to enable DM_FLAG_OS_PREPARE, this patch re-orders some of the error c
UPSTREAM: usb: ohci: ohci-da8xx: Cleanup Error handling and fix flags
Per feedback from Marek, he suggested better handling and to enable DM_FLAG_OS_PREPARE, this patch re-orders some of the error checking, and errors returns the error code right away and also sets DM_FLAG_OS_PREPARE.
Change-Id: I639a5e4f6d5c89a18e722db2601cf18acb96cbb3 Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 3a90b50a32b6b8a2d66dc10c19e3c15d5bd1a092)
show more ...
|
| dff9f0f7 | 30-Apr-2019 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: usb: ohci: ohci-da8xx: Enable da850-ohci driver with DM support
This patch reuses some former code for the hawkboard, combines it with some some similar DM_USB compatible code for the OHCI
UPSTREAM: usb: ohci: ohci-da8xx: Enable da850-ohci driver with DM support
This patch reuses some former code for the hawkboard, combines it with some some similar DM_USB compatible code for the OHCI driver, and enables the use of the da850's OHCI controller with DM_USB compatibility.
Change-Id: I86a1fdf6bf2163deae6b6f8c09fcb0ea53b73067 Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 9da5474389c784474274d8e1d1d04fab924d3c39)
show more ...
|
| 200d235e | 28-Apr-2019 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: usb: ohci: Re-enable commented out delay
There is a delay function that was commented out. This patch re-enables it, because it will be needed for da850 ohci support.
Change-Id: Ibfbe284
UPSTREAM: usb: ohci: Re-enable commented out delay
There is a delay function that was commented out. This patch re-enables it, because it will be needed for da850 ohci support.
Change-Id: Ibfbe2844807ac13501cc17a297c724791e1eac52 Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit e0b0af666a81f166397e3aebd26e9401ae48c97d)
show more ...
|
| 0163d8d8 | 04-Apr-2019 |
Lukasz Majewski <lukma@denx.de> |
UPSTREAM: USB: DM: Convert i.MX5 ehci code to driver model
This commit converts i.MX5's EHCI USB host driver to driver model (DM_USB). It is a straightforward conversion (to reuse as much code as po
UPSTREAM: USB: DM: Convert i.MX5 ehci code to driver model
This commit converts i.MX5's EHCI USB host driver to driver model (DM_USB). It is a straightforward conversion (to reuse as much code as possible), based on ehci-mx6.c code.
Change-Id: I14727c670f5ecf78f2caaab56f04d8be578a91fb Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 22988766da6fe200b6947b8181ddbde663643248)
show more ...
|
| 25220053 | 25-Mar-2019 |
Marcel Ziswiler <marcel.ziswiler@toradex.com> |
UPSTREAM: configs: move CONFIG_USB_EHCI_VF to Kconfig
Move CONFIG_USB_EHCI_VF to drivers/usb/host/Kconfig and update the one and only user thereof being colibri_vf.
Change-Id: I69228893cb776f077e68
UPSTREAM: configs: move CONFIG_USB_EHCI_VF to Kconfig
Move CONFIG_USB_EHCI_VF to drivers/usb/host/Kconfig and update the one and only user thereof being colibri_vf.
Change-Id: I69228893cb776f077e68a80ee236aeed6e7c2d26 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 20df4b570d164675da17bf23998e51271f5a79a3)
show more ...
|
| 0457b2cd | 03-Apr-2019 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: usb: ehci-mx6: Use common code to extract dr_mode
There exists code in drivers/common/common.c to read the dr_mode from the device tree. This patch converts this driver to use that functi
UPSTREAM: usb: ehci-mx6: Use common code to extract dr_mode
There exists code in drivers/common/common.c to read the dr_mode from the device tree. This patch converts this driver to use that function to initialize the driver.
Change-Id: Id4cc8e5a61f63bef9813e83b4183253caccedd1a Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 69535b33bc1fce43dcc10b646cf44db81cffa131)
show more ...
|
| 79e8eddf | 19-Mar-2019 |
Ismael Luceno Cortes <ismael.luceno@silicon-gears.com> |
UPSTREAM: usb: host: Print device name when scanning
Drop the counter, it has no meaning other than being the order in which the interface is found; the name assigned to the USB host controller inte
UPSTREAM: usb: host: Print device name when scanning
Drop the counter, it has no meaning other than being the order in which the interface is found; the name assigned to the USB host controller interface is a better indicator.
Example of the original output: > USB0: USB EHCI 1.10 > scanning bus 0 for devices... 2 USB Device(s) found > scanning usb for storage devices... 1 Storage Device(s) found
Patched output: > Bus usb@ee080100: USB EHCI 1.10 > scanning bus usb@ee080100 for devices... 2 USB Device(s) found > scanning usb for storage devices... 1 Storage Device(s) found
Change-Id: I4d009cd00a03018c4fec2f9ba573e35010f6328f Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 89aea23abb971fa89b7a96c02024b63d0b918a78)
show more ...
|
| 8a4a81a1 | 01-Feb-2019 |
Abel Vesa <abel.vesa@nxp.com> |
UPSTREAM: usb: ehci-mx6: Make regulator DM_REGULATOR dependent
Do the regulator related work only if the build has the DM_REGULATOR.
Change-Id: If11178f890f6084633565fd6d36bfb6f3834293c Signed-off-
UPSTREAM: usb: ehci-mx6: Make regulator DM_REGULATOR dependent
Do the regulator related work only if the build has the DM_REGULATOR.
Change-Id: If11178f890f6084633565fd6d36bfb6f3834293c Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 921208ebca6f109990359b3089b5f416b269b07b)
show more ...
|
| 6baf2cc3 | 10-Jul-2018 |
Jagan Teki <jagan@amarulasolutions.com> |
UPSTREAM: usb: host: Drop [e-o]hci-sunxi drivers
Now Allwinner platform is all set to use Generic USB controller drivers, so remove the legacy sunxi drivers.
Conflicts: drivers/usb/host/ehci-sunxi
UPSTREAM: usb: host: Drop [e-o]hci-sunxi drivers
Now Allwinner platform is all set to use Generic USB controller drivers, so remove the legacy sunxi drivers.
Conflicts: drivers/usb/host/ehci-sunxi.c drivers/usb/host/ohci-sunxi.c scripts/config_whitelist.txt
Change-Id: I68dec1660d92dce8833d5a05584694d7b7c4ab36 Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> (cherry picked from commit 543049ab590620a91b37fa0296edd3bcddd0eba2)
show more ...
|