Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: chipidea: Add i.MX95 compatible string 'fsl,imx95-usb'

The i.MX95 USB2.0 controller is mostly compatible with i.MX7D, except it
requires a second interrupt for wakeup handling. Add the compatible string
for the i.MX95 platform, add the iommus property, and enforce the
interrupt property restriction. Keep the same restriction for existing
compatible strings.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20250318150908.1583652-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Xu Yang and committed by
Greg Kroah-Hartman
54f30ae4 54f9823b

+26 -1
+3
Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml
··· 42 42 43 43 phy_type: true 44 44 45 + iommus: 46 + maxItems: 1 47 + 45 48 itc-setting: 46 49 description: 47 50 interrupt threshold control register control, the setting should be
+23 -1
Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml
··· 41 41 - fsl,imx8mm-usb 42 42 - fsl,imx8mn-usb 43 43 - fsl,imx93-usb 44 + - fsl,imx95-usb 44 45 - const: fsl,imx7d-usb 45 46 - const: fsl,imx27-usb 46 47 - items: ··· 55 54 maxItems: 1 56 55 57 56 interrupts: 58 - maxItems: 1 57 + minItems: 1 58 + items: 59 + - description: USB controller interrupt or combine USB controller 60 + and wakeup interrupts. 61 + - description: Wakeup interrupt 59 62 60 63 clocks: 61 64 minItems: 1 ··· 196 191 contains: 197 192 enum: 198 193 - fsl,imx93-usb 194 + - fsl,imx95-usb 199 195 then: 200 196 properties: 201 197 clocks: ··· 243 237 clocks: 244 238 maxItems: 1 245 239 clock-names: false 240 + 241 + # imx95 soc use two interrupts 242 + - if: 243 + properties: 244 + compatible: 245 + contains: 246 + enum: 247 + - fsl,imx95-usb 248 + then: 249 + properties: 250 + interrupts: 251 + minItems: 2 252 + else: 253 + properties: 254 + interrupts: 255 + maxItems: 1 246 256 247 257 unevaluatedProperties: false 248 258