diff options
| author | Xu Yang <[email protected]> | 2024-03-21 08:14:34 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-27 06:57:16 +0000 |
| commit | 47870badf33a59994e73b70b1f0464d7b0945f2e (patch) | |
| tree | 2b2a8b6ef44679447df2b1fd9afdae623f8068d9 | |
| parent | dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clo... (diff) | |
| download | kernel-47870badf33a59994e73b70b1f0464d7b0945f2e.tar.gz kernel-47870badf33a59994e73b70b1f0464d7b0945f2e.zip | |
dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93
The i.MX93 needs a wakup clock to work properly. This will add compatible
and restriction for i.MX93 platform.
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Xu Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml index e2eb60eaf6fe..8f6136f5d72e 100644 --- a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml @@ -40,6 +40,7 @@ properties: - enum: - fsl,imx8mm-usb - fsl,imx8mn-usb + - fsl,imx93-usb - const: fsl,imx7d-usb - const: fsl,imx27-usb - items: @@ -183,6 +184,23 @@ allOf: - const: ahb - const: per + # imx93 Soc needs two clocks + - if: + properties: + compatible: + contains: + enum: + - fsl,imx93-usb + then: + properties: + clocks: + minItems: 2 + maxItems: 2 + clock-names: + items: + - const: usb_ctrl_root + - const: usb_wakeup + # imx7d Soc need one clock - if: properties: |
