mmc: sdhci-of-arasan: Add the support for sdhci-5.1
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / mt6397.txt
blob15043e6526990c3ae4c2dba184f215fe7f85ec22
1 MediaTek MT6397 Multifunction Device Driver
3 MT6397 is a multifunction device with the following sub modules:
4 - Regulator
5 - RTC
6 - Audio codec
7 - GPIO
8 - Clock
10 It is interfaced to host controller using SPI interface by a proprietary hardware
11 called PMIC wrapper or pwrap. MT6397 MFD is a child device of pwrap.
12 See the following for pwarp node definitions:
13 Documentation/devicetree/bindings/soc/pwrap.txt
15 This document describes the binding for MFD device and its sub module.
17 Required properties:
18 compatible: "mediatek,mt6397"
20 Optional subnodes:
22 - rtc
23         Required properties:
24                 - compatible: "mediatek,mt6397-rtc"
25 - regulators
26         Required properties:
27                 - compatible: "mediatek,mt6397-regulator"
28         see Documentation/devicetree/bindings/regulator/mt6397-regulator.txt
29 - codec
30         Required properties:
31                 - compatible: "mediatek,mt6397-codec"
32 - clk
33         Required properties:
34                 - compatible: "mediatek,mt6397-clk"
36 Example:
37         pwrap: pwrap@1000f000 {
38                 compatible = "mediatek,mt8135-pwrap";
40                 ...
42                 pmic {
43                         compatible = "mediatek,mt6397";
45                         codec: mt6397codec {
46                                 compatible = "mediatek,mt6397-codec";
47                         };
49                         regulators {
50                                 compatible = "mediatek,mt6397-regulator";
52                                 mt6397_vpca15_reg: buck_vpca15 {
53                                         regulator-compatible = "buck_vpca15";
54                                         regulator-name = "vpca15";
55                                         regulator-min-microvolt = <850000>;
56                                         regulator-max-microvolt = <1400000>;
57                                         regulator-ramp-delay = <12500>;
58                                         regulator-always-on;
59                                 };
61                                 mt6397_vgp4_reg: ldo_vgp4 {
62                                         regulator-compatible = "ldo_vgp4";
63                                         regulator-name = "vgp4";
64                                         regulator-min-microvolt = <1200000>;
65                                         regulator-max-microvolt = <3300000>;
66                                         regulator-enable-ramp-delay = <218>;
67                                 };
68                         };
69                 };
70         };