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> (cherry picked from commit 65d687a7b7d6f27e4306fe8cc8a1ca66a1a760f6) Change-Id: If947ea3341ff0cb713c56e14d18d51a3f5912b64
17 lines
391 B
Text
17 lines
391 B
Text
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>;
|
|
};
|