]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: Add new port type for TI DA8xx/66AK2x
authorDavid Lechner <david@lechnology.com>
Thu, 5 Jan 2017 18:54:18 +0000 (12:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:51:25 +0000 (11:51 +0100)
commitb2a8537eed9cc056be76a8e19586cfc5fb265a29
tree1c359520dd331f98d68a4e8bf329eebd2a935805
parent9a2647d2707d212b979d7a2df3bd6c6b7f10cc1c
serial: 8250: Add new port type for TI DA8xx/66AK2x

This adds a new UART port type for TI DA8xx/OMAPL13x/AM17xx/AM18xx/66AK2x.
These SoCs have standard 8250 registers plus some extra non-standard
registers.

The UART will not function unless the non-standard Power and Emulation
Management Register (PWREMU_MGMT) is configured correctly. This is
currently handled in arch/arm/mach-davinci/serial.c for non-device-tree
boards. Making this part of the UART driver will allow UART to work on
device-tree boards as well and the mach code can eventually be removed.

Signed-off-by: David Lechner <david@lechnology.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c
drivers/tty/serial/8250/8250_port.c
include/uapi/linux/serial_core.h
include/uapi/linux/serial_reg.h