-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Miodrag Dinic
authored and
Greg Kroah-Hartman
committed
Mar 8, 2016
1 parent
106020c
commit 9b883ee
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Android Goldfish TTY | ||
|
||
Android goldfish tty device generated by android emulator. | ||
|
||
Required properties: | ||
|
||
- compatible : should contain "google,goldfish-tty" to match emulator | ||
- reg : <registers mapping> | ||
- interrupts : <interrupt mapping> | ||
|
||
Example: | ||
|
||
goldfish_tty@1f004000 { | ||
compatible = "google,goldfish-tty"; | ||
reg = <0x1f004000 0x1000>; | ||
interrupts = <0xc>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters