From: Jacek Anaszewski <jacek.anaszewski@gmail.com>
To: E Shattow <e@freeshell.de>, Pavel Machek <pavel@ucw.cz>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Are LED functions strings or uint32 in Documentation/devicetree/bindings/leds/common.yaml
Date: Wed, 16 Jul 2025 12:17:09 +0200 [thread overview]
Message-ID: <531a8d30-3cfb-4803-ba46-16c13d7694f4@gmail.com> (raw)
In-Reply-To: <91d71a35-bb22-4482-8b49-398899ee37ae@freeshell.de>
Hello,
On 7/16/25 05:19, E Shattow wrote:
> Hello,
>
> Documentation/devicetree/bindings/leds/common.yaml [1] describes a
> uint32 but the $ref is for a string, for "function". What's going on
In which line function is described as uint32?
> 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
>
>
--
Best regards,
Jacek Anaszewski
prev parent reply other threads:[~2025-07-16 10:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-16 3:19 E Shattow
2025-07-16 5:13 ` Pavel Machek
2025-07-16 5:38 ` E Shattow
2025-07-16 10:17 ` Jacek Anaszewski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=531a8d30-3cfb-4803-ba46-16c13d7694f4@gmail.com \
--to=jacek.anaszewski@gmail.com \
--cc=e@freeshell.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®