Message ID | 20240804215458.404085-6-virag.david003@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Add USB support to Exynos7885 | expand |
On 04/08/2024 23:53, David Virag wrote: > Exynos7885 SoC has a DWC3 compatible USB controller, so it can reuse the > existing Exynos glue layer. Clocks are the same as on Exynos850. > Document Exynos7885 compatible. > > Signed-off-by: David Virag <virag.david003@gmail.com> > --- > .../devicetree/bindings/usb/samsung,exynos-dwc3.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml > index 2b3430cebe99..3ec849ef4bdb 100644 > --- a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml > +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml > @@ -16,6 +16,7 @@ properties: > - samsung,exynos5250-dwusb3 > - samsung,exynos5433-dwusb3 > - samsung,exynos7-dwusb3 > + - samsung,exynos7885-dwusb3 > - samsung,exynos850-dwusb3 This should be compatible with exynos850, so you need oneOf: adding items with two compatibles. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml index 2b3430cebe99..3ec849ef4bdb 100644 --- a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml @@ -16,6 +16,7 @@ properties: - samsung,exynos5250-dwusb3 - samsung,exynos5433-dwusb3 - samsung,exynos7-dwusb3 + - samsung,exynos7885-dwusb3 - samsung,exynos850-dwusb3 '#address-cells': @@ -124,7 +125,9 @@ allOf: properties: compatible: contains: - const: samsung,exynos850-dwusb3 + enum: + - samsung,exynos7885-dwusb3 + - samsung,exynos850-dwusb3 then: properties: clocks:
Exynos7885 SoC has a DWC3 compatible USB controller, so it can reuse the existing Exynos glue layer. Clocks are the same as on Exynos850. Document Exynos7885 compatible. Signed-off-by: David Virag <virag.david003@gmail.com> --- .../devicetree/bindings/usb/samsung,exynos-dwc3.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)