summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
blob: 55a0c8874c03b1dfb9b556c704417668579a45fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Device-Tree bindings for MediaTek PMIC based RTC

MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works
as a type of multi-function device (MFD). The RTC can be configured and set up
with PMIC wrapper bus which is a common resource shared with the other
functions found on the same PMIC.

For MediaTek PMIC MFD bindings, see:
../mfd/mt6397.txt

For MediaTek PMIC wrapper bus bindings, see:
../soc/mediatek/pwrap.txt

Required properties:
- compatible: Should be one of follows
       "mediatek,mt6323-rtc": for MT6323 PMIC
       "mediatek,mt6397-rtc": for MT6397 PMIC

Example:

       pmic {
               compatible = "mediatek,mt6323";

               ...

               rtc {
                       compatible = "mediatek,mt6323-rtc";
               };
       };