linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add earlycon support for AMD Carrizo / Stoneyridge
@ 2018-03-15  2:04 Daniel Kurtz
  2018-03-15  2:04 ` [PATCH v3 1/3] serial: 8250_early: " Daniel Kurtz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Daniel Kurtz @ 2018-03-15  2:04 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: adurbin, linux-kernel, Daniel Kurtz

AMD Carrizo / Stoneyridge use a DesignWare 8250 UART that uses a 48 MHz
input clock.  Currently, there is no way to tell earlycon to use a specific
uart input clock when configuring a baud rate.

Patch 1 adds an earlycon ->setup() callback to set up this clock.  The setup is
triggered on the commandline by specifying "earlycon=amdcz,...".

Patch 2 adds an ACPI SPCR quirk to automatically trigger this hook when the
ACPI SPCR table OEMID field is "AMDCZ ".

Patch 3 adds an additional fix which allows botht the ACPI SPCR quirk and amdcz
->setup() to tell 8250_core to skip initialization of old serial ports that do
not exist on these SoCs.

Daniel Kurtz (3):
  serial: 8250_early: Add earlycon support for AMD Carrizo / Stoneyridge
  ACPI: SPCR: Add support for AMD CT/SZ
  serial: core: Allow skipping old serial port initialization

 drivers/acpi/spcr.c                  | 26 ++++++++++++++++++++++++++
 drivers/tty/serial/8250/8250_core.c  |  6 ++++++
 drivers/tty/serial/8250/8250_early.c | 16 ++++++++++++++++
 include/linux/serial_8250.h          |  2 ++
 4 files changed, 50 insertions(+)

-- 
2.16.2.804.g6dcf76e118-goog

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-03-18  7:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15  2:04 [PATCH v3 0/3] Add earlycon support for AMD Carrizo / Stoneyridge Daniel Kurtz
2018-03-15  2:04 ` [PATCH v3 1/3] serial: 8250_early: " Daniel Kurtz
2018-03-15  2:04 ` [PATCH v3 2/3] ACPI: SPCR: Add support for AMD CT/SZ Daniel Kurtz
2018-03-15  2:04 ` [PATCH v3 3/3] serial: core: Allow skipping old serial port initialization Daniel Kurtz
2018-03-15 13:04   ` Andy Shevchenko
2018-03-15 16:24     ` Daniel Kurtz
2018-03-18  7:28   ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).