mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
dt-bindings: display: panel-timing: Define a single type for properties
It's not good practice to define multiple types for the same property, so factor out the type reference making the properties always an uint32-array with a length of 1 or 3 items. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Link: https://lore.kernel.org/r/20220413140016.3131013-1-robh@kernel.org
This commit is contained in:
parent
5a674d9dc9
commit
652980b154
@ -71,78 +71,72 @@ properties:
|
||||
|
||||
hfront-porch:
|
||||
description: Horizontal front porch panel timing
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
oneOf:
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||
maxItems: 1
|
||||
- maxItems: 1
|
||||
items:
|
||||
description: typical number of pixels
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
minItems: 3
|
||||
- minItems: 3
|
||||
maxItems: 3
|
||||
items:
|
||||
description: min, typ, max number of pixels
|
||||
|
||||
hback-porch:
|
||||
description: Horizontal back porch timing
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
oneOf:
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||
maxItems: 1
|
||||
- maxItems: 1
|
||||
items:
|
||||
description: typical number of pixels
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
minItems: 3
|
||||
- minItems: 3
|
||||
maxItems: 3
|
||||
items:
|
||||
description: min, typ, max number of pixels
|
||||
|
||||
hsync-len:
|
||||
description: Horizontal sync length panel timing
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
oneOf:
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||
maxItems: 1
|
||||
- maxItems: 1
|
||||
items:
|
||||
description: typical number of pixels
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
minItems: 3
|
||||
- minItems: 3
|
||||
maxItems: 3
|
||||
items:
|
||||
description: min, typ, max number of pixels
|
||||
|
||||
vfront-porch:
|
||||
description: Vertical front porch panel timing
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
oneOf:
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||
maxItems: 1
|
||||
- maxItems: 1
|
||||
items:
|
||||
description: typical number of lines
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
minItems: 3
|
||||
- minItems: 3
|
||||
maxItems: 3
|
||||
items:
|
||||
description: min, typ, max number of lines
|
||||
|
||||
vback-porch:
|
||||
description: Vertical back porch panel timing
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
oneOf:
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||
maxItems: 1
|
||||
- maxItems: 1
|
||||
items:
|
||||
description: typical number of lines
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
minItems: 3
|
||||
- minItems: 3
|
||||
maxItems: 3
|
||||
items:
|
||||
description: min, typ, max number of lines
|
||||
|
||||
vsync-len:
|
||||
description: Vertical sync length panel timing
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
oneOf:
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||
maxItems: 1
|
||||
- maxItems: 1
|
||||
items:
|
||||
description: typical number of lines
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
minItems: 3
|
||||
- minItems: 3
|
||||
maxItems: 3
|
||||
items:
|
||||
description: min, typ, max number of lines
|
||||
|
Loading…
Reference in New Issue
Block a user