mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
dt-bindings: usb: usbmisc-imx: add support for i.MX95 platform
Add compatible string "fsl,imx95-usbmisc" for i.MX95 platform and restriction on reg property. 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-2-xu.yang_2@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
54f30ae4a3
commit
bd3c096ce5
|
|
@ -34,6 +34,7 @@ properties:
|
|||
- fsl,imx8mm-usbmisc
|
||||
- fsl,imx8mn-usbmisc
|
||||
- fsl,imx8ulp-usbmisc
|
||||
- fsl,imx95-usbmisc
|
||||
- const: fsl,imx7d-usbmisc
|
||||
- const: fsl,imx6q-usbmisc
|
||||
- items:
|
||||
|
|
@ -45,7 +46,10 @@ properties:
|
|||
maxItems: 1
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
minItems: 1
|
||||
items:
|
||||
- description: Base and length of the Wrapper module register
|
||||
- description: Base and length of the HSIO Block Control register
|
||||
|
||||
'#index-cells':
|
||||
const: 1
|
||||
|
|
@ -56,6 +60,23 @@ required:
|
|||
- compatible
|
||||
- reg
|
||||
|
||||
allOf:
|
||||
# imx95 soc needs use HSIO Block Control
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- fsl,imx95-usbmisc
|
||||
then:
|
||||
properties:
|
||||
reg:
|
||||
minItems: 2
|
||||
else:
|
||||
properties:
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user