earlycon: Let users set the clock frequency
authorRicardo Ribalda <ribalda@chromium.org>
Thu, 24 Nov 2022 12:39:07 +0000 (13:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 13:56:44 +0000 (14:56 +0100)
commit374b30f27f1ae5a88c7f2868ec4abff9fc14d679
treeada81763881ebad7febad1a210a9d9eab569c6d6
parent5dc4c995db9eb45f6373a956eb1f69460e69e6d4
earlycon: Let users set the clock frequency

Some platforms, namely AMD Picasso, use non standard uart clocks (48M),
witch makes it impossible to use with earlycon.

Let the user select its own frequency.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123-serial-clk-v3-1-49c516980ae0@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/admin-guide/kernel-parameters.txt
drivers/tty/serial/earlycon.c