[PATCH v1 1/3] dm: serial: Add clock member to struct serial_device_info
Simon Glass
sjg at chromium.org
Fri Feb 28 00:40:50 CET 2020
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>
More information about the U-Boot
mailing list