From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH v5 1/2] dm: core: add function uclass_probe_all() to probe all devices
Date: Mon, 18 Jan 2021 08:01:19 -0500 [thread overview]
Message-ID: <20210118130119.GU9782@bill-the-cat> (raw)
In-Reply-To: <1607490724-6447-2-git-send-email-vabhav.sharma@oss.nxp.com>
On Wed, Dec 09, 2020 at 10:42:03AM +0530, Vabhav Sharma wrote:
> From: Vabhav Sharma <vabhav.sharma@nxp.com>
>
> Support a common method to probe all devices associated with uclass.
>
> This includes data structures and code for finding the first device and
> looping for remaining devices associated with uclasses (groups of devices
> with the same purpose, e.g. all SERIAL ports will be in the same uclass).
>
> An example is SBSA compliant PL011 UART IP, where firmware does the serial
> port initialization and prepare uart device to let the kernel use it for
> sending and reveiving the characters.SERIAL uclass will use this function
> to initialize PL011 UART ports.
>
> The feature is enabled with CONFIG_DM.
>
> Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com>
> Reviewed-by: Stefan Roese <sr@denx.de>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Sean Anderson <seanga2@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/ee113752/attachment.sig>
next prev parent reply other threads:[~2021-01-18 13:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-09 5:12 [PATCH v5 0/2] dm: core: drivers: add function uclass_probe_all() Vabhav Sharma
2020-12-09 5:12 ` [PATCH v5 1/2] dm: core: add function uclass_probe_all() to probe all devices Vabhav Sharma
2020-12-16 15:19 ` Sean Anderson
2021-01-18 13:01 ` Tom Rini [this message]
2020-12-09 5:12 ` [PATCH v5 2/2] drivers: serial: probe all uart devices Vabhav Sharma
2020-12-16 15:22 ` Sean Anderson
2021-01-18 13:01 ` Tom Rini
2020-12-16 10:31 ` [PATCH v5 0/2] dm: core: drivers: add function uclass_probe_all() Vabhav Sharma
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=20210118130119.GU9782@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.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 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.