]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
serial: sh-sci: Add support for optional external (H)SCK input
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 18 Nov 2015 10:12:26 +0000 (11:12 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 17 Dec 2015 10:18:57 +0000 (11:18 +0100)
commit6af27bf299e2d66ade25f278f0c13d51007e9879
tree37d63eba2c48ff4e24e323c681629af371f22116
parentf4998e55b8987428aa86de02c934fb6e0988d9a3
serial: sh-sci: Add support for optional external (H)SCK input

Add support for using the SCIx clock pin "(H)SCK" as an external clock
input on (H)SCI(F), providing the sampling clock.

Note that this feature is not yet supported on the select SCIFA variants
that also have it (e.g. sh7723, sh7724, and r8a7740).

On (H)SCIF variants with an External Baud Rate Generator (BRG), the
BRG Clock Select Register must be configured for the external clock.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c