[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZeBgCSsO0FH1jb7h@smile.fi.intel.com>
Date: Thu, 29 Feb 2024 12:44:25 +0200
From: "andy@...nel.org" <andy@...nel.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Chris Packham <Chris.Packham@...iedtelesis.co.nz>,
Rob Herring <robh@...nel.org>,
"krzysztof.kozlowski+dt@...aro.org" <krzysztof.kozlowski+dt@...aro.org>,
"conor+dt@...nel.org" <conor+dt@...nel.org>,
"andrew@...n.ch" <andrew@...n.ch>,
"gregory.clement@...tlin.com" <gregory.clement@...tlin.com>,
"sebastian.hesselbarth@...il.com" <sebastian.hesselbarth@...il.com>,
"ojeda@...nel.org" <ojeda@...nel.org>,
"tzimmermann@...e.de" <tzimmermann@...e.de>,
"javierm@...hat.com" <javierm@...hat.com>,
"robin@...tonic.nl" <robin@...tonic.nl>,
"lee@...nel.org" <lee@...nel.org>, "pavel@....cz" <pavel@....cz>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-leds@...r.kernel.org" <linux-leds@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v2 2/4] dt-bindings: auxdisplay: Add bindings for generic
7 segment LED
On Thu, Feb 29, 2024 at 10:24:33AM +0100, Geert Uytterhoeven wrote:
> On Wed, Feb 28, 2024 at 9:02 PM Chris Packham
> <Chris.Packham@...iedtelesis.co.nz> wrote:
> > On 29/02/24 03:04, Rob Herring wrote:
> > > On Wed, Feb 28, 2024 at 10:22:42AM +1300, Chris Packham wrote:
..
> > > How does one know which GPIO is which segment?
> >
> > I've expanded the description in v3.
> >
> > + An array of GPIOs one per segment. The first GPIO corresponds to the A
> > + segment the last GPIO corresponds to the G segment.
> >
> > Do you think that's sufficient or do I need to add more? In the driver
> > itself I've put a little ascii art diagram of the segments.
>
> Given users are reading the bindings rather than the driver source,
> I would move the diagram to the bindings.
+1 here. We have a diagram already in UAPI headers, but that won't be (quickly)
visible for the real users, duplicating in the code doesn't add any value, but
adding it to DT description will be beneficial.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists