From: <sean.wang@mediatek.com> To: <a.zummo@towertech.it>, <alexandre.belloni@free-electrons.com>, <robh+dt@kernel.org>, <mark.rutland@arm.com> Cc: <linux-rtc@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-mediatek@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Sean Wang <sean.wang@mediatek.com> Subject: [PATCH 1/4] dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC Date: Fri, 22 Sep 2017 11:33:14 +0800 [thread overview] Message-ID: <1357cb02adb88a8a2d7c2268b8573c0a9b6f8d0c.1506049341.git.sean.wang@mediatek.com> (raw) In-Reply-To: <cover.1506049341.git.sean.wang@mediatek.com> From: Sean Wang <sean.wang@mediatek.com> Add device-tree binding for MediaTek SoC based RTC Cc: devicetree@vger.kernel.org Signed-off-by: Sean Wang <sean.wang@mediatek.com> --- .../devicetree/bindings/rtc/rtc-mediatek.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mediatek.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-mediatek.txt b/Documentation/devicetree/bindings/rtc/rtc-mediatek.txt new file mode 100644 index 0000000..09fe8f5 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mediatek.txt @@ -0,0 +1,21 @@ +Device-Tree bindings for MediaTek SoC based RTC + +Required properties: +- compatible : Should be + "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC +- reg : Specifies base physical address and size of the registers; +- interrupts : Should contain the interrupt for RTC alarm; +- clocks : Specifies list of clock specifiers, corresponding to + entries in clock-names property; +- clock-names : Should contain "rtc" entries + +Example: + +rtc: rtc@10212800 { + compatible = "mediatek,mt7622-rtc", + "mediatek,soc-rtc"; + reg = <0 0x10212800 0 0x200>; + interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>; + clocks = <&topckgen CLK_TOP_RTC>; + clock-names = "rtc"; +}; -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: <sean.wang@mediatek.com> To: a.zummo@towertech.it, alexandre.belloni@free-electrons.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Wang <sean.wang@mediatek.com> Subject: [PATCH 1/4] dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC Date: Fri, 22 Sep 2017 11:33:14 +0800 [thread overview] Message-ID: <1357cb02adb88a8a2d7c2268b8573c0a9b6f8d0c.1506049341.git.sean.wang@mediatek.com> (raw) In-Reply-To: <cover.1506049341.git.sean.wang@mediatek.com> From: Sean Wang <sean.wang@mediatek.com> Add device-tree binding for MediaTek SoC based RTC Cc: devicetree@vger.kernel.org Signed-off-by: Sean Wang <sean.wang@mediatek.com> --- .../devicetree/bindings/rtc/rtc-mediatek.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mediatek.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-mediatek.txt b/Documentation/devicetree/bindings/rtc/rtc-mediatek.txt new file mode 100644 index 0000000..09fe8f5 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mediatek.txt @@ -0,0 +1,21 @@ +Device-Tree bindings for MediaTek SoC based RTC + +Required properties: +- compatible : Should be + "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC +- reg : Specifies base physical address and size of the registers; +- interrupts : Should contain the interrupt for RTC alarm; +- clocks : Specifies list of clock specifiers, corresponding to + entries in clock-names property; +- clock-names : Should contain "rtc" entries + +Example: + +rtc: rtc@10212800 { + compatible = "mediatek,mt7622-rtc", + "mediatek,soc-rtc"; + reg = <0 0x10212800 0 0x200>; + interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>; + clocks = <&topckgen CLK_TOP_RTC>; + clock-names = "rtc"; +}; -- 2.7.4
next prev parent reply other threads:[~2017-09-22 3:33 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-09-22 3:33 [PATCH 0/4] rtc: mediatek: add support for SoC based RTC on MT7622 sean.wang 2017-09-22 3:33 ` sean.wang 2017-09-22 3:33 ` sean.wang [this message] 2017-09-22 3:33 ` [PATCH 1/4] dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC sean.wang 2017-10-03 21:58 ` Rob Herring 2017-09-22 3:33 ` [PATCH 2/4] rtc: mediatek: add driver for RTC on MT7622 SoC sean.wang 2017-09-22 3:33 ` sean.wang-NuS5LvNUpcJWk0Htik3J/w 2017-10-12 21:20 ` Alexandre Belloni 2017-10-16 8:17 ` Sean Wang 2017-10-16 8:17 ` Sean Wang 2017-10-17 3:24 ` Sean Wang 2017-10-17 3:24 ` Sean Wang 2017-09-22 3:33 ` [PATCH 3/4] rtc: mediatek: enhance the description for MediaTek PMIC based RTC sean.wang 2017-09-22 3:33 ` sean.wang 2017-09-22 8:07 ` Eddie Huang 2017-09-22 8:07 ` Eddie Huang 2017-09-22 3:33 ` [PATCH 4/4] rtc: mediatek: update MAINTAINERS entry with MediaTek RTC driver sean.wang 2017-09-22 3:33 ` sean.wang
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=1357cb02adb88a8a2d7c2268b8573c0a9b6f8d0c.1506049341.git.sean.wang@mediatek.com \ --to=sean.wang@mediatek.com \ --cc=a.zummo@towertech.it \ --cc=alexandre.belloni@free-electrons.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=linux-rtc@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=robh+dt@kernel.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.