Skip to content

Commit

Permalink
dt-bindings: display: panel: Move flip properties to panel-common
Browse files Browse the repository at this point in the history
The flip properties were used by "samsung,s6e8aa0.yaml" only so far. By
introducing "samsung,s6e88a0-ams427ap24.yaml" they become more common.

Signed-off-by: Jakob Hauser <jahau@rocketmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/e4edd8fc07b89006207f5f8962a816ff7f8f4601.1730070570.git.jahau@rocketmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/e4edd8fc07b89006207f5f8962a816ff7f8f4601.1730070570.git.jahau@rocketmail.com
  • Loading branch information
Jakob Hauser authored and Neil Armstrong committed Oct 31, 2024
1 parent 904bc54 commit 3c0ecd8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 90, 180, 270]

flip-horizontal:
description: boolean to flip image horizontally
type: boolean

flip-vertical:
description: boolean to flip image vertically
type: boolean

# Display Timings
panel-timing:
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ properties:

reset-gpios: true
display-timings: true
flip-horizontal: true
flip-vertical: true

vdd3-supply:
description: core voltage supply
Expand All @@ -46,14 +48,6 @@ properties:
panel-height-mm:
description: physical panel height [mm]

flip-horizontal:
description: boolean to flip image horizontally
type: boolean

flip-vertical:
description: boolean to flip image vertically
type: boolean

required:
- compatible
- reg
Expand Down

0 comments on commit 3c0ecd8

Please sign in to comment.