]> git.baikalelectronics.ru Git - kernel.git/commit
serial: samsung: get fifosize via device tree
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Mon, 14 Jul 2014 11:37:16 +0000 (17:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:18:22 +0000 (18:18 -0700)
commit5dfc4bec5fddbe544f6b3d77d4702e84df9c9a59
tree4ef8a12ac1a415767e7e4c0a597abf4201076cc3
parenteaac0c1a45b8d6a3a21e91a8d72821842ff66c4d
serial: samsung: get fifosize via device tree

UART modules on some SoCs only differ in the fifosize of each
UART channel. Its useless to duplicate the drv_data structure
or create a compatible name for such a change.

We can get fifosize via the device tree nodes (not mandating it).

Also updates the documentation.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/samsung_uart.txt
drivers/tty/serial/samsung.c