All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add earlycon support for AMD Carrizo / Stoneyridge
@ 2018-03-14 21:44 Daniel Kurtz
  2018-03-14 21:44   ` Daniel Kurtz
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Daniel Kurtz @ 2018-03-14 21:44 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                  | 25 +++++++++++++++++++++++++
 drivers/tty/serial/8250/8250_core.c  |  6 ++++++
 drivers/tty/serial/8250/8250_early.c | 16 ++++++++++++++++
 include/linux/serial_8250.h          |  6 ++++++
 4 files changed, 53 insertions(+)

-- 
2.16.2.804.g6dcf76e118-goog

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

end of thread, other threads:[~2018-03-19 10:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-14 21:44 [PATCH v2 0/3] Add earlycon support for AMD Carrizo / Stoneyridge Daniel Kurtz
2018-03-14 21:44 ` [PATCH v2 1/3] serial: 8250_early: " Daniel Kurtz
2018-03-14 21:44   ` Daniel Kurtz
2018-03-14 21:44 ` [PATCH v2 2/3] ACPI: SPCR: Add support for AMD CT/SZ Daniel Kurtz
2018-03-14 21:44   ` Daniel Kurtz
2018-03-19 10:31   ` Rafael J. Wysocki
2018-03-14 21:44 ` [PATCH v2 3/3] serial: core: Allow skipping old serial port initialization Daniel Kurtz
2018-03-14 21:44   ` Daniel Kurtz
2018-03-14 22:58   ` Kees Cook
2018-03-14 23:00     ` Kees Cook
2018-03-15  0:23       ` Daniel Kurtz
2018-03-15  0:55         ` Kees Cook
2018-03-15  1:08           ` Daniel Kurtz
2018-03-17 21:51   ` kbuild test robot
2018-03-17 21:51     ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.