TPS voltage regulators Required properties: - compatible: Must be "regulator-tps". - voltage-count: The number of configs used by the voltage selectors. Must be 1 or 2. - regulator-min-microvolt: The minimum output voltage. - regulator-max-microvolt: The maximum output voltage. - en-gpios: The phandle for the enable gpio - en-delay: Delay in microseconds, if any, after turning on enable gpio. 0 if no delay. - dis-delay: Delay in microseconds, if any, before turning off enable gpio. 0 if no delay. Optional properties: - en-pin-only: Set this property if only one gpio (enable gpio) is needed. Any sub-node will be ignored. The regulator will be a fixed voltage regulator where the output voltage is the value of regulator-min-microvolt. Required properties of the sub-nodes: - voltage-level-uv: Must be 5000000 or 7000000. - control-gpio-count: the number of gpios involved in controlling the regulator. - control-gpios: list of phandles for the control gpio. - gpio-enable-sequence - gpio indexes for enabling the regulator. - gpio-enable-delay - delays in microseconds, if any, after turning on each gpio in gpio-enable-sequence. 0 if no delay. - gpio-disable-sequence - gpio indexes for disabling the regulator. - gpio-disable-delay - delays in microseconds, if any, after turning off each gpio in gpio-disable-sequence. 0 if no delay. Any property defined as part of the core regulator binding, defined in regulator.txt, can also be used. However a fixed voltage regulator is expected to have the regulator-min-microvolt and regulator-max-microvolt to be the same. Example: regulator@00{ compatible = "regulator-tps"; regulator-name = "ext_boost"; voltage-count = <2>; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <7000000>; en-gpios = <&pm8150_gpios 8 GPIO_ACTIVE_HIGH>; en-delay = <1000>; dis-delay = <0>; status = "okay"; usb_5v { voltage-level-uv = <5000000>; control-gpio-count = <1>; control-gpios = <&tlmm 93 GPIO_ACTIVE_HIGH>; gpio-enable-sequence = <1>; gpio-enable-delay = <0>; gpio-disable-sequence = <1>; gpio-disable-delay = <0>; }; rtx_7v { voltage-level-uv = <7000000>; control-gpio-count = <1>; control-gpios = <&tlmm 90 GPIO_ACTIVE_HIGH>; gpio-enable-sequence = <1>; gpio-enable-delay = <0>; gpio-disable-sequence = <1>; gpio-disable-delay = <0>; }; };