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)
committerJin Qian <jinqian@google.com>
Thu, 17 Nov 2016 17:56:06 +0000 (09:56 -0800)
commitb58abfa8bd400855bf09c84ae27dd2a4446c60f9
treec2f6d482161402d0f637488f4ec38f45b109689b
parent3f5a380007fec7d4f6a0f361cf9da78a206e53c1
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