Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676898

[PATCH v2 01/10] Documentation: Add device tree binding for Goldfish RTC driver

From Aleksandar Markovic <aleksandar.markovic@rt-rk.com>
Newsgroups linux.kernel
Subject [PATCH v2 01/10] Documentation: Add device tree binding for Goldfish RTC driver
Date 2017-06-28 18:10 +0200
Message-ID <tXnHs-AC-37@gated-at.bofh.it> (permalink)
References <tXnxM-hR-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Aleksandar Markovic <aleksandar.markovic@imgtec.com>

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>
---
 .../devicetree/bindings/rtc/google,goldfish-rtc.txt     | 17 +++++++++++++++++
 MAINTAINERS                                             |  5 +++++
 2 files changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt

diff --git a/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt b/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt
new file mode 100644
index 0000000..634312d
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt
@@ -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>;
+	};
diff --git a/MAINTAINERS b/MAINTAINERS
index 09b5ab6..519cdef 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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>
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/10] MIPS: Add virtual Ranchu board as a generic-based board Aleksandar Markovic <aleksandar.markovic@rt-rk.com> - 2017-06-28 18:10 +0200
  [PATCH v2 07/10] video: goldfishfb: Add support for device tree bindings Aleksandar Markovic <aleksandar.markovic@rt-rk.com> - 2017-06-28 18:10 +0200
  [PATCH v2 09/10] MIPS: i8042: Probe this device only if it exists Aleksandar Markovic <aleksandar.markovic@rt-rk.com> - 2017-06-28 18:10 +0200
  [PATCH v2 06/10] Documentation: Add device tree binding for Goldfish FB driver Aleksandar Markovic <aleksandar.markovic@rt-rk.com> - 2017-06-28 18:10 +0200
    Re: [PATCH v2 06/10] Documentation: Add device tree binding for  Goldfish FB driver Rob Herring <robh+dt@kernel.org> - 2017-06-30 01:20 +0200
  [PATCH v2 04/10] MIPS: ranchu: Add Goldfish PIC driver Aleksandar Markovic <aleksandar.markovic@rt-rk.com> - 2017-06-28 18:10 +0200
    Re: [PATCH v2 04/10] MIPS: ranchu: Add Goldfish PIC driver Marc Zyngier <marc.zyngier@arm.com> - 2017-06-28 20:00 +0200
  [PATCH v2 02/10] MIPS: ranchu: Add Goldfish RTC driver Aleksandar Markovic <aleksandar.markovic@rt-rk.com> - 2017-06-28 18:10 +0200
  [PATCH v2 01/10] Documentation: Add device tree binding for Goldfish RTC driver Aleksandar Markovic <aleksandar.markovic@rt-rk.com> - 2017-06-28 18:10 +0200

csiph-web