Skip to content

pch_uart: Cleanups, board quirks, and user uartclk parameter

Darren Hart linux-serial lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v24 patches 15 repliesSuperseded
  3. v14 patches 14 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pch_uart: Use uartclk instead of base_bauddrivers/tty/serial/pch_uart.c+10 -100 replies
2/5pch_uart: Add Fish River Island II uart clock quirksdrivers/tty/serial/pch_uart.c+27 -130 replies
3/5pch_uart: Add user_uartclk parameterdrivers/tty/serial/pch_uart.c+5 -00 replies
4/5pch_uart: Use existing default_baud in setup_consoledrivers/tty/serial/pch_uart.c+1 -10 replies
5/5pch_uart: Add module parameter descriptionsdrivers/tty/serial/pch_uart.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH 0/5 V3] pch_uart: Cleanups, board quirks, and user uartclk parameter

This series does some minor clean-up to the pch_uart driver, adds support for the Fish River Island II UART clock quirks, and introduces a user_uartclk parameter to aid in developing for early and changing hardware.

In order to support an early serial console, we cannot rely on the pch_phub probe function to setup the CFGCLK register. This series relies on the board quirks and does not force the setting of the CLKREG in the pch_phub code. Instead, it aligns with what is the default configuration (defined by firmware) for a given board. The user_uartclk parameter provides a mechanism to force a specific uartclk if necessary.

V2: Incorporates Alan Cox's feedback into 2/4: Add Fish River Island II uart
clock quirks, refactoring the clock quirks into a new function and using a more appropriate name for a reused string variable.
Add support for the two firmware variants for the FRI2.

V3: Rebase on linux-next.git/master rather than linux-2.6.git.
Add module parameter descriptions.

The following changes since commit d5ba8c14a256799efb1048151fe3490f9cb989b9:

Add linux-next specific files for 20120309 (2012-03-09 19:04:19 +1100)

are available in the git repository at:
git://git.infradead.org/users/dvhart/linux-next.git pch_uart_v3
http://git.infradead.org/users/dvhart/linux-next.git/shortlog/refs/heads/pch_uart_v3

Darren Hart (5):
pch_uart: Use uartclk instead of base_baud
pch_uart: Add Fish River Island II uart clock quirks
pch_uart: Add user_uartclk parameter
pch_uart: Use existing default_baud in setup_console
pch_uart: Add module parameter descriptions

 drivers/tty/serial/pch_uart.c |   59 ++++++++++++++++++++++++++++------------
 1 files changed, 41 insertions(+), 18 deletions(-)
Signature · 1 line
1.7.6.5