Home
last modified time | relevance | path

Searched +full:rt4803 +full:- +full:regulator (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rt4803.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rt4803.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT4803 Boost Regulator
10 - ChiYuan Huang <cy_huang@richtek.com>
13 RT4803 is a boost regulator that's designed to provide the minimum output
20 https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf
21 https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf
24 - $ref: regulator.yaml#
[all …]
/linux/drivers/regulator/
H A Drt4803.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/regulator/driver.h>
15 #include <linux/regulator/of_regulator.h>
51 return -EINVAL; in rt4803_set_mode()
54 modeval <<= ffs(RT4803_MODE_MASK) - 1; in rt4803_set_mode()
69 modeval >>= ffs(RT4803_MODE_MASK) - 1; in rt4803_get_mode()
113 if (rdev->desc->vsel_reg == RT4803_REG_VSELL) in rt4803_set_suspend_voltage()
118 vsel = (uV - rdev->desc->min_uV) / rdev->desc->uV_step; in rt4803_set_suspend_voltage()
119 vsel <<= ffs(RT4803_VSEL_MASK) - 1; in rt4803_set_suspend_voltage()
154 struct device *dev = &i2c->dev; in rt4803_probe()
[all …]
H A 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 …]
H A 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 …]