2022-12-29 10:33:01

by Jung Daehwan

[permalink] [raw]
Subject: [RFC PATCH v2 0/3] support Samsung Exynos xHCI Controller

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


2022-12-29 11:05:48

by Jung Daehwan

[permalink] [raw]
Subject: [RFC PATCH v2 2/3] dt-bindings: usb: generic-xhci: add Samsung Exynos compatible

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