Message ID | 20210304213902.83903-27-marcan@marcan.st (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | Apple M1 SoC platform bring-up | expand |
On Fri, 05 Mar 2021 06:39:01 +0900, Hector Martin wrote: > Apple SoCs run firmware that sets up a simplefb-compatible framebuffer > for us. Add a compatible for it, and two missing supported formats. > > Signed-off-by: Hector Martin <marcan@marcan.st> > --- > .../devicetree/bindings/display/simple-framebuffer.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
On Thu, Mar 4, 2021 at 10:42 PM Hector Martin <marcan@marcan.st> wrote: > Apple SoCs run firmware that sets up a simplefb-compatible framebuffer > for us. Add a compatible for it, and two missing supported formats. > > Signed-off-by: Hector Martin <marcan@marcan.st> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Marcan: tell me if you need me to apply this to the drm-misc tree and I'll fix it. Yours, Linus Walleij
On 10/03/2021 01.37, Linus Walleij wrote: > On Thu, Mar 4, 2021 at 10:42 PM Hector Martin <marcan@marcan.st> wrote: > >> Apple SoCs run firmware that sets up a simplefb-compatible framebuffer >> for us. Add a compatible for it, and two missing supported formats. >> >> Signed-off-by: Hector Martin <marcan@marcan.st> > > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > > Marcan: tell me if you need me to apply this to the drm-misc tree > and I'll fix it. I think Arnd is okay merging this one through the SoC tree.
diff --git a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml index eaf8c54fcf50..c2499a7906f5 100644 --- a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml +++ b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml @@ -54,6 +54,7 @@ properties: compatible: items: - enum: + - apple,simple-framebuffer - allwinner,simple-framebuffer - amlogic,simple-framebuffer - const: simple-framebuffer @@ -84,9 +85,13 @@ properties: Format of the framebuffer: * `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 + * `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: - a8b8g8r8 - r5g6b5 + - x2r10g10b10 + - x8r8g8b8 display: $ref: /schemas/types.yaml#/definitions/phandle
Apple SoCs run firmware that sets up a simplefb-compatible framebuffer for us. Add a compatible for it, and two missing supported formats. Signed-off-by: Hector Martin <marcan@marcan.st> --- .../devicetree/bindings/display/simple-framebuffer.yaml | 5 +++++ 1 file changed, 5 insertions(+)