Skip to content

Commit 3c0ecd8

Browse files
Jakko3superna9999
authored andcommitted
dt-bindings: display: panel: Move flip properties to panel-common
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/e4edd8fc07b89006207f5f8962a816ff7f8f4601.1730070570.git.jahau@rocketmail.com Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/e4edd8fc07b89006207f5f8962a816ff7f8f4601.1730070570.git.jahau@rocketmail.com
1 parent 904bc54 commit 3c0ecd8

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

Documentation/devicetree/bindings/display/panel/panel-common.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ properties:
5151
$ref: /schemas/types.yaml#/definitions/uint32
5252
enum: [0, 90, 180, 270]
5353

54+
flip-horizontal:
55+
description: boolean to flip image horizontally
56+
type: boolean
57+
58+
flip-vertical:
59+
description: boolean to flip image vertically
60+
type: boolean
61+
5462
# Display Timings
5563
panel-timing:
5664
description:

Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ properties:
2121

2222
reset-gpios: true
2323
display-timings: true
24+
flip-horizontal: true
25+
flip-vertical: true
2426

2527
vdd3-supply:
2628
description: core voltage supply
@@ -46,14 +48,6 @@ properties:
4648
panel-height-mm:
4749
description: physical panel height [mm]
4850

49-
flip-horizontal:
50-
description: boolean to flip image horizontally
51-
type: boolean
52-
53-
flip-vertical:
54-
description: boolean to flip image vertically
55-
type: boolean
56-
5751
required:
5852
- compatible
5953
- reg

0 commit comments

Comments
 (0)