Signed-off-by: Al Cooper alcoop...@gmail.com
---
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
Add Device Tree match table. Setup dma_mask and coherent_dma_mask
if they're not already set.
Signed-off-by: Al Cooper alcoop...@gmail.com
---
drivers/usb/host/xhci-plat.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/host/xhci-plat.c b
Add Device Tree match table to xhci-plat.c. Add DT bindings document.
Signed-off-by: Al Cooper alcoop...@gmail.com
---
Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++
drivers/usb/host/xhci-plat.c |7 +++
2 files changed, 21 insertions(+), 0
Add Device Tree match table to xhci-plat.c. Add DT bindings document.
Signed-off-by: Al Cooper alcoop...@gmail.com
---
Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++
drivers/usb/host/xhci-plat.c | 9 +
2 files changed, 23 insertions
Add Device Tree match table to xhci-plat.c. Add DT bindings document.
Signed-off-by: Al Cooper alcoop...@gmail.com
---
Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++
drivers/usb/host/xhci-plat.c | 10 ++
2 files changed, 24 insertions
Add Device Tree match table to xhci-plat.c. Add DT bindings document.
Signed-off-by: Al Cooper alcoop...@gmail.com
---
Documentation/devicetree/bindings/usb/usb-xhci.txt | 14 ++
drivers/usb/host/xhci-plat.c | 10 ++
2 files changed, 24 insertions
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 alcoop...@gmail.com
---
drivers/usb/host/xhci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host
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 alcoop...@gmail.com
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 alcoop...@gmail.com
---
drivers/usb/host/xhci-mem.c | 1 +
1 file
was incorrect.
Signed-off-by: Al Cooper alcoop...@gmail.com
---
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
Signed-off-by: Al Cooper alcoop...@gmail.com
---
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
Allows Device Tree probing
Signed-off-by: Al Cooper alcoop...@gmail.com
---
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
Signed-off-by: Al Cooper alcoop...@gmail.com
---
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
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 alcoop...@gmail.com
---
drivers/usb/gadget/udc/bdc/bdc.h | 16
.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 <alcoop...@gmail.com>
---
drivers/usb/core/hub.c | 6 +++---
1
.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 <alcoop...@gmail.com>
---
V2 - Change comment to reflect change to
-by: Al Cooper <alcoop...@gmail.com>
---
.../bindings/phy/brcm,brcmstb-usb-phy.txt | 39 +
MAINTAINERS| 7 +
drivers/phy/Kconfig| 10 +
drivers/phy/Makefile | 2 +
drivers/p
/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
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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
-by: Al Cooper <alcoop...@gmail.com>
---
.../devicetree/bindings/phy/brcm,usb-phy.txt | 39 +
MAINTAINERS| 7 +
drivers/phy/Kconfig| 10 +
drivers/phy/Makefile | 2 +
drivers/p
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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
/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
/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
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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
-by: Al Cooper <alcoop...@gmail.com>
---
.../bindings/phy/brcm,brcmstb-usb-phy.txt | 39 +
MAINTAINERS| 7 +
drivers/phy/Kconfig| 10 +
drivers/phy/Makefile | 2 +
drivers/p
-by: Al Cooper <alcoop...@gmail.com>
---
.../bindings/phy/brcm,brcmstb-usb-phy.txt | 39 +
MAINTAINERS| 7 +
drivers/phy/Kconfig| 10 +
drivers/phy/Makefile | 2 +
drivers/p
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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..4
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
Newer SoC's have added a BDC clock to the Device Tree, so get
and enable it.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
---
drivers/usb/gadget/udc/bdc/bdc_core.c | 15 +++
1 file changed, 15 insertions(+)
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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/d
t;xsf 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 <alcoop...@gmail.com>
---
drivers/usb/gadget/udc/bdc/bdc_udc.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff
From: Florian Fainelli <f.faine...@gmail.com>
Allows Device Tree probing
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
drivers/usb/gadget/udc/bdc/bdc.h | 4 ++--
drivers/usb/gadget/udc/bdc/bdc_core.c | 8 +++
"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
Add Device Tree binding document for Broadcom USB Device
Controller (BDC).
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
Documentation/devicetree/bindings/usb/brcm,bdc.txt | 29 ++
1 file changed, 29 insertions(+)
create mode 100644 Documentation/devicetree/bindin
reflect this change and to avoid future coding mistakes.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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 cha
Many ARM based Broadcom STB SoC's have a USB BDC controller so
enable this driver for these systems.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
drivers/usb/gadget/udc/bdc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/udc/bdc/Kconfig
b/drivers/usb/
pend and manages the clock during
suspend/resume.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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/b
If a phy is specified in the device tree node, get it and use it.
This was based on a patch by:
"Srinath Mannam <srinath.man...@broadcom.com>"
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
drivers/usb/gadget/udc/bdc/bdc.h | 3 ++
drivers/usb/gadget/u
reflect this change and to avoid future coding mistakes.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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 cha
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
Add Device Tree binding document for Broadcom USB Device
Controller (BDC).
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
.../devicetree/bindings/usb/brcm,bdc-udc.txt | 28 ++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindin
pend and manages the clock during
suspend/resume.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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/b
From: Florian Fainelli <f.faine...@gmail.com>
Allows Device Tree probing
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
drivers/usb/gadget/udc/bdc/bdc_core.c | 8
1 file changed, 8 insertions(+)
diff --git a/
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
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/d
Many ARM based Broadcom STB SoC's have a USB BDC controller so
enable this driver for these systems.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
---
drivers/usb/gadget/udc/bdc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/udc/bdc/Kconfig
b/drivers/usb/
t;xsf 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 <alcoop...@gmail.com>
---
drivers/usb/gadget/udc/bdc/bdc_udc.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff
Newer SoC's have added a BDC clock to the Device Tree, so get
and enable it.
Signed-off-by: Al Cooper <alcoop...@gmail.com>
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
---
drivers/usb/gadget/udc/bdc/bdc_core.c | 15 +++
1 file changed, 15 insertions(+)
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
48 matches
Mail list logo