BACKPORT: drivers: tty: goldfish: Add device tree bindings
authorMiodrag Dinic <miodrag.dinic@imgtec.com>
Fri, 26 Feb 2016 19:00:44 +0000 (19:00 +0000)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 1 Dec 2016 09:48:44 +0000 (15:18 +0530)
commit7912004ee2521cc393583958fee86cbd1f82c589
tree19cd3c268048a7121a1aca952f6bd9c39201ee84
parent44a4608e6a9848af3e641ea5cb63b5353eda22e2
BACKPORT: drivers: tty: goldfish: Add device tree bindings

Enable support for registering this device using the device tree.
Device tree node example for registering Goldfish TTY device :

goldfish_tty@1f004000 {
    interrupts = <0xc>;
    reg = <0x1f004000 0x1000>;
    compatible = "google,goldfish-tty";
};

Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com>
Signed-off-by: Jin Qian <jinqian@android.com>
Signed-off-by: Alan <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 9b883eea26ccf043b608e398cf6a26231d44f5fb)

Change-Id: Idbe1bbac4f371e2feb6730712b08b66be1188ea7
Documentation/devicetree/bindings/goldfish/tty.txt [new file with mode: 0644]
drivers/tty/goldfish.c