]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: serial: Add ->getconfig() callback
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Nov 2018 21:52:32 +0000 (23:52 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:06:44 +0000 (06:06 -0700)
commitac7f5db9dc690901d99fe0afbcb3d4241c3cab8e
treeac1c22f82a9aa1b481142490623ad1aed5feb555
parent4f86a724e82c0b74d9ffb7b65f8ae4b011dd0b03
dm: serial: Add ->getconfig() callback

In some cases it would be good to know the settings, such as parity,
of current serial console. One example might be an ACPI SPCR table
to generate using these parameters.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/sandbox.c
drivers/serial/serial-uclass.c
include/common.h
include/serial.h
test/dm/serial.c