Searched +full:rt4803 +full:- +full:regulator (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/regulator/richtek,rt4803.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Richtek RT4803 Boost Regulator10 - ChiYuan Huang <cy_huang@richtek.com>13 RT4803 is a boost regulator that's designed to provide the minimum output20 https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf21 https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf24 - $ref: regulator.yaml#[all …]
1 // SPDX-License-Identifier: GPL-2.0-only14 #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 …]