[PATCH] dt-bindings: usb: add rk3576 compatible to rockchip,dwc3

Frank Wang posted 1 patch 1 month, 1 week ago
Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
[PATCH] dt-bindings: usb: add rk3576 compatible to rockchip,dwc3
Posted by Frank Wang 1 month, 1 week ago
From: Frank Wang <frank.wang@rock-chips.com>

Add the compatible for the Rockchip RK3576 variant.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
---
 Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml b/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
index c4924113f9bde..a21cc098542d7 100644
--- a/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
@@ -27,6 +27,7 @@ select:
         enum:
           - rockchip,rk3328-dwc3
           - rockchip,rk3568-dwc3
+          - rockchip,rk3576-dwc3
           - rockchip,rk3588-dwc3
   required:
     - compatible
@@ -37,6 +38,7 @@ properties:
       - enum:
           - rockchip,rk3328-dwc3
           - rockchip,rk3568-dwc3
+          - rockchip,rk3576-dwc3
           - rockchip,rk3588-dwc3
       - const: snps,dwc3
 
@@ -113,7 +115,9 @@ allOf:
       properties:
         compatible:
           contains:
-            const: rockchip,rk3568-dwc3
+            enum:
+              - rockchip,rk3568-dwc3
+              - rockchip,rk3576-dwc3
     then:
       properties:
         clocks:
-- 
2.25.1
Re: [PATCH] dt-bindings: usb: add rk3576 compatible to rockchip,dwc3
Posted by Rob Herring (Arm) 1 month, 1 week ago
On Wed, 16 Oct 2024 16:32:24 +0800, Frank Wang wrote:
> From: Frank Wang <frank.wang@rock-chips.com>
> 
> Add the compatible for the Rockchip RK3576 variant.
> 
> Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
> ---
>  Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>