···11+Bindings for Voltage controlled regulators22+==========================================33+44+Required properties:55+--------------------66+- compatible : must be "vctrl-regulator".77+- regulator-min-microvolt : smallest voltage consumers may set88+- regulator-max-microvolt : largest voltage consumers may set99+- ctrl-supply : The regulator supplying the control voltage.1010+- ctrl-voltage-range : an array of two integer values describing the range1111+ (min/max) of the control voltage. The values specify1212+ the control voltage needed to generate the corresponding1313+ regulator-min/max-microvolt output voltage.1414+1515+Optional properties:1616+--------------------1717+- ovp-threshold-percent : overvoltage protection (OVP) threshold of the1818+ regulator in percent. Some regulators have an OVP1919+ circuitry which shuts down the regulator when the2020+ actual output voltage deviates beyond a certain2121+ margin from the expected value for a given control2222+ voltage. On larger voltage decreases this can occur2323+ undesiredly since the output voltage does not adjust2424+ inmediately to changes in the control voltage. To2525+ avoid this situation the vctrl driver breaks down2626+ larger voltage decreases into multiple steps, where2727+ each step is within the OVP threshold.2828+- min-slew-down-rate : Describes how slowly the regulator voltage will decay2929+ down in the worst case (lightest expected load).3030+ Specified in uV / us (like main regulator ramp rate).3131+ This value is required when ovp-threshold-percent is3232+ specified.3333+3434+Example:3535+3636+ vctrl-reg {3737+ compatible = "vctrl-regulator";3838+ regulator-name = "vctrl_reg";3939+4040+ ctrl-supply = <&ctrl_reg>;4141+4242+ regulator-min-microvolt = <800000>;4343+ regulator-max-microvolt = <1500000>;4444+4545+ ctrl-voltage-range = <200000 500000>;4646+4747+ min-slew-down-rate = <225>;4848+ ovp-threshold-percent = <16>;4949+ };
+7
drivers/regulator/Kconfig
···877877 This driver supports the voltage regulators provided by878878 this family of companion chips.879879880880+config REGULATOR_VCTRL881881+ tristate "Voltage controlled regulators"882882+ depends on OF883883+ help884884+ This driver provides support for voltage regulators whose output885885+ voltage is controlled by the voltage of another regulator.886886+880887config REGULATOR_VEXPRESS881888 tristate "Versatile Express regulators"882889 depends on VEXPRESS_CONFIG