[PATCH] serial: ns16550: Add devicetree support

Sascha Hauer s.hauer at pengutronix.de
Tue Jul 23 02:40:04 EDT 2013


This adds the necessary preparations to make the ns16550 driver devicetree
aware and finally adds devicetree support to the driver.

----------------------------------------------------------------
Sascha Hauer (6):
      clk: provide static inline wrappers
      serial: ns16550: reorder functions to avoid forward declaration
      serial: ns16550: introduce private struct
      serial: ns16550: remove f_caps from platform_data
      serial: ns16550: Add clk support and make platform_data optional
      serial: ns16550: Add devicetree probe support

 arch/arm/Kconfig                |   3 +
 drivers/clk/Kconfig             |   3 +
 drivers/serial/serial_ns16550.c | 134 ++++++++++++++++++++++++++++------------
 include/linux/clk.h             |  39 +++++++++++-
 include/ns16550.h               |   4 --
 5 files changed, 139 insertions(+), 44 deletions(-)



More information about the barebox mailing list