]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_omap: introduce "ti,am3352-uart" compatible property
authorSekhar Nori <nsekhar@ti.com>
Tue, 14 Jul 2015 08:02:06 +0000 (13:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 22:24:11 +0000 (15:24 -0700)
commit5b39d319f0e7a3432ae35ff866c0888eecac7c1b
tree7e9ecb057b1a88b2102efc09ef1d2e421b7eb971
parentad2e4301a3bc25cfa4fe562024d306b054be938b
serial: 8250_omap: introduce "ti,am3352-uart" compatible property

Use of of_machine_is_compatible() for handling AM335x specific
"DMA kick" quirk in 8250_omap driver makes it ugly to extend the
quirk for other platforms. Instead use a new compatible.

The new compatible will also make it easier to take care of
other quirks on AM335x and like SoCs.

In order to not break backward DTB compatibility for users of
8250_omap driver on AM335x based boards, existing use of
of_machine_is_compatible() has not been removed.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/omap_serial.txt
arch/arm/boot/dts/am33xx.dtsi
drivers/tty/serial/8250/8250_omap.c