[PATCH V4 0/5] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's

2018-11-09 Thread Al Cooper
d in Broadcom STB SoC's. These drivers depend on getting access to the new Broadcom STB USB PHY driver through a device-tree phandle and will fail if the driver is not available. Al Cooper (5): dt-bindings: Add Broadcom STB USB support usb: core: Add ability to skip phy exit on suspend and in

[PATCH V4 3/5] usb: xhci: xhci-plat: Add support for Broadcom STB SoC's

2018-11-09 Thread Al Cooper
Add support for Broadcom STB SoC's to the xhci platform driver Signed-off-by: Al Cooper --- drivers/usb/host/xhci-brcm.c | 16 drivers/usb/host/xhci-brcm.h | 16 drivers/usb/host/xhci-plat.c | 8 3 files changed, 40 insertions(+) create mode 1

[PATCH V4 1/5] dt-bindings: Add Broadcom STB USB support

2018-11-09 Thread Al Cooper
Add DT bindings for Broadcom STB USB EHCI and XHCI drivers. Add "phy-supplies-usb-clock" property description to usb-hcd.txt NOTE: The OHCI driver is not included because it uses the generic platform driver. Signed-off-by: Al Cooper --- .../devicetree/bindings/usb/brcm,bcm744

[PATCH V4 2/5] usb: core: Add ability to skip phy exit on suspend and init on resume

2018-11-09 Thread Al Cooper
hy-supplies-usb-clock". Signed-off-by: Al Cooper --- drivers/usb/core/hcd.c | 8 drivers/usb/core/phy.c | 28 drivers/usb/core/phy.h | 9 ++--- include/linux/usb/hcd.h | 6 ++ 4 files changed, 36 insertions(+), 15 deletions(-) diff --git a/d

[PATCH V4 4/5] usb: ehci: Add new EHCI driver for Broadcom STB SoC's

2018-11-09 Thread Al Cooper
Add a new EHCI driver for Broadcom STB SoC's. A new EHCI driver was created instead of adding support to the existing ehci platform driver because of the code required to workaround bugs in the EHCI controller. Signed-off-by: Al Cooper --- drivers/usb/host/ehci-brcm.c

[PATCH V4 5/5] usb: host: Add ability to build new Broadcom STB USB drivers

2018-11-09 Thread Al Cooper
MAINTAINERS. Signed-off-by: Al Cooper --- MAINTAINERS | 9 + arch/arm/configs/multi_v7_defconfig | 1 + arch/arm64/configs/defconfig| 1 + drivers/usb/host/Kconfig| 26 ++ drivers/usb/host/Makefile | 18

Re: [PATCH V3 4/6] usb: ohci-platform: Add support for Broadcom STB SoC's

2018-11-07 Thread Al Cooper
On 11/7/18 12:29 PM, Florian Fainelli wrote: On 11/7/18 8:27 AM, Alan Stern wrote: On Wed, 7 Nov 2018, Al Cooper wrote: On 11/7/18 10:23 AM, Alan Stern wrote: On Tue, 6 Nov 2018, Florian Fainelli wrote: On 11/6/18 1:40 PM, Al Cooper wrote: On 11/6/18 11:08 AM, Alan Stern wrote: On Mon, 5

Re: [PATCH V3 4/6] usb: ohci-platform: Add support for Broadcom STB SoC's

2018-11-07 Thread Al Cooper
On 11/7/18 10:23 AM, Alan Stern wrote: On Tue, 6 Nov 2018, Florian Fainelli wrote: On 11/6/18 1:40 PM, Al Cooper wrote: On 11/6/18 11:08 AM, Alan Stern wrote: On Mon, 5 Nov 2018, Al Cooper wrote: Add support for Broadcom STB SoC's to the ohci platform driver. Signed-off-by: Al C

Re: [PATCH V3 4/6] usb: ohci-platform: Add support for Broadcom STB SoC's

2018-11-06 Thread Al Cooper
On 11/6/18 11:08 AM, Alan Stern wrote: On Mon, 5 Nov 2018, Al Cooper wrote: Add support for Broadcom STB SoC's to the ohci platform driver. Signed-off-by: Al Cooper --- @@ -177,6 +189,8 @@ static int ohci_platform_probe(struct platform_device *dev) ohci-&

[PATCH V3 3/6] usb: xhci: xhci-plat: Add support for Broadcom STB SoC's

2018-11-05 Thread Al Cooper
Add support for Broadcom STB SoC's to the xhci platform driver Signed-off-by: Al Cooper --- drivers/usb/host/xhci-brcm.c | 17 + drivers/usb/host/xhci-brcm.h | 16 drivers/usb/host/xhci-plat.c | 8 3 files changed, 41 insertions(+) create mode 1

[PATCH V3 2/6] usb: core: Add ability to skip phy exit on suspend and init on resume

2018-11-05 Thread Al Cooper
Y to the point where register accesses to the Host Controllers using the PHY will be disabled and the host drivers will crash. This is enabled with the HCD flag "suspend_without_phy_exit" which can be set from any HCD driver. Signed-off-by: Al Cooper --- drivers/usb/core/hcd.c | 8

[PATCH V3 1/6] dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document

2018-11-05 Thread Al Cooper
Add DT bindings document for Broadcom STB USB OHCI, EHCI and XHCI drivers. Signed-off-by: Al Cooper --- .../devicetree/bindings/usb/brcm,bcm7445-ehci.txt | 22 + .../devicetree/bindings/usb/brcm,bcm7445-ohci.txt | 22 + .../devicetree/bindings/usb/brcm

[PATCH V3 0/6] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's

2018-11-05 Thread Al Cooper
evice-tree phandle and will fail if the driver is not available. Al Cooper (6): dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document usb: core: Add ability to skip phy exit on suspend and init on resume usb: xhci: xhci-plat: Add support for Broadcom STB SoC's usb: ohci-pla

[PATCH V3 5/6] usb: ehci: Add new EHCI driver for Broadcom STB SoC's

2018-11-05 Thread Al Cooper
Add a new EHCI driver for Broadcom STB SoC's. A new EHCI driver was created instead of adding support to the existing ehci platform driver because of the code required to workaround bugs in the EHCI controller. Signed-off-by: Al Cooper --- drivers/usb/host/ehci-brcm.c

[PATCH V3 4/6] usb: ohci-platform: Add support for Broadcom STB SoC's

2018-11-05 Thread Al Cooper
Add support for Broadcom STB SoC's to the ohci platform driver. Signed-off-by: Al Cooper --- drivers/usb/host/ohci-platform.c | 34 -- include/linux/usb/ohci_pdriver.h | 1 + 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host

[PATCH V3 6/6] usb: host: Add ability to build new Broadcom STB USB drivers

2018-11-05 Thread Al Cooper
MAINTAINERS. Signed-off-by: Al Cooper --- MAINTAINERS | 9 + drivers/usb/host/Kconfig | 29 + drivers/usb/host/Makefile | 18 -- 3 files changed, 50 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH V2 6/6] usb: host: Add ability to build new Broadcom STB USB drivers

2018-10-17 Thread Al Cooper
MAINTAINERS. Signed-off-by: Al Cooper --- MAINTAINERS | 9 + drivers/usb/host/Kconfig | 29 + drivers/usb/host/Makefile | 18 -- 3 files changed, 50 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH V2 1/6] dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document

2018-10-17 Thread Al Cooper
Add DT bindings document for Broadcom STB USB OHCI, EHCI and XHCI drivers. Signed-off-by: Al Cooper --- .../devicetree/bindings/usb/brcm,bcm7445-ehci.txt | 22 + .../devicetree/bindings/usb/brcm,bcm7445-ohci.txt | 22 + .../devicetree/bindings/usb/brcm

[PATCH V2 3/6] usb: xhci: xhci-plat: Add support for Broadcom STB SoC's

2018-10-17 Thread Al Cooper
Add support for Broadcom STB SoC's to the xhci platform driver Signed-off-by: Al Cooper --- drivers/usb/host/xhci-brcm.c | 17 + drivers/usb/host/xhci-brcm.h | 16 drivers/usb/host/xhci-plat.c | 8 3 files changed, 41 insertions(+) create mode 1

[PATCH V2 4/6] usb: ohci-platform: Add support for Broadcom STB SoC's

2018-10-17 Thread Al Cooper
Add support for Broadcom STB SoC's to the ohci platform driver. Signed-off-by: Al Cooper --- drivers/usb/host/ohci-platform.c | 35 +-- include/linux/usb/ohci_pdriver.h | 1 + 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host

[PATCH V2 2/6] usb: core: Add ability to skip phy exit on suspend and init on resume

2018-10-17 Thread Al Cooper
Y to the point where register accesses to the Host Controllers using the PHY will be disabled and the host drivers will crash. This is enabled with the HCD flag "suspend_without_phy_exit" which can be set from any HCD driver. Signed-off-by: Al Cooper --- drivers/usb/core/hcd.c | 8

[PATCH V2 5/6] usb: ehci: Add new EHCI driver for Broadcom STB SoC's

2018-10-17 Thread Al Cooper
Add a new EHCI driver for Broadcom STB SoC's. A new EHCI driver was created instead of adding support to the existing ehci platform driver because of the code required to workaround bugs in the EHCI controller. Signed-off-by: Al Cooper --- drivers/usb/host/ehci-brcm.c

[PATCH V2 0/6] Add XHCI, EHCI and OHCI support for Broadcom STB SoS's

2018-10-17 Thread Al Cooper
. This adds support for the XHCI, EHCI and OHCI host controllers found in Broadcom STB SoC's. These drivers depend on getting access to the new Broadcom STB USB PHY driver through a device-tree phandle and will fail if the driver is not available. Al Cooper (6): dt-bindings: Add Broadcom STB

[PATCH 0/5] Add XHCI, EHCI and OHCI drivers for Broadcom STB SoCs

2018-09-26 Thread Al Cooper
Add XHCI, EHCI and OHCI drivers for Broadcom STB SoCs. These drivers depend on getting access to the new Broadcom STB USB PHY driver through a device-tree phandle and will fail if the driver is not available. Al Cooper (5): dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document

[PATCH 3/5] usb: host: Add EHCI driver for Broadcom STB SoCs

2018-09-26 Thread Al Cooper
ng EPROBE_DEFER when the specified clock is not found and eventually failing probe, the clock pointer is set to NULL which disables all clock handling. Signed-off-by: Al Cooper --- drivers/usb/host/ehci-brcm.c | 304 +++ 1 file changed, 304 insertions(+) cre

[PATCH 5/5] usb: host: Enable building of new Broadcom STB USB drivers

2018-09-26 Thread Al Cooper
Changes to Makefile and Kconfig to enable building of the new Broadcom STB OHCI, EHCI and XHCI drivers. Also update MAINTAINERS. Signed-off-by: Al Cooper --- MAINTAINERS | 9 + drivers/usb/host/Kconfig | 27 +++ drivers/usb/host/Makefile | 7

[PATCH 1/5] dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document

2018-09-26 Thread Al Cooper
Add DT bindings document for Broadcom STB USB OHCI, EHCI and XHCI drivers. Signed-off-by: Al Cooper --- .../devicetree/bindings/usb/brcm,ehci-brcm.txt | 22 + .../devicetree/bindings/usb/brcm,ohci-brcm.txt | 22 + .../devicetree/bindings/usb/brcm

[PATCH 4/5] usb: host: Add XHCI driver for Broadcom STB SoCs

2018-09-26 Thread Al Cooper
_DEFER when the specified clock is not found and eventually failing probe, the clock pointer is set to NULL which disables all clock handling. Signed-off-by: Al Cooper --- drivers/usb/host/xhci-brcm.c | 294 +++ 1 file changed, 294 insertions(+) create mode

[PATCH 2/5] usb: host: Add OHCI driver for Broadcom STB SoCs

2018-09-26 Thread Al Cooper
ng EPROBE_DEFER when the specified clock is not found and eventually failing probe, the clock pointer is set to NULL which disables all clock handling. Signed-off-by: Al Cooper --- drivers/usb/host/ohci-brcm.c | 204 +++ 1 file changed, 204 insertions(+) cre

[PATCH V2 0/9] Bug fixes and improvements to Broadcom BDC driver

2017-07-19 Thread Al Cooper
"brcm,bdc-udc" seemed redundant - Add proper suspend/resume support with clock control - Split out code cleanup into separate patch Bug fixes and improvements to the Broadcom USB STB BDC driver. Al Cooper (8): usb: bdc: Fix misleading register names dt-bindings: usb: bdc: Add Dev

[PATCH V2 2/9] dt-bindings: usb: bdc: Add Device Tree binding for Broadcom UDC driver

2017-07-19 Thread Al Cooper
Add Device Tree binding document for Broadcom USB Device Controller (BDC). Signed-off-by: Al Cooper --- Documentation/devicetree/bindings/usb/brcm,bdc.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/brcm,bdc.txt diff

[PATCH V2 1/9] usb: bdc: Fix misleading register names

2017-07-19 Thread Al Cooper
lect this change and to avoid future coding mistakes. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 16 drivers/usb/gadget/udc/bdc/bdc_dbg.c | 16 drivers/usb/gadget/udc/bdc/bdc_ep.c | 4 ++-- 3 files changed, 18 insertions(+), 18 deleti

[PATCH V2 4/9] usb: bdc: Small code cleanup

2017-07-19 Thread Al Cooper
Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc_core.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index dda7b43..c2bfae2 100644 --- a/drivers/usb/gadget/udc/bdc

[PATCH V2 3/9] usb: bdc: Add clock enable for new chips with a separate BDC clock

2017-07-19 Thread Al Cooper
Newer SoC's have added a BDC clock to the Device Tree, so get and enable it. Signed-off-by: Al Cooper Signed-off-by: Florian Fainelli --- drivers/usb/gadget/udc/bdc/bdc_core.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/dr

[PATCH V2 5/9] usb: bdc: hook a quick Device Tree compatible string

2017-07-19 Thread Al Cooper
From: Florian Fainelli Allows Device Tree probing Signed-off-by: Florian Fainelli Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 4 ++-- drivers/usb/gadget/udc/bdc/bdc_core.c | 8 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/usb

[PATCH V2 7/9] usb: bdc: fix "xsf for ep not enabled" errror

2017-07-19 Thread Al Cooper
f for ep not enabled" error we get on first connection. This was found by the Android team. This was debugged and fixed by Sasi Kumar. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc_udc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadg

[PATCH V2 9/9] usb: bdc: Add support for USB phy

2017-07-19 Thread Al Cooper
If a phy is specified in the device tree node, get it and use it. This was based on a patch by: "Srinath Mannam " Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 3 ++ drivers/usb/gadget/udc/bdc/bdc_core.c | 74 ++- 2 files c

[PATCH V2 6/9] usb: bdc: Add support for suspend/resume

2017-07-19 Thread Al Cooper
ng suspend/resume. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 1 + drivers/usb/gadget/udc/bdc/bdc_core.c | 36 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/usb/gadget/udc/bdc/bdc.h b/drivers/usb/gadget/udc/bdc/bdc.h index f657a4

[PATCH V2 8/9] usb: bdc: Enable in Kconfig for ARCH_BRCMSTB systems

2017-07-19 Thread Al Cooper
Many ARM based Broadcom STB SoC's have a USB BDC controller so enable this driver for these systems. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/udc/bdc/Kconfig b/drivers/usb/gadget/udc/bdc/Kconfig

Re: [PATCH 4/8] usb: bdc: Small code cleanup

2017-06-28 Thread Al Cooper
On Wed, Jun 28, 2017 at 4:47 AM, David Laight wrote: >> >> temp = bdc_readl(bdc->regs, BDC_BDCSC); >> if ((temp & BDC_P64) && >> !dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) { >> - dev_dbg(bdc->dev, "Using 64-bit address\n"); >> + dev

[PATCH 0/8] Bugs fixes and improvements to Broadcom BDC driver

2017-06-27 Thread Al Cooper
Bug fixes and improvements to the USB Broadcom Device Controller (BDC) driver. Al Cooper (7): usb: gadget: bdc: Fix misleading register names usb: bdc: Add Device Tree binding document for Broadcom BDC driver usb: bdc: Add clock enable for new chips with a separate BDC clock usb: bdc

[PATCH 2/8] usb: bdc: Add Device Tree binding document for Broadcom BDC driver

2017-06-27 Thread Al Cooper
Add Device Tree binding document for Broadcom USB Device Controller (BDC). Signed-off-by: Al Cooper --- .../devicetree/bindings/usb/brcm,bdc-udc.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/brcm,bdc-udc.txt

[PATCH 1/8] usb: gadget: bdc: Fix misleading register names

2017-06-27 Thread Al Cooper
lect this change and to avoid future coding mistakes. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 16 drivers/usb/gadget/udc/bdc/bdc_dbg.c | 16 drivers/usb/gadget/udc/bdc/bdc_ep.c | 4 ++-- 3 files changed, 18 insertions(+), 18 deleti

[PATCH 5/8] usb: gadget: bdc: hook a quick Device Tree compatible string

2017-06-27 Thread Al Cooper
From: Florian Fainelli Allows Device Tree probing Signed-off-by: Florian Fainelli Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc_core.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c

[PATCH 6/8] usb: bdc: Add support for suspend/resume

2017-06-27 Thread Al Cooper
ng suspend/resume. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 1 + drivers/usb/gadget/udc/bdc/bdc_core.c | 36 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/usb/gadget/udc/bdc/bdc.h b/drivers/usb/gadget/udc/bdc/bdc.h index 366480

[PATCH 7/8] usb: bdc: fix "xsf for ep not enabled" errror

2017-06-27 Thread Al Cooper
f for ep not enabled" error we get on first connection. This was found by the Android team. This was debugged and fixed by Sasi Kumar. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc_udc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadg

[PATCH 8/8] usb: bdc: Enable in Kconfig for ARCH_BRCMSTB systems

2017-06-27 Thread Al Cooper
Many ARM based Broadcom STB SoC's have a USB BDC controller so enable this driver for these systems. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/udc/bdc/Kconfig b/drivers/usb/gadget/udc/bdc/Kconfig

[PATCH 4/8] usb: bdc: Small code cleanup

2017-06-27 Thread Al Cooper
Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc_core.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index 3bd82d2..621328f 100644 --- a/drivers/usb/gadget/udc/bdc

[PATCH 3/8] usb: bdc: Add clock enable for new chips with a separate BDC clock

2017-06-27 Thread Al Cooper
Newer SoC's have added a BDC clock to the Device Tree, so get and enable it. Signed-off-by: Al Cooper Signed-off-by: Florian Fainelli --- drivers/usb/gadget/udc/bdc/bdc_core.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/dr

[PATCH V3 0/2] Add Broadcom USB PHY driver for Broadcom STB SoCs

2016-08-30 Thread Al Cooper
Add Broadcom USB PHY driver for Broadcom STB SoCs. This driver in combination with the generic ohci, ehci and xhci platform drivers will enable USB1.1, USB2.0 and USB3.0 support. V3 - Rebase to latest V2 - Change compatible name from "brcm,usb-phy" to "brcm,brcmstb-usb-phy

[PATCH V3 1/2] soc: brcmstb: Add Product ID and Family ID helper functions

2016-08-30 Thread Al Cooper
Signed-off-by: Al Cooper --- drivers/soc/bcm/brcmstb/common.c| 12 include/linux/soc/brcmstb/brcmstb.h | 10 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/soc/bcm/brcmstb/common.c b/drivers/soc/bcm/brcmstb/common.c index 94e7335..454f4c2 100644 --- a/drivers

[PATCH V3 2/2] usb: phy: phy-brcm-usb: Add Broadcom STB USB Phy driver

2016-08-30 Thread Al Cooper
-by: Al Cooper --- .../bindings/phy/brcm,brcmstb-usb-phy.txt | 39 + MAINTAINERS| 7 + drivers/phy/Kconfig| 10 + drivers/phy/Makefile | 2 + drivers/phy/phy-brcm-usb-init.c

[RESEND PATCH V2 1/2] soc: brcmstb: Add Product ID and Family ID helper functions

2016-06-08 Thread Al Cooper
Signed-off-by: Al Cooper --- drivers/soc/brcmstb/common.c| 12 include/linux/soc/brcmstb/brcmstb.h | 10 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/soc/brcmstb/common.c b/drivers/soc/brcmstb/common.c index 94e7335..454f4c2 100644 --- a/drivers/soc

[RESEND PATCH V2 0/2] Add Broadcom USB PHY driver for Broadcom STB SoCs

2016-06-08 Thread Al Cooper
/common.c V2 - Change compatible name from "brcm,usb-phy" to "brcm,brcmstb-usb-phy" Al Cooper (2): soc: brcmstb: Add Product ID and Family ID helper functions usb: phy: phy-brcm-usb: Add Broadcom STB USB Phy driver .../bindings/phy/brcm,brcmstb-usb-phy.txt

[RESEND PATCH V2 2/2] usb: phy: phy-brcm-usb: Add Broadcom STB USB phy driver

2016-06-08 Thread Al Cooper
-by: Al Cooper --- .../bindings/phy/brcm,brcmstb-usb-phy.txt | 39 + MAINTAINERS| 7 + drivers/phy/Kconfig| 10 + drivers/phy/Makefile | 2 + drivers/phy/phy-brcm-usb-init.c

[PATCH V2 0/2] Add Broadcom USB PHY driver for Broadcom STB SoCs

2016-05-27 Thread Al Cooper
/common.c V2 - Change compatible name from "brcm,usb-phy" to "brcm,brcmstb-usb-phy" Al Cooper (2): soc: brcmstb: Add Product ID and Family ID helper functions usb: phy: phy-brcm-usb: Add Broadcom STB USB Phy driver .../bindings/phy/brcm,brcmstb-usb-phy.txt

[PATCH V2 1/2] soc: brcmstb: Add Product ID and Family ID helper functions

2016-05-27 Thread Al Cooper
Signed-off-by: Al Cooper --- drivers/soc/brcmstb/common.c| 12 include/linux/soc/brcmstb/brcmstb.h | 10 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/soc/brcmstb/common.c b/drivers/soc/brcmstb/common.c index 94e7335..454f4c2 100644 --- a/drivers/soc

[PATCH V2 2/2] usb: phy: phy-brcm-usb: Add Broadcom STB USB Phy driver

2016-05-27 Thread Al Cooper
-by: Al Cooper --- .../bindings/phy/brcm,brcmstb-usb-phy.txt | 39 + MAINTAINERS| 7 + drivers/phy/Kconfig| 10 + drivers/phy/Makefile | 2 + drivers/phy/phy-brcm-usb-init.c

[PATCH 2/2] usb: phy: phy-brcm-usb: Add Broadcom STB USB Phy driver

2016-05-27 Thread Al Cooper
-by: Al Cooper --- .../devicetree/bindings/phy/brcm,usb-phy.txt | 39 + MAINTAINERS| 7 + drivers/phy/Kconfig| 10 + drivers/phy/Makefile | 2 + drivers/phy/phy-brcm-usb-init.c

[PATCH 1/2] soc: brcmstb: Add Product ID and Family ID helper functions

2016-05-27 Thread Al Cooper
Signed-off-by: Al Cooper --- drivers/soc/brcmstb/common.c| 12 include/linux/soc/brcmstb/brcmstb.h | 10 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/soc/brcmstb/common.c b/drivers/soc/brcmstb/common.c index 94e7335..454f4c2 100644 --- a/drivers/soc

[PATCH 0/2] Add Broadcom USB PHY driver for Broadcom STB SoCs

2016-05-27 Thread Al Cooper
/common.c Al Cooper (2): soc: brcmstb: Add Product ID and Family ID helper functions usb: phy: phy-brcm-usb: Add Broadcom STB USB Phy driver .../devicetree/bindings/phy/brcm,usb-phy.txt | 39 + MAINTAINERS| 7 + drivers/phy/Kconfig

[PATCH V2] usb: Add connected retry on resume for non SS devices

2015-12-02 Thread Al Cooper
.0 devices take greater than the current max of 100ms to show connected after VBUS is enabled. This is most commonly seen on hard drive based devices and USB3.0 devices plugged into a 2.0 only port. Signed-off-by: Al Cooper --- V2 - Change comment to reflect change to wait_for_connect() - A

[PATCH] usb: Add connected retry on resume for non SS devices

2015-12-02 Thread Al Cooper
.0 devices take greater than the current max of 100ms to show connected after VBUS is enabled. This is most commonly seen on hard drive based devices and USB3.0 devices plugged into a 2.0 only port. Signed-off-by: Al Cooper --- drivers/usb/core/hub.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH] usb: gadget: udc: bdc: Minimal fix for a driver crash on disconnect

2015-07-24 Thread Al Cooper
ep_dequeue() in bdc_ep.c was capturing the hw dequeue pointer incorrectly by reading the wrong register for the upper 32 bits. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc_ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.c

[PATCH V2 1/4] usb: gadget: udc: bdc: Fix a driver crash on disconnect

2015-07-22 Thread Al Cooper
was incorrect. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 16 drivers/usb/gadget/udc/bdc/bdc_dbg.c | 16 drivers/usb/gadget/udc/bdc/bdc_ep.c | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/usb/gadget/udc

[PATCH 3/4] usb: gadget: bdc: Add device-tree binding document for BDC driver

2015-07-16 Thread Al Cooper
Signed-off-by: Al Cooper --- Documentation/devicetree/bindings/usb/bdc-udc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/bdc-udc.txt diff --git a/Documentation/devicetree/bindings/usb/bdc-udc.txt b/Documentation/devicetree

[PATCH 1/4] usb: gadget: udc: bdc: Fix a driver crash on disconnect

2015-07-16 Thread Al Cooper
ep_dequeue() in bdc_ep.c was capturing the hw dequeue pointer incorrectly by reading the wrong register for the upper 32 bits. The header file defining the registers was incorrect. Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc.h | 16 drivers/usb/gadget/udc

[PATCH 2/4] usb: gadget: udc: bdc: Add a Device Tree compatible string

2015-07-16 Thread Al Cooper
Allows Device Tree probing Signed-off-by: Al Cooper --- drivers/usb/gadget/udc/bdc/bdc_core.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index 5c8f4ef..0f963d5 100644 --- a/drivers/usb/gadget/udc/bdc

[PATCH 4/4] MAINTAINERS: Add entry for BDC UDC driver

2015-07-16 Thread Al Cooper
Signed-off-by: Al Cooper --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 246d9d8..88b443d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2301,6 +2301,12 @@ L: net...@vger.kernel.org S: Supported F: drivers/net/ethernet

[PATCH] usb: xhci: Fix OOPS in xhci error handling code

2014-08-26 Thread Al Cooper
ce on resume, once for normal restart and once from xhci_mem_init() if dma_alloc_coherent() fails, resulting in a free of xhci->lpm_command that has already been freed. The fix is to set xhci->lpm_command to NULL after freeing it. Signed-off-by: Al Cooper --- drivers/usb/host/xhci-mem.c

[PATCH V2] usb: xhci_suspend is not stopping the root hub timer for the shared HCD

2014-08-06 Thread Al Cooper
V2 - Restart polling (which will restart the timer) for the shared HCD in xhci_resume(). xhci_suspend() will stop the primary HCD's root hub timer, but leaves the shared HCD's timer running. This change adds stopping of the shared HCD timer. Signed-off-by: Al Cooper --- drivers/usb/h

[PATCH V2] usb: xhci_suspend is not stopping the root hub timer for the shared HCD

2014-07-30 Thread Al Cooper
V2 - Restart polling (which will restart the timer) for the shared HCD in xhci_resume(). xhci_suspend() will stop the primary HCD's root hub timer, but leaves the shared HCD's timer running. This change adds stopping of the shared HCD timer. Signed-off-by: Al Cooper --- drivers/usb/h

[PATCH] usb: xhci_suspend is not stopping the root hub timer for the shared HCD

2014-07-29 Thread Al Cooper
xhci_suspend() will stop the primary HCD's root hub timer, but leaves the shared HCD's timer running. This change adds stopping of the shared HCD timer. Signed-off-by: Al Cooper --- drivers/usb/host/xhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci.c b/d

[PATCH V5] usb: Add Device Tree support to XHCI Platform driver

2013-07-25 Thread Al Cooper
Add Device Tree match table to xhci-plat.c. Add DT bindings document. Signed-off-by: Al Cooper --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++ drivers/usb/host/xhci-plat.c | 10 ++ 2 files changed, 24 insertions(+), 0 deletions

[PATCH V4] usb: Add Device Tree support to XHCI Platform driver

2013-07-23 Thread Al Cooper
Add Device Tree match table to xhci-plat.c. Add DT bindings document. Signed-off-by: Al Cooper --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++ drivers/usb/host/xhci-plat.c | 10 ++ 2 files changed, 24 insertions(+) create mode 100644

[PATCH V3] usb: Add Device Tree support to XHCI Platform driver

2013-07-23 Thread Al Cooper
Add Device Tree match table to xhci-plat.c. Add DT bindings document. Signed-off-by: Al Cooper --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++ drivers/usb/host/xhci-plat.c | 9 + 2 files changed, 23 insertions(+) create mode 100644

[PATCH V2] usb: Add Device Tree support to XHCI Platform driver

2013-07-22 Thread Al Cooper
Add Device Tree match table to xhci-plat.c. Add DT bindings document. Signed-off-by: Al Cooper --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++ drivers/usb/host/xhci-plat.c |7 +++ 2 files changed, 21 insertions(+), 0 deletions

[PATCH] usb: Add Device Tree support to XHCI Platform driver

2013-07-18 Thread Al Cooper
Add Device Tree match table. Setup dma_mask and coherent_dma_mask if they're not already set. Signed-off-by: Al Cooper --- drivers/usb/host/xhci-plat.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host

[PATCH] mmc: Allow sdhci platform drivers to set quirks2 from platform data

2013-07-18 Thread Al Cooper
Signed-off-by: Al Cooper --- drivers/mmc/host/sdhci-pltfm.c |4 +++- drivers/mmc/host/sdhci-pltfm.h |1 + 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index 3145a78..e605509 100644 --- a/drivers/mmc/host