Skip to content

Commit 82245b6

Browse files
Josef FriedlLee Jones
authored andcommitted
dt-bindings: rtc: mediatek: add missing mt6397 rtc
add missing devicetree-binding document for mt6397 rtc in later patch driver is extended with mt6323 chip Suggested-By: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Josef Friedl <josef.friedl@speed.at> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent 54ecb8f commit 82245b6

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Device-Tree bindings for MediaTek PMIC based RTC
2+
3+
MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works
4+
as a type of multi-function device (MFD). The RTC can be configured and set up
5+
with PMIC wrapper bus which is a common resource shared with the other
6+
functions found on the same PMIC.
7+
8+
For MediaTek PMIC MFD bindings, see:
9+
../mfd/mt6397.txt
10+
11+
For MediaTek PMIC wrapper bus bindings, see:
12+
../soc/mediatek/pwrap.txt
13+
14+
Required properties:
15+
- compatible: Should be one of follows
16+
"mediatek,mt6323-rtc": for MT6323 PMIC
17+
"mediatek,mt6397-rtc": for MT6397 PMIC
18+
19+
Example:
20+
21+
pmic {
22+
compatible = "mediatek,mt6323";
23+
24+
...
25+
26+
rtc {
27+
compatible = "mediatek,mt6323-rtc";
28+
};
29+
};

0 commit comments

Comments
 (0)