lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 28 Feb 2024 16:57:42 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: Chris Packham <chris.packham@...iedtelesis.co.nz>, andy@...nel.org, 
	geert@...ux-m68k.org, krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org, 
	andrew@...n.ch, gregory.clement@...tlin.com, sebastian.hesselbarth@...il.com, 
	ojeda@...nel.org, tzimmermann@...e.de, javierm@...hat.com, robin@...tonic.nl, 
	lee@...nel.org, pavel@....cz, devicetree@...r.kernel.org, 
	linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org, 
	linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 2/4] dt-bindings: auxdisplay: Add bindings for generic
 7 segment LED

On Wed, Feb 28, 2024 at 4:04 PM Rob Herring <robh@...nel.org> wrote:
> On Wed, Feb 28, 2024 at 10:22:42AM +1300, Chris Packham wrote:

..

> > +  segment-gpios:
> > +    description:
> > +      An array of GPIOs one per segment.
> > +    minItems: 7
>
> How does one know which GPIO is which segment?

I believe we need just to agree on this. Since anybody can shuffle
GPIOs in the DT, there is no need to support arbitrary orders. And
naturally 'a' is bit 0, 'g' is bit 6, 'dp' bit 7 if present.

-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ