[PATCH v1 1/3] dm: serial: Add clock member to struct serial_device_info

Bin Meng bmeng.cn at gmail.com
Wed Apr 15 16:19:56 CEST 2020


On Fri, Feb 28, 2020 at 7:41 AM Simon Glass <sjg at chromium.org> wrote:
>
> On Thu, 27 Feb 2020 at 07:22, Andy Shevchenko
> <andriy.shevchenko at linux.intel.com> wrote:
> >
> > Some callers of serial_getinfo() would like to know the UART base
> > clock speed in order to make decision what to pass to OS in some
> > cases. In particular, ACPI SPCR table expects only certain base
> > clock speed and thus we have to act accordingly.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> > ---
> >  drivers/serial/sandbox.c | 1 +
> >  include/serial.h         | 3 +++
> >  test/dm/serial.c         | 1 +
> >  3 files changed, 5 insertions(+)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list