Home
last modified time | relevance | path

Searched +full:rt6245 +full:- +full:regulator (Results 1 – 4 of 4) 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#
7 title: Richtek RT6245 High Current Voltage Regulator
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:
[all …]
/linux-6.12.1/drivers/regulator/
Drt6245-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
10 #include <linux/regulator/driver.h>
11 #include <linux/regulator/of_regulator.h>
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()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for regulator drivers.
7 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o irq_helpers.o
8 obj-$(CONFIG_REGULATOR_NETLINK_EVENTS) += event.o
9 obj-$(CONFIG_OF) += of_regulator.o
10 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o
11 obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o
12 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o
14 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o
15 obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig REGULATOR config
3 bool "Voltage and Current Regulator Support"
6 Generic Voltage and Current Regulator support.
14 The intention is to allow systems to dynamically control regulator
26 if REGULATOR
29 bool "Regulator debug support"
34 tristate "Fixed voltage regulator support"
38 managed regulators and simple non-configurable regulators.
41 tristate "Virtual regulator consumer support"
[all …]