Home
last modified time | relevance | path

Searched +full:pgdly +full:- +full:time +full:- +full:select (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Drichtek,rt6245-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rt6245-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT6245 is a high-performance, synchronous step-down converter
18 - $ref: regulator.yaml#
23 - richtek,rt6245
28 enable-gpios:
31 it will be treat as a default-on power.
[all …]
/linux-6.12.1/drivers/regulator/
Drt6245-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
25 /* HW Enable + Soft start time */
31 #define RT6245_NUM_VOUT ((RT6245_VOUT_MAXUV - RT6245_VOUT_MINUV) / RT6245_VOUT_STEPUV + 1)
44 if (!priv->enable_gpio) in rt6245_enable()
47 gpiod_direction_output(priv->enable_gpio, 1); in rt6245_enable()
55 priv->enable_state = true; in rt6245_enable()
64 if (!priv->enable_gpio) in rt6245_disable()
65 return -EINVAL; in rt6245_disable()
70 gpiod_direction_output(priv->enable_gpio, 0); in rt6245_disable()
72 priv->enable_state = false; in rt6245_disable()
[all …]