kernel: bump 4.14 to 4.14.44
[openwrt/staging/lynxis.git] / target / linux / mediatek / patches-4.14 / 0137-dt-bindings-rtc-mediatek-add-bindings-for-MediaTek-S.patch
1 From 3254edde244fcbcce3bf4da1ade9db2db558ae28 Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Mon, 23 Oct 2017 15:16:44 +0800
4 Subject: [PATCH 137/224] dt-bindings: rtc: mediatek: add bindings for MediaTek
5 SoC based RTC
6
7 Add device-tree binding for MediaTek SoC based RTC
8
9 Cc: devicetree@vger.kernel.org
10 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
11 Acked-by: Rob Herring <robh@kernel.org>
12 Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
13 ---
14 .../devicetree/bindings/rtc/rtc-mt7622.txt | 21 +++++++++++++++++++++
15 1 file changed, 21 insertions(+)
16 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
17
18 --- /dev/null
19 +++ b/Documentation/devicetree/bindings/rtc/rtc-mt7622.txt
20 @@ -0,0 +1,21 @@
21 +Device-Tree bindings for MediaTek SoC based RTC
22 +
23 +Required properties:
24 +- compatible : Should be
25 + "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC
26 +- reg : Specifies base physical address and size of the registers;
27 +- interrupts : Should contain the interrupt for RTC alarm;
28 +- clocks : Specifies list of clock specifiers, corresponding to
29 + entries in clock-names property;
30 +- clock-names : Should contain "rtc" entries
31 +
32 +Example:
33 +
34 +rtc: rtc@10212800 {
35 + compatible = "mediatek,mt7622-rtc",
36 + "mediatek,soc-rtc";
37 + reg = <0 0x10212800 0 0x200>;
38 + interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
39 + clocks = <&topckgen CLK_TOP_RTC>;
40 + clock-names = "rtc";
41 +};