rtc: stm32: fix misspelling and misalignment issues
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / mt6397.txt
blob522a3bbf1bac0482018970f966a06b58aa43faf5
1 MediaTek MT6397/MT6323 Multifunction Device Driver
3 MT6397/MT6323 is a multifunction device with the following sub modules:
4 - Regulator
5 - RTC
6 - Audio codec
7 - GPIO
8 - Clock
9 - LED
11 It is interfaced to host controller using SPI interface by a proprietary hardware
12 called PMIC wrapper or pwrap. MT6397/MT6323 MFD is a child device of pwrap.
13 See the following for pwarp node definitions:
14 Documentation/devicetree/bindings/soc/pwrap.txt
16 This document describes the binding for MFD device and its sub module.
18 Required properties:
19 compatible: "mediatek,mt6397" or "mediatek,mt6323"
21 Optional subnodes:
23 - rtc
24         Required properties:
25                 - compatible: "mediatek,mt6397-rtc"
26 - regulators
27         Required properties:
28                 - compatible: "mediatek,mt6397-regulator"
29         see Documentation/devicetree/bindings/regulator/mt6397-regulator.txt
30                 - compatible: "mediatek,mt6323-regulator"
31         see Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
32 - codec
33         Required properties:
34                 - compatible: "mediatek,mt6397-codec"
35 - clk
36         Required properties:
37                 - compatible: "mediatek,mt6397-clk"
38 - led
39         Required properties:
40                 - compatible: "mediatek,mt6323-led"
41         see Documentation/devicetree/bindings/leds/leds-mt6323.txt
43 Example:
44         pwrap: pwrap@1000f000 {
45                 compatible = "mediatek,mt8135-pwrap";
47                 ...
49                 pmic {
50                         compatible = "mediatek,mt6397";
52                         codec: mt6397codec {
53                                 compatible = "mediatek,mt6397-codec";
54                         };
56                         regulators {
57                                 compatible = "mediatek,mt6397-regulator";
59                                 mt6397_vpca15_reg: buck_vpca15 {
60                                         regulator-compatible = "buck_vpca15";
61                                         regulator-name = "vpca15";
62                                         regulator-min-microvolt = <850000>;
63                                         regulator-max-microvolt = <1400000>;
64                                         regulator-ramp-delay = <12500>;
65                                         regulator-always-on;
66                                 };
68                                 mt6397_vgp4_reg: ldo_vgp4 {
69                                         regulator-compatible = "ldo_vgp4";
70                                         regulator-name = "vgp4";
71                                         regulator-min-microvolt = <1200000>;
72                                         regulator-max-microvolt = <3300000>;
73                                         regulator-enable-ramp-delay = <218>;
74                                 };
75                         };
76                 };
77         };