Home
last modified time | relevance | path

Searched +full:rt4803 +full:- +full:regulator (Results 1 – 2 of 2) 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 …]