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

regulator: mt6311: Add document for mt6311 regulator

This patch adds a list of supported regulator names to the devicetree
binding documentation for Mediatek MT6311 PMIC.

Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Henry Chen and committed by
Mark Brown
678cdb2f bc0195aa

+35
+35
Documentation/devicetree/bindings/regulator/mt6311-regulator.txt
··· 1 + Mediatek MT6311 Regulator Driver 2 + 3 + Required properties: 4 + - compatible: "mediatek,mt6311-regulator" 5 + - reg: I2C slave address, usually 0x6b. 6 + - regulators: List of regulators provided by this controller. It is named 7 + to VDVFS and VBIASN. 8 + The definition for each of these nodes is defined using the standard binding 9 + for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. 10 + 11 + The valid names for regulators are: 12 + BUCK: 13 + VDVFS 14 + LDO: 15 + VBIASN 16 + 17 + Example: 18 + mt6311: pmic@6b { 19 + compatible = "mediatek,mt6311-regulator"; 20 + reg = <0x6b>; 21 + 22 + regulators { 23 + mt6311_vcpu_reg: VDVFS { 24 + regulator-name = "VDVFS"; 25 + regulator-min-microvolt = < 600000>; 26 + regulator-max-microvolt = <1400000>; 27 + regulator-ramp-delay = <10000>; 28 + }; 29 + mt6311_ldo_reg: VBIASN { 30 + regulator-name = "VBIASN"; 31 + regulator-min-microvolt = <200000>; 32 + regulator-max-microvolt = <800000>; 33 + }; 34 + }; 35 + };