Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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,mt6358-rtc": for MT6358 PMIC |
| 18 | "mediatek,mt6366-rtc", "mediatek,mt6358-rtc": for MT6366 PMIC |
| 19 | "mediatek,mt6397-rtc": for MT6397 PMIC |
| 20 | |
| 21 | Example: |
| 22 | |
| 23 | pmic { |
| 24 | compatible = "mediatek,mt6323"; |
| 25 | |
| 26 | ... |
| 27 | |
| 28 | rtc { |
| 29 | compatible = "mediatek,mt6323-rtc"; |
| 30 | }; |
| 31 | }; |