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

mfd: dt-bindings: Add Device Tree bindings for HI6421

Add documentation for HiSilicon Hi6421 PMIC DT binding.

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Guodong Xu and committed by
Lee Jones
0709b048 85de80e8

+38
+38
Documentation/devicetree/bindings/mfd/hi6421.txt
··· 1 + * HI6421 Multi-Functional Device (MFD), by HiSilicon Ltd. 2 + 3 + Required parent device properties: 4 + - compatible : contains "hisilicon,hi6421-pmic"; 5 + - reg : register range space of hi6421; 6 + 7 + Supported Hi6421 sub-devices include: 8 + 9 + Device IRQ Names Supply Names Description 10 + ------ --------- ------------ ----------- 11 + regulators : None : None : Regulators 12 + 13 + Required child device properties: 14 + None. 15 + 16 + Example: 17 + hi6421 { 18 + compatible = "hisilicon,hi6421-pmic"; 19 + reg = <0xfcc00000 0x0180>; /* 0x60 << 2 */ 20 + 21 + regulators { 22 + // supply for MLC NAND/ eMMC 23 + hi6421_vout0_reg: hi6421_vout0 { 24 + regulator-name = "VOUT0"; 25 + regulator-min-microvolt = <2850000>; 26 + regulator-max-microvolt = <2850000>; 27 + }; 28 + 29 + // supply for 26M Oscillator 30 + hi6421_vout1_reg: hi6421_vout1 { 31 + regulator-name = "VOUT1"; 32 + regulator-min-microvolt = <1700000>; 33 + regulator-max-microvolt = <2000000>; 34 + regulator-boot-on; 35 + regulator-always-on; 36 + }; 37 + }; 38 + };