Commit 4e71ed98 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Fix properties without any type



Now that the schema tools can extract type information for all
properties (in order to decode dtb files), finding properties missing
any type definition is fairly trivial though not yet automated.

Fix the various property schemas which are missing a type. Most of these
tend to be device specific properties which don't have a vendor prefix.
A vendor prefix is how we normally ensure a type is defined.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org> # for everything in .../bindings/display/
Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarPeter Rosin <peda@axentia.se>
Acked-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Acked-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20220519211411.2200720-1-robh@kernel.org
parent 028818e3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -17,14 +17,15 @@ properties:
      - const: hisilicon,hip04-bootwrapper

  boot-method:
    $ref: /schemas/types.yaml#/definitions/uint32-array
    description: |
      Address and size of boot method.
      [0]: bootwrapper physical address
      [1]: bootwrapper size
      [2]: relocation physical address
      [3]: relocation size
    minItems: 1
    maxItems: 2
    minItems: 2
    maxItems: 4

required:
  - compatible
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ properties:

            properties:
              data-lines:
                $ref: /schemas/types.yaml#/definitions/uint32
                enum: [ 16, 18, 24 ]

      port@1:
+5 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ properties:
      Horizontal sync pulse.
      0 selects active low, 1 selects active high.
      If omitted then it is not used by the hardware
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]

  vsync-active:
@@ -153,6 +154,7 @@ properties:
      Vertical sync pulse.
      0 selects active low, 1 selects active high.
      If omitted then it is not used by the hardware
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]

  de-active:
@@ -160,6 +162,7 @@ properties:
      Data enable.
      0 selects active low, 1 selects active high.
      If omitted then it is not used by the hardware
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]

  pixelclk-active:
@@ -169,6 +172,7 @@ properties:
      sample data on rising edge.
      Use 1 to drive pixel data on rising edge and
      sample data on falling edge
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]

  syncclk-active:
@@ -179,6 +183,7 @@ properties:
      sample sync on rising edge of pixel clock.
      Use 1 to drive sync on rising edge and
      sample sync on falling edge of pixel clock
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]

  interlaced:
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ properties:

  dsi-lanes:
    description: Number of DSI lanes to be used must be <3> or <4>
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [3, 4]

  v3p3-supply:
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ properties:

  init-delay:
    description: delay after initialization sequence [ms]
    $ref: /schemas/types.yaml#/definitions/uint32

  panel-width-mm:
    description: physical panel width [mm]
Loading