Commit 520a994d authored by Ricardo Cañuelo's avatar Ricardo Cañuelo Committed by Sam Ravnborg
Browse files

dt-bindings: display: ti, tfp410.yaml: Redefine ti, deskew property



This changes how the 'ti,deskew' property is defined. It's now an
unsigned value from 0 to 7 instead of a signed value from -4 to 3.
Until the dtc carries the integer sign through to the yaml output it's
easier to define signed types as unsigned.

Signed-off-by: default avatarRicardo Cañuelo <ricardo.canuelo@collabora.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200617094633.19663-3-ricardo.canuelo@collabora.com
parent 1dd89152
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -23,11 +23,12 @@ properties:

  ti,deskew:
    description:
      Data de-skew in 350ps increments, from -4 to +3, as configured
      through th DK[3:1] pins. This property shall be present only if the TFP410
      is not connected through I2C.
    maxItems: 1
      Data de-skew value in 350ps increments, from 0 to 7, as configured
      through the DK[3:1] pins. The de-skew multiplier is computed as
      (DK[3:1] - 4), so it ranges from -4 to 3.
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 0
    maximum: 7

  ports:
    description: