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

regulator: max77686: Document gpio properties

Document usage of maxim,ena-gpios properties which turn on external/GPIO
control over regulator.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
64d3d25c 3307e902

+14
+14
Documentation/devicetree/bindings/mfd/max77686.txt
··· 39 39 -BUCKn : 1-4. 40 40 Use standard regulator bindings for it ('regulator-off-in-suspend'). 41 41 42 + LDO20, LDO21, LDO22, BUCK8 and BUCK9 can be configured to GPIO enable 43 + control. To turn this feature on this property must be added to the regulator 44 + sub-node: 45 + - maxim,ena-gpios : one GPIO specifier enable control (the gpio 46 + flags are actually ignored and always 47 + ACTIVE_HIGH is used) 42 48 43 49 Example: 44 50 ··· 70 64 regulator-max-microvolt = <1300000>; 71 65 regulator-always-on; 72 66 regulator-boot-on; 67 + }; 68 + 69 + buck9_reg { 70 + regulator-compatible = "BUCK9"; 71 + regulator-name = "CAM_ISP_CORE_1.2V"; 72 + regulator-min-microvolt = <1000000>; 73 + regulator-max-microvolt = <1200000>; 74 + maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>; 73 75 }; 74 76 }