From: Andrej Picej <firstname.lastname@example.org>
To: Sascha Hauer <email@example.com>
Cc: firstname.lastname@example.org, email@example.com
Subject: Re: [PATCH v2 1/2] of: implement new of_device_ensure_probed_by_alias_stem
Date: Tue, 29 Mar 2022 12:43:09 +0200 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
On 29. 03. 22 10:56, Sascha Hauer wrote:
> Hi Andrej,
> On Tue, Mar 29, 2022 at 09:33:32AM +0200, Andrej Picej wrote:
>> Function first goes through all the aliases which have the given stem.
>> It then ensures that all the devices hiding under these aliases are
>> User can specify one device_node which won't get probed. This is mainly
>> for avoiding recursion if the function will be called from device probe
>> function, or to specify the device which should get probed last. In the
>> later case the user should probe the last device manually.
>> Signed-off-by: Andrej Picej <email@example.com>
>> Changes in v2:
>> - add check for deep probe support,
>> - users can now specify one device node, which won't get probed. This
>> ensures that one device can be probed last and we avoid recursion, if
>> this device happens to have alias,
>> - fix function name (ensured -> ensure).
> Your v2 came before I had a chance to react to your comments on v1, I
> was on vacation last week. I looked at the issue from another
> perspective and rather than ensuring a certain probe order I think we
> should decouple the GPIO numbers (at least the ones from the SoC
> internal controllers) from the probe order, see the patch I just sent.
Sorry didn't mean to push you. Just figured out that it would be easier
to talk about this topic when we have v2 version :).
OK, the patch looks good. As you said, solution from different
perspective. Will test it out and get back to you with results.
Thanks for your help/work.
barebox mailing list
prev parent reply other threads:[~2022-03-29 10:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-29 7:33 Andrej Picej
2022-03-29 7:33 ` [PATCH v2 2/2] ARM: boards: phytec-som-imx6: probe all gpio devices before PMIC Andrej Picej
2022-03-29 8:56 ` [PATCH v2 1/2] of: implement new of_device_ensure_probed_by_alias_stem Sascha Hauer
2022-03-29 10:43 ` Andrej Picej [this message]
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:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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