Thread (24 messages) 24 messages, 6 authors, 2024-02-29

Re: [PATCH v2 2/4] dt-bindings: auxdisplay: Add bindings for generic 7 segment LED

From: Andy Shevchenko <hidden>
Date: 2024-02-29 10:42:57
Also in: linux-devicetree, linux-leds, lkml

On Thu, Feb 29, 2024 at 10:23:15AM +0100, Geert Uytterhoeven wrote:
On Wed, Feb 28, 2024 at 3:58 PM Andy Shevchenko
[off-list ref] wrote:
quoted
On Wed, Feb 28, 2024 at 4:04 PM Rob Herring [off-list ref] wrote:
quoted
On Wed, Feb 28, 2024 at 10:22:42AM +1300, Chris Packham wrote:
...
quoted
quoted
quoted
+  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.
Note that there are no bits involved at this level, only GPIO specifiers.
Right, I meant the sequence in the array of GPIOs in the DT.
I implied that it maps 1:1 to the real bits in HW (in some cases).

-- 
With Best Regards,
Andy Shevchenko



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help