This patchset is to support xHCI Controller on Samsung Exynos SOCs.
Thanks for all reviews on v1 and have tried to modify it well.
I again added "RFC" because I haven't solved below problem when checking dt bindings.
usb@4a000000: #size-cells:0:0: 0 was expected
Documentation/devicetree/bindings/usb/snps,dwc3.yaml
Changes in v2 :
- Rename subject of cover letter
([RFC,v1,0/2] add xhci-exynos to support Samsung Exynos SOC)
- Add Exynos compatible in xhci platform driver instead making new platform driver.
- Make xhci platform driver as child of dwc3 with DT schema.
- Override roothub ops for xhci platform driver.
Daehwan Jung (3):
usb: support Samsung Exynos xHCI Controller
dt-bindings: usb: generic-xhci: add Samsung Exynos compatible
dt-bindings: usb: snps,dwc3: add generic-xhci as child
.../devicetree/bindings/usb/generic-xhci.yaml | 2 +
.../devicetree/bindings/usb/snps,dwc3.yaml | 29 +++++++++
drivers/usb/dwc3/drd.c | 7 +++
drivers/usb/dwc3/host.c | 33 +++++++++-
drivers/usb/host/xhci-plat.c | 60 ++++++++++++++++++-
drivers/usb/host/xhci.c | 4 ++
drivers/usb/host/xhci.h | 5 ++
7 files changed, 137 insertions(+), 3 deletions(-)
--
2.31.1
Add compatible for Samsung Exynos SOCs
Signed-off-by: Daehwan Jung <[email protected]>
---
Documentation/devicetree/bindings/usb/generic-xhci.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/generic-xhci.yaml b/Documentation/devicetree/bindings/usb/generic-xhci.yaml
index db841589fc33..f54aff477637 100644
--- a/Documentation/devicetree/bindings/usb/generic-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-xhci.yaml
@@ -29,6 +29,8 @@ properties:
enum:
- brcm,xhci-brcm-v2
- brcm,bcm7445-xhci
+ - description: Samsung Exynos SoCs with xHCI
+ const: samsung,exynos-xhci
- description: Generic xHCI device
const: xhci-platform
deprecated: true
--
2.31.1