drivers: tty: goldfish: Add device tree bindings
authorMiodrag Dinic <miodrag.dinic@imgtec.com>
Fri, 26 Feb 2016 19:00:44 +0000 (19:00 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000 (16:11 -0800)
commit9b883eea26ccf043b608e398cf6a26231d44f5fb
treecc966458f88e68fa646124e4c75b3a7fe02ac05d
parent106020ccee79c7fcf3875c47000525d957c9bcf1
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>
Documentation/devicetree/bindings/goldfish/tty.txt [new file with mode: 0644]
drivers/tty/goldfish.c