[U-Boot] [PATCH] drivers: serial: probe all serial devices
Vabhav Sharma
vabhav.sharma at nxp.com
Tue Oct 16 07:23:06 UTC 2018
> -----Original Message-----
> From: Bin Meng <bmeng.cn at gmail.com>
> Sent: Monday, October 15, 2018 5:58 PM
> To: Vabhav Sharma <vabhav.sharma at nxp.com>
> Cc: U-Boot Mailing List <u-boot at lists.denx.de>; u-boot-dm at lists.denx.de;
> Simon Glass <sjg at chromium.org>; dannenberg at ti.com; Masahiro Yamada
> <yamada.masahiro at socionext.com>; Stefan Roese <sr at denx.de>
> Subject: Re: [PATCH] drivers: serial: probe all serial devices
>
> On Mon, Oct 15, 2018 at 8:15 PM Vabhav Sharma <vabhav.sharma at nxp.com>
> wrote:
> >
> > Serial subsystem search and probe only one first serial device and
> > unable to use remaining available UART devices
> >
> > This patch changes the logic to probe all available serial devices
> > using platform data or device tree in DM model in order to use all
> > UART devices
> >
> > Signed-off-by: Vabhav Sharma <vabhav.sharma at nxp.com>
> > ---
> > drivers/serial/Kconfig | 12 ++++++++++++
> > drivers/serial/serial-uclass.c | 42
> > ++++++++++++++++++++++++++++++++++++++++++
> > 2 files changed, 54 insertions(+)
> >
>
> Looks more and more devices have requirement to be probed during boot.
> Guess we should handle such in a unified way?
I understand, For serial devices config is included to make it optional
Generic way might make it mandatory which also increase boot time.
>
> Regards,
> Bin
More information about the U-Boot
mailing list