From: Eddie Huang <eddie.huang@mediatek.com>
To: Alessandro Zummo <a.zummo@towertech.it>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, srv_heupstream@mediatek.com,
Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
rtc-linux@googlegroups.com, yh.chen@mediatek.com,
linux-kernel@vger.kernel.org,
Tianping Fang <tianping.fang@mediatek.com>,
Rob Herring <robh+dt@kernel.org>,
Sascha Hauer <kernel@pengutronix.de>,
Kumar Gala <galak@codeaurora.org>,
Grant Likely <grant.likely@linaro.org>,
yingjoe.chen@mediatek.com, Eddie Huang <eddie.huang@mediatek.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] dt: bindings: Add Mediatek RTC driver binding document
Date: Wed, 28 Jan 2015 17:27:55 +0800 [thread overview]
Message-ID: <1422437276-41334-2-git-send-email-eddie.huang@mediatek.com> (raw)
In-Reply-To: <1422437276-41334-1-git-send-email-eddie.huang@mediatek.com>
Add MT63xx RTC driver binding document.
Signed-off-by: Tianping Fang <tianping.fang@mediatek.com>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
---
.../devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt
diff --git a/Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt b/Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt
new file mode 100644
index 0000000..6347d4a
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt
@@ -0,0 +1,18 @@
+Mediatek MT63xx real-time clock
+
+MT63xx is Mediatek PMIC chip series. RTC is one submodule of PMIC chip.
+The RTC maintains seconds counter, also provide alarm function.
+
+Required properties:
+- compatible: Should be "mediatek,mt6397-rtc".
+- reg: base physical address and size of the registers.
+- interrupt-parent: phandle for the interrupt controller
+- interrupts: RTC alarm interrupt.
+
+Examples:
+rtc: rtc@e000 {
+ compatible = "mediatek,mt6397-rtc";
+ reg = <0xe000 0x3e>;
+ interrupt-parent = <&pmic>;
+ interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
+};
--
1.8.1.1.dirty
next prev parent reply other threads:[~2015-01-28 9:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 9:27 [PATCH 0/2] Add Mediatek RTC driver Eddie Huang
2015-01-28 9:27 ` Eddie Huang [this message]
2015-01-28 9:27 ` [PATCH 2/2] rtc: mediatek: Add MT63xx " Eddie Huang
2015-02-23 21:50 ` [rtc-linux] " Andrew Morton
2015-03-02 8:20 ` Eddie Huang
2015-03-02 19:35 ` Andrew Morton
2015-03-13 10:29 ` Eddie Huang
2015-03-13 10:57 ` Sascha Hauer
[not found] ` <20150313105742.GS24885-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-03-16 9:52 ` Eddie Huang
2015-03-13 11:19 ` Matthias Brugger
2015-03-16 15:30 ` Uwe Kleine-König
[not found] ` <20150316153048.GC10068-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-03-17 12:31 ` Eddie Huang
2015-03-17 13:43 ` Uwe Kleine-König
2015-03-18 3:27 ` Eddie Huang
2015-03-18 7:42 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422437276-41334-2-git-send-email-eddie.huang@mediatek.com \
--to=eddie.huang@mediatek.com \
--cc=a.zummo@towertech.it \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=rtc-linux@googlegroups.com \
--cc=srv_heupstream@mediatek.com \
--cc=tianping.fang@mediatek.com \
--cc=yh.chen@mediatek.com \
--cc=yingjoe.chen@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).