diff mbox series

[next,06/15] dt-bindings: usb: mtk-xhci: add support mt2701 and mt7623

Message ID 20210116090656.11752-6-chunfeng.yun@mediatek.com
State New
Headers show
Series [next,01/15] dt-bindings: usb: fix yamllint check warning | expand

Commit Message

Chunfeng Yun (云春峰) Jan. 16, 2021, 9:06 a.m. UTC
Add two compatible for mt2701 and mt7623;
add property "assigned-clock" and "assigned-clock-parents"
used by mt7629.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

---
 .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml     | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.18.0

Comments

Rob Herring Feb. 8, 2021, 9:55 p.m. UTC | #1
On Sat, 16 Jan 2021 17:06:47 +0800, Chunfeng Yun wrote:
> Add two compatible for mt2701 and mt7623;

> add property "assigned-clock" and "assigned-clock-parents"

> used by mt7629.

> 

> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

> ---

>  .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml     | 10 ++++++++++

>  1 file changed, 10 insertions(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
index a3817f3af59d..46fe3a189359 100644
--- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
@@ -23,8 +23,10 @@  properties:
   compatible:
     items:
       - enum:
+          - mediatek,mt2701-xhci
           - mediatek,mt2712-xhci
           - mediatek,mt7622-xhci
+          - mediatek,mt7623-xhci
           - mediatek,mt7629-xhci
           - mediatek,mt8173-xhci
           - mediatek,mt8183-xhci
@@ -67,6 +69,14 @@  properties:
       - const: dma_ck
       - const: xhci_ck
 
+  assigned-clocks:
+    minItems: 1
+    maxItems: 5
+
+  assigned-clock-parents:
+    minItems: 1
+    maxItems: 5
+
   phys:
     description:
       List of all PHYs used on this HCD, it's better to keep PHYs in order