| .. | .. |
|---|
| 8 | 8 | - Clock |
|---|
| 9 | 9 | - LED |
|---|
| 10 | 10 | - Keys |
|---|
| 11 | +- Power controller |
|---|
| 11 | 12 | |
|---|
| 12 | 13 | It is interfaced to host controller using SPI interface by a proprietary hardware |
|---|
| 13 | 14 | called PMIC wrapper or pwrap. MT6397/MT6323 MFD is a child device of pwrap. |
|---|
| 14 | 15 | See the following for pwarp node definitions: |
|---|
| 15 | | -Documentation/devicetree/bindings/soc/mediatek/pwrap.txt |
|---|
| 16 | +../soc/mediatek/pwrap.txt |
|---|
| 16 | 17 | |
|---|
| 17 | 18 | This document describes the binding for MFD device and its sub module. |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | Required properties: |
|---|
| 20 | | -compatible: "mediatek,mt6397" or "mediatek,mt6323" |
|---|
| 21 | +compatible: |
|---|
| 22 | + "mediatek,mt6323" for PMIC MT6323 |
|---|
| 23 | + "mediatek,mt6358" for PMIC MT6358 |
|---|
| 24 | + "mediatek,mt6397" for PMIC MT6397 |
|---|
| 21 | 25 | |
|---|
| 22 | 26 | Optional subnodes: |
|---|
| 23 | 27 | |
|---|
| 24 | 28 | - rtc |
|---|
| 25 | | - Required properties: |
|---|
| 29 | + Required properties: Should be one of follows |
|---|
| 30 | + - compatible: "mediatek,mt6323-rtc" |
|---|
| 31 | + - compatible: "mediatek,mt6358-rtc" |
|---|
| 26 | 32 | - compatible: "mediatek,mt6397-rtc" |
|---|
| 33 | + For details, see ../rtc/rtc-mt6397.txt |
|---|
| 27 | 34 | - regulators |
|---|
| 28 | 35 | Required properties: |
|---|
| 29 | | - - compatible: "mediatek,mt6397-regulator" |
|---|
| 30 | | - see Documentation/devicetree/bindings/regulator/mt6397-regulator.txt |
|---|
| 31 | 36 | - compatible: "mediatek,mt6323-regulator" |
|---|
| 32 | | - see Documentation/devicetree/bindings/regulator/mt6323-regulator.txt |
|---|
| 37 | + see ../regulator/mt6323-regulator.txt |
|---|
| 38 | + - compatible: "mediatek,mt6358-regulator" |
|---|
| 39 | + see ../regulator/mt6358-regulator.txt |
|---|
| 40 | + - compatible: "mediatek,mt6397-regulator" |
|---|
| 41 | + see ../regulator/mt6397-regulator.txt |
|---|
| 33 | 42 | - codec |
|---|
| 34 | 43 | Required properties: |
|---|
| 35 | | - - compatible: "mediatek,mt6397-codec" |
|---|
| 44 | + - compatible: "mediatek,mt6397-codec" or "mediatek,mt6358-sound" |
|---|
| 36 | 45 | - clk |
|---|
| 37 | 46 | Required properties: |
|---|
| 38 | 47 | - compatible: "mediatek,mt6397-clk" |
|---|
| 39 | 48 | - led |
|---|
| 40 | 49 | Required properties: |
|---|
| 41 | 50 | - compatible: "mediatek,mt6323-led" |
|---|
| 42 | | - see Documentation/devicetree/bindings/leds/leds-mt6323.txt |
|---|
| 51 | + see ../leds/leds-mt6323.txt |
|---|
| 43 | 52 | |
|---|
| 44 | 53 | - keys |
|---|
| 45 | 54 | Required properties: |
|---|
| 46 | 55 | - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys" |
|---|
| 47 | | - see Documentation/devicetree/bindings/input/mtk-pmic-keys.txt |
|---|
| 56 | + see ../input/mtk-pmic-keys.txt |
|---|
| 57 | + |
|---|
| 58 | +- power-controller |
|---|
| 59 | + Required properties: |
|---|
| 60 | + - compatible: "mediatek,mt6323-pwrc" |
|---|
| 61 | + For details, see ../power/reset/mt6323-poweroff.txt |
|---|
| 62 | + |
|---|
| 63 | +- pin-controller |
|---|
| 64 | + Required properties: |
|---|
| 65 | + - compatible: "mediatek,mt6397-pinctrl" |
|---|
| 66 | + For details, see ../pinctrl/pinctrl-mt65xx.txt |
|---|
| 48 | 67 | |
|---|
| 49 | 68 | Example: |
|---|
| 50 | 69 | pwrap: pwrap@1000f000 { |
|---|