From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>,
Sascha Hauer <s.hauer@pengutronix.de>
Cc: Marco Felsch <m.felsch@pengutronix.de>
Subject: Re: [PATCH] input: gpio-keys: initialize the input value with the current gpioval
Date: Tue, 04 Aug 2026 07:44:45 +0200 [thread overview]
Message-ID: <178582228570.853103.814130763020946925.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260702081719.2065068-1-s.hauer@pengutronix.de>
On Thu, 02 Jul 2026 10:17:19 +0200, Sascha Hauer wrote:
> This is required for deep-probe systems which probe the "gpio-keys"
> device on demand. In such case the input value is not yet accessible
> once the probe finished because the first gpio reads happen
> asynchronously to the probe function. However, board code queries the
> input device value directly after the of.*ensure.*probed().
>
> Therefore provide a sane default by reading the gpio value during probe
> and init the input device value.
>
> [...]
Applied, thanks!
[1/1] input: gpio-keys: initialize the input value with the current gpioval
https://git.pengutronix.de/cgit/barebox/commit/?id=7992d842898d (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
next prev parent reply other threads:[~2026-08-04 5:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-02 8:17 Sascha Hauer
2026-08-04 5:44 ` Sascha Hauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-25 11:51 Marco Felsch
2026-07-02 8:18 ` Sascha Hauer
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=178582228570.853103.814130763020946925.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=m.felsch@pengutronix.de \
/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