Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mfd: mediatek: Add MT6323 Power Controller

- Add Power Controller section to existing binding document.
- Add MT6323 PWRC bindings document with example.

Suggested-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Josef Friedl <josef.friedl@speed.at>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Josef Friedl and committed by
Lee Jones
8ab1267f 7051919d

+26
+6
Documentation/devicetree/bindings/mfd/mt6397.txt
··· 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. ··· 48 47 Required properties: 49 48 - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys" 50 49 see ../input/mtk-pmic-keys.txt 50 + 51 + - power-controller 52 + Required properties: 53 + - compatible: "mediatek,mt6323-pwrc" 54 + For details, see ../power/reset/mt6323-poweroff.txt 51 55 52 56 Example: 53 57 pwrap: pwrap@1000f000 {
+20
Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
··· 1 + Device Tree Bindings for Power Controller on MediaTek PMIC 2 + 3 + The power controller which could be found on PMIC is responsible for externally 4 + powering off or on the remote MediaTek SoC through the circuit BBPU. 5 + 6 + Required properties: 7 + - compatible: Should be one of follows 8 + "mediatek,mt6323-pwrc": for MT6323 PMIC 9 + 10 + Example: 11 + 12 + pmic { 13 + compatible = "mediatek,mt6323"; 14 + 15 + ... 16 + 17 + power-controller { 18 + compatible = "mediatek,mt6323-pwrc"; 19 + }; 20 + }