OSDN Git Service

dt-bindings: Add device tree binding for Goldfish RTC driver
authorAleksandar Markovic <aleksandar.markovic@imgtec.com>
Fri, 18 Aug 2017 13:08:53 +0000 (15:08 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 31 Aug 2017 23:10:18 +0000 (01:10 +0200)
Add documentation for DT binding of Goldfish RTC driver. The compatible
string used by OS for binding the driver is "google,goldfish-rtc".

Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com>
Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.markovic@imgtec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt [new file with mode: 0644]
MAINTAINERS

diff --git a/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt b/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt
new file mode 100644 (file)
index 0000000..634312d
--- /dev/null
@@ -0,0 +1,17 @@
+Android Goldfish RTC
+
+Android Goldfish RTC device used by Android emulator.
+
+Required properties:
+
+- compatible : should contain "google,goldfish-rtc"
+- reg        : <registers mapping>
+- interrupts : <interrupt mapping>
+
+Example:
+
+       goldfish_timer@9020000 {
+               compatible = "google,goldfish-rtc";
+               reg = <0x9020000 0x1000>;
+               interrupts = <0x3>;
+       };
index 205d397..8366f92 100644 (file)
@@ -841,6 +841,11 @@ S: Supported
 F:     drivers/android/
 F:     drivers/staging/android/
 
+ANDROID GOLDFISH RTC DRIVER
+M:     Miodrag Dinic <miodrag.dinic@imgtec.com>
+S:     Supported
+F:     Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt
+
 ANDROID ION DRIVER
 M:     Laura Abbott <labbott@redhat.com>
 M:     Sumit Semwal <sumit.semwal@linaro.org>