]> git.karo-electronics.de Git - linux-beck.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)
commit4fcdff9bcabc135d72f69ed8723a14a9e514fe46
tree7e9ecb057b1a88b2102efc09ef1d2e421b7eb971
parent6f03541f6bbd1b02f659099b171bd4b91d6f1a53
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