Re: [PATCH] serial: core: Add support for dev_name:0.0 naming for kernel console
From: Andy Shevchenko
Date: Wed Jul 19 2023 - 01:37:13 EST
On Wed, Jul 19, 2023 at 08:15:23AM +0300, Tony Lindgren wrote:
> With the serial core controller related changes we can now start
> addressing serial ports with dev_name:0.0 naming. The names are something
> like 00:04.0:0.0 on qemu, and 2800000.serial.0:0.0 on ARM for example.
>
> The dev_name is unique serial port hardware controller device name, also
Maybe for the sake of consistency you may use DEVNAME here and everywhere else
to link this to the DEVNAME uevent environment variable?
> known as port->dev, and 0.0 are the serial core controller id and port id.
>
> Typically 0.0 are used for each controller and port instance unless the
> serial port hardware controller has multiple controllers or ports.
--
With Best Regards,
Andy Shevchenko