]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: lpuart: introduce lpuart_soc_data to represent SoC property
authorDong Aisheng <aisheng.dong@nxp.com>
Tue, 13 Jun 2017 02:55:48 +0000 (10:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 15:12:33 +0000 (17:12 +0200)
commit734d4898ccfe8c2cdab47c7d9f183f8389fdfb64
tree77cb9b90e320aa2bb14d284db65f14d3356801bd
parent4ffd76ba1df4816ba3149d5f3c93a9e9bf1bc344
tty: serial: lpuart: introduce lpuart_soc_data to represent SoC property

This is used to dynamically check the SoC specific lpuart properies.
Currently only the iotype is added, it functions the same as before.
With this, new chips with different iotype will be more easily added.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Cc: Fugang Duan <fugang.duan@nxp.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c