dt-bindings: consolidate display related bindings
[deliverable/linux.git] / Documentation / devicetree / bindings / mfd / mt6397.txt
1 MediaTek MT6397 Multifunction Device Driver
2
3 MT6397 is a multifunction device with the following sub modules:
4 - Regulator
5 - RTC
6 - Audio codec
7 - GPIO
8 - Clock
9
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
14
15 This document describes the binding for MFD device and its sub module.
16
17 Required properties:
18 compatible: "mediatek,mt6397"
19
20 Optional subnodes:
21
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"
35
36 Example:
37 pwrap: pwrap@1000f000 {
38 compatible = "mediatek,mt8135-pwrap";
39
40 ...
41
42 pmic {
43 compatible = "mediatek,mt6397";
44
45 codec: mt6397codec {
46 compatible = "mediatek,mt6397-codec";
47 };
48
49 regulators {
50 compatible = "mediatek,mt6397-regulator";
51
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 };
60
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 };
This page took 0.039171 seconds and 5 git commands to generate.