Skip to content

Commit

Permalink
dt-bindings: net: marvell,orion-mdio: Drop "reg" sizes schema
Browse files Browse the repository at this point in the history
Defining the size of register regions is not really in scope of what
bindings need to cover. The schema for this is also not completely correct
as a reg entry can be variable number of cells for the address and size,
but the schema assumes 1 cell.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20231213232455.2248056-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Rob Herring authored and Jakub Kicinski committed Dec 16, 2023
1 parent e91db16 commit 758a8d5
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Documentation/devicetree/bindings/net/marvell,orion-mdio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,6 @@ required:
allOf:
- $ref: mdio.yaml#

- if:
required:
- interrupts

then:
properties:
reg:
items:
- items:
- $ref: /schemas/types.yaml#/definitions/cell
- const: 0x84

else:
properties:
reg:
items:
- items:
- $ref: /schemas/types.yaml#/definitions/cell
- enum:
- 0x4
- 0x10

unevaluatedProperties: false

examples:
Expand Down

0 comments on commit 758a8d5

Please sign in to comment.