Unverified Commit e798ba33 authored by Robert Foss's avatar Robert Foss
Browse files

Revert "dt-bindings: Add byteswap order to chrontel ch7033"

As reported by Laurent in response to this commit[1], this functionality
should not be implemented using the devicetree, because of this let's
revert this series for now.

This reverts commit a4be7143.

[1] https://lore.kernel.org/all/20220902153906.31000-2-macroalpha82@gmail.com/



Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220912113856.817188-2-robert.foss@linaro.org
parent e3d8d54c
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -14,19 +14,6 @@ properties:
  compatible:
    const: chrontel,ch7033

  chrontel,byteswap:
    $ref: /schemas/types.yaml#/definitions/uint8
    enum:
      - 0  # BYTE_SWAP_RGB
      - 1  # BYTE_SWAP_RBG
      - 2  # BYTE_SWAP_GRB
      - 3  # BYTE_SWAP_GBR
      - 4  # BYTE_SWAP_BRG
      - 5  # BYTE_SWAP_BGR
    description: |
      Set the byteswap value of the bridge. This is optional and if not
      set value of BYTE_SWAP_BGR is used.

  reg:
    maxItems: 1
    description: I2C address of the device