linux-stable/include/linux/bcma
Rafał Miłecki d6b76c4ddb USB: bcma: support old USB 2.0 controller on Northstar devices
Currently bcma-hcd driver handles 3 different bcma cores:
1) BCMA_CORE_USB20_HOST (0x819)
2) BCMA_CORE_NS_USB20 (0x504)
3) BCMA_CORE_NS_USB30 (0x505)

The first one was introduced years ago and so far was used on MIPS
devices only. All Northstar (ARM) devices were using other two cores
which allowed easy implementation of separated initialization paths.

It seems however Broadcom decided to reuse this old USB 2.0 controller
on some recently introduced cheaper Northstar BCM53573 SoCs. I noticed
this on Tenda AC9 (based on BCM47189B0 belonging to BCM53573 family).

There is no difference in this old controller core identification
between MIPS and ARM devices: they share the same id and revision. We
need different controller initialization procedure however.
To handle this add a check for architecture and implement required
initialization for ARM case.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-15 16:25:59 +02:00
..
bcma.h x86/quirks: Add early quirk to reset Apple AirPort card 2016-07-10 20:13:53 +02:00
bcma_driver_arm_c9.h phy: bcm-ns-usb2: new driver for USB 2.0 PHY on Northstar 2016-04-30 20:12:28 +05:30
bcma_driver_chipcommon.h bcma: define ChipCommon B MII registers 2016-07-19 21:13:10 +03:00
bcma_driver_gmac_cmn.h bcma: move internal function declarations to private header 2015-03-05 14:11:43 +02:00
bcma_driver_mips.h bcma: move internal function declarations to private header 2015-03-05 14:11:43 +02:00
bcma_driver_pci.h bcma: make calls to PCI hostmode functions config-safe 2015-06-08 14:33:26 +03:00
bcma_driver_pcie2.h bcma: move internal function declarations to private header 2015-03-05 14:11:43 +02:00
bcma_regs.h USB: bcma: support old USB 2.0 controller on Northstar devices 2016-08-15 16:25:59 +02:00
bcma_soc.h bcma: use standard bus scanning during early register 2015-01-23 21:47:55 +02:00