[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1648705.hQpMTjSAMY@g550jk>
Date: Wed, 01 Sep 2021 21:29:18 +0200
From: Luca Weiss <luca@...tu.xyz>
To: Rob Herring <robh@...nel.org>
Cc: linux-fbdev@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht,
Hans de Goede <hdegoede@...hat.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: display: add missing simple-framebuffer formats
Hi Rob,
On Dienstag, 31. August 2021 23:30:15 CEST Rob Herring wrote:
> On Sat, Aug 28, 2021 at 01:02:05PM +0200, Luca Weiss wrote:
> > Document all formats currently present in include/linux/platform_data/
> > simplefb.h
> >
> > Signed-off-by: Luca Weiss <luca@...tu.xyz>
> > ---
> >
> > .../bindings/display/simple-framebuffer.yaml | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
> > b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml index
> > c2499a7906f5..c1acd2859ae8 100644
> > --- a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
> > +++ b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
> >
> > @@ -83,13 +83,25 @@ properties:
> > format:
> > description: >
> >
> > Format of the framebuffer:
> > + * `a1r5g5b5` - 16-bit pixels, d[15]=a, d[14:10]=r, d[9:5]=g,
> > d[4:0]=b + * `a2r10g10b10` - 32-bit pixels, d[31:30]=a,
> > d[29:20]=r, d[19:10]=g, d[9:0]=b
> Not a new problem, but are these 32-bit big or little endian words? That
> should be figured out before we add more.
As I'm neither involved in the driver nor really have any knowledge on pixel
formats, maybe the maintainers of the binding can help out here?
(Bartlomiej Zolnierkiewicz & Hans de Goede, both are CC'ed)
I can probably dig through the sources and guess but documentation should be
written without guessing :)
Regards
Luca
Powered by blists - more mailing lists