Commit aad9742f authored by Hector Martin's avatar Hector Martin

dt-bindings: display: Add apple,simple-framebuffer

Apple SoCs run firmware that sets up a simplefb-compatible framebuffer
for us. Add a compatible for it, and two missing supported formats.
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
parent aea5f69f
...@@ -54,6 +54,7 @@ properties: ...@@ -54,6 +54,7 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- apple,simple-framebuffer
- allwinner,simple-framebuffer - allwinner,simple-framebuffer
- amlogic,simple-framebuffer - amlogic,simple-framebuffer
- const: simple-framebuffer - const: simple-framebuffer
...@@ -84,9 +85,13 @@ properties: ...@@ -84,9 +85,13 @@ properties:
Format of the framebuffer: Format of the framebuffer:
* `a8b8g8r8` - 32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r * `a8b8g8r8` - 32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r
* `r5g6b5` - 16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b * `r5g6b5` - 16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b
* `x2r10g10b10` - 32-bit pixels, d[29:20]=r, d[19:10]=g, d[9:0]=b
* `x8r8g8b8` - 32-bit pixels, d[23:16]=r, d[15:8]=g, d[7:0]=b
enum: enum:
- a8b8g8r8 - a8b8g8r8
- r5g6b5 - r5g6b5
- x2r10g10b10
- x8r8g8b8
display: display:
$ref: /schemas/types.yaml#/definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment