All of lore.kernel.org
 help / color / mirror / Atom feed
* Are LED functions strings or uint32 in Documentation/devicetree/bindings/leds/common.yaml
@ 2025-07-16  3:19 E Shattow
  2025-07-16  5:13 ` Pavel Machek
  2025-07-16 10:17 ` Jacek Anaszewski
  0 siblings, 2 replies; 4+ messages in thread
From: E Shattow @ 2025-07-16  3:19 UTC (permalink / raw)
  To: Jacek Anaszewski, Pavel Machek; +Cc: linux-kernel@vger.kernel.org

Hello,

Documentation/devicetree/bindings/leds/common.yaml [1] describes a
uint32 but the $ref is for a string, for "function". What's going on
there? Also what is the reasoning for that sort ordering [2] in the
examples, are we saying that gpios is like a register and function or
default-state is a kind of status?

1:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/leds/common.yaml

2:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/leds/leds-gpio.yaml

-E Shattow



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-16 10:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16  3:19 Are LED functions strings or uint32 in Documentation/devicetree/bindings/leds/common.yaml E Shattow
2025-07-16  5:13 ` Pavel Machek
2025-07-16  5:38   ` E Shattow
2025-07-16 10:17 ` Jacek Anaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.