]> git.baikalelectronics.ru Git - 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)
commit706489b86a28143c4892afd15ed8588da5492e82
tree37d63eba2c48ff4e24e323c681629af371f22116
parent37e9c2672a84fc33528d466590fa8143d02f0dac
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