Commit 29218d6c authored by Biju Das's avatar Biju Das Committed by Greg Kroah-Hartman

dt-bindings: usb: renesas,usb3-peri: Update reset, clock-name and interrupts properties

On RZ/V2M, USB3DRD module manages the drd_reset. Moreover, the interrupts
drd, gpi and bc are part of USB3DRD block. This patch removes
drd_reset and the interrupts drd, bc and gpi from usb3_peri bindings.
After this, there is only one reset and interrupts and therefore
removing reset-names and interrupt-names as well.

Whilst, Update the clock-name "aclk"->"axi" to make it consistent with
DRD and host blocks.

There is any harm in making such a change as, no users of
renesas,r9a09g011-usb3-peri yet in kernel release.
Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230121145853.4792-3-biju.das.jz@bp.renesas.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e696d70f
...@@ -34,20 +34,7 @@ properties: ...@@ -34,20 +34,7 @@ properties:
maxItems: 1 maxItems: 1
interrupts: interrupts:
minItems: 1 maxItems: 1
items:
- description: Combined interrupt for DMA, SYS and ERR
- description: Dual Role Device (DRD)
- description: Battery Charging
- description: Global Purpose Input
interrupt-names:
minItems: 1
items:
- const: all_p
- const: drd
- const: bc
- const: gpi
clocks: clocks:
minItems: 1 minItems: 1
...@@ -58,7 +45,7 @@ properties: ...@@ -58,7 +45,7 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
items: items:
- const: aclk - const: axi
- const: reg - const: reg
phys: phys:
...@@ -71,15 +58,7 @@ properties: ...@@ -71,15 +58,7 @@ properties:
maxItems: 1 maxItems: 1
resets: resets:
minItems: 1 maxItems: 1
items:
- description: Peripheral reset
- description: DRD reset
reset-names:
items:
- const: aresetn_p
- const: drd_reset
usb-role-switch: usb-role-switch:
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
...@@ -127,25 +106,13 @@ allOf: ...@@ -127,25 +106,13 @@ allOf:
minItems: 2 minItems: 2
clock-names: clock-names:
minItems: 2 minItems: 2
interrupts:
minItems: 4
interrupt-names:
minItems: 4
resets:
minItems: 2
required: required:
- clock-names - clock-names
- interrupt-names
- resets - resets
- reset-names
else: else:
properties: properties:
clocks: clocks:
maxItems: 1 maxItems: 1
interrupts:
maxItems: 1
resets:
maxItems: 1
additionalProperties: false additionalProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment