[PATCH V2 0/7] USB: UHCI: Add support for non-PCI GRUSBHC HC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This series adds support for the GRUSBHC UHCI host controller found on some
LEON/GRLIB SoCs. Patches 1 - 6 convert the UHCI HCD to be able to support
non-PCI host controllers and patch 7 adds bus glue for the non-PCI HC.

I have tried to make the steps easy to follow by first partitioning parts that
depend on PCI and then moving these parts to uhci-pci.c. After that some
checkpatch warnings on the existing code are fixed. The fifth patch wraps the
register access calls, the sixth patch performs the last preparations in order
to support non-PCI HCs and the last patch adds glue for the first non-PCI HC.

Each patch is compile tested. Tests have been run on x86 (with Intel 82801EB/ER
(ICH5/ICH5R) USB UHCI Controller #4 (rev 02)) and LEON/SPARC32 with the full
series applied.

Patches are against usb-next

Changes for V2 (specific changes also included in comments for each patch):
* Updated description above
* Patch 1:
** Change comment in uhci_init regarding HP delay
** Make get 'struct pci_dev' identical in both quirk if:s
* Patch 2:
** Make uhci_pci_reset_hc static
** Assume that reset_hc and check_and_reset_hc pointers will be set. Remove
   checks.
* Patch 3:
** make uhci_pci_reset_hc static
** assume that pointer to reset_hc is always set, remove check.
** Place port-detection logic in a function in uhci-hcd.c as it will
   be common to all platforms
* Patch 4:
** Squash patches 4/5 into patch 4
** Don't fix false checkpatch positive
* Patch 5
** Was previously patch 6
* Patch 6
** New preliminary patch adding the last bits required to support non-PCI
   host controllers.
* Patch 7
** Addition of __iomem pointer moved to patch 6
** Use generic hc reset functions in uhci-hcd.c
** Do not add default n as last line to new option in Kconfig
** Use generic port-detection function now present in uhci-hcd.c

Best regards,
  Jan

 drivers/usb/host/Kconfig      |   10 +-
 drivers/usb/host/uhci-debug.c |   17 +-
 drivers/usb/host/uhci-grlib.c |  194 ++++++++++++++++++
 drivers/usb/host/uhci-hcd.c   |  434 ++++++++++++++++-------------------------
 drivers/usb/host/uhci-hcd.h   |  109 ++++++++++
 drivers/usb/host/uhci-hub.c   |   41 ++--
 drivers/usb/host/uhci-pci.c   |  316 ++++++++++++++++++++++++++++++
 7 files changed, 823 insertions(+), 298 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux