summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/goldfish
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2016-02-26 18:45:30 +0000
committerSebastian Reichel <sre@kernel.org>2016-03-03 13:53:52 +0100
commit65d687a7b7d6f27e4306fe8cc8a1ca66a1a760f6 (patch)
treee07b339d1eaccea825a78dca2550445324380dd4 /Documentation/devicetree/bindings/goldfish
parent5c0e09e03fb5bc25ecb6a90c2bf89e0abc9f920f (diff)
power: goldfish_battery: add devicetree bindings
Add device tree bindings to the Goldfish virtual platform battery drivers. Signed-off-by: Greg Hackmann <ghackmann@google.com> Signed-off-by: Jin Qian <jinqian@android.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/goldfish')
-rw-r--r--Documentation/devicetree/bindings/goldfish/battery.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/goldfish/battery.txt b/Documentation/devicetree/bindings/goldfish/battery.txt
new file mode 100644
index 000000000000..4fb613933214
--- /dev/null
+++ b/Documentation/devicetree/bindings/goldfish/battery.txt
@@ -0,0 +1,17 @@
+Android Goldfish Battery
+
+Android goldfish battery device generated by android emulator.
+
+Required properties:
+
+- compatible : should contain "google,goldfish-battery" to match emulator
+- reg : <registers mapping>
+- interrupts : <interrupt mapping>
+
+Example:
+
+ goldfish_battery@9020000 {
+ compatible = "google,goldfish-battery";
+ reg = <0x9020000 0x1000>;
+ interrupts = <0x3>;
+ };