serial: atmel: add support for new UART version
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 26 Jan 2016 10:26:15 +0000 (11:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:40:25 +0000 (22:40 -0800)
commit1d673fb971d4411e92991ca17ff2b54ce19af3a4
tree5c3f192196637bb22243833637cf787b11650077
parent4b769371fef7e5ad2ec9d7a677bb7001a0c5b213
serial: atmel: add support for new UART version

Starting with sama5d2, the new UART revision has an hardware timer. So, add it
to the IP detection code and set the "has_hw_timer" property for it.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Reported-by: David Mosberger <davidm@egauge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c