]> git.karo-electronics.de Git - linux-beck.git/commit
serial: sh-sci: Correct SCIF type on R-Car for BRG
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Nov 2015 17:57:23 +0000 (18:57 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 17 Dec 2015 10:18:52 +0000 (11:18 +0100)
commit9ed44bb209d0ece90abb6b4279d8b18e17680476
treef0429ad0b137bddc81012f2807fc712c9c85fcdc
parentf443ff80d02d74be6c3930e325a6573eb06347ea
serial: sh-sci: Correct SCIF type on R-Car for BRG

The "renesas,scif" compatible value is currently used for the SCIF
variant in all Renesas SoCs of the R-Car family.  However, the variant
used in the R-Car family is not the common "SH-4(A)" variant, but a
derivative with added "Baud Rate Generator for External Clock" (BRG),
which is also present in sh7734.

Use the family-specific SCIF compatible values for R-Car Gen1, Gen2, and
Gen3 SoCs to differentiate.  The "renesas,scif" compatible value can
still be used as a common denominator for SCIF variants with the
"SH-4(A)" register layout (i.e. ignoring the "Serial Extension Mode
Register" (SCEMR) and the new BRG-specific registers).

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