Skip to content

davinci: ohci: fix usb ohci device name

Axel Haslam linux-arm-kernel lkml 2 versions – Applied

Status from this message: merged, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesApplied
  2. v13 patches 11 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3ARM: davinci: da8xx: Fix ohci device namearch/arm/mach-davinci/da830.c arch/arm/mach-davinci/da850.c arch/arm/mach-davinci/da8xx-dt.c +1 more+5 -51 reply
2/3phy: da8xx-usb: rename the ohci device to ohci-da8xxdrivers/phy/phy-da8xx-usb.c+3 -21 reply
3/3usb: ohci-da8xx: rename driver to ohci-da8xxdrivers/usb/host/ohci-da8xx.c+1 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] davinci: ohci: fix usb ohci device name

The usb ohci clock match is not working because the usb clock is registered as "ohci" instead of "ohci.0"

But since there is only a single ohci instance, lets pass -1 to the platform data id parameter and avoid the extra ".0" matching.

while we are fixing this, rename the driver from "ohci" to "ohci-da8xx" which is less generic and consistent with other usb drivers.

changes form v1 -> v2
*Reword commit messages (David Lechner)

Because of the recently accepted patches on the ARM-davinci side, This patch series is based on:
branch: /v4.10/soc of the linux-davinci tree.

It Depends on two accepted usb patches missing on that branch:
6c21caa USB: OHCI: make ohci-da8xx a separate driver (in next-usb) 6110c42 usb: ohci-da8xx: Remove code that references mach (in linux-next)

A branch with both patches applied + this series can be found here:
https://github.com/axelhaslamx/linux-axel/commits/ti-davinci-ohci-rename

Axel Haslam (3):
ARM: davinci: da8xx: Fix ohci device name
phy: da8xx-usb: rename the ohci device to ohci-da8xx
usb: ohci-da8xx: rename driver to ohci-da8xx

 arch/arm/mach-davinci/da830.c     | 2 +-
 arch/arm/mach-davinci/da850.c     | 2 +-
 arch/arm/mach-davinci/da8xx-dt.c  | 2 +-
 arch/arm/mach-davinci/usb-da8xx.c | 4 ++--
 drivers/phy/phy-da8xx-usb.c       | 5 +++--
 drivers/usb/host/ohci-da8xx.c     | 2 +-
 6 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
2.10.1