Home
last modified time | relevance | path

Searched +full:rt5190a +full:- +full:buck3 (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rt5190a-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rt5190a-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT5190A PMIC Regulator
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT5190A integrates 1 channel buck controller, 3 channels high efficiency
23 - richtek,rt5190a
31 vin2-supply:
34 vin3-supply:
[all …]
/linux/drivers/regulator/
H A Drt5190a-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
40 #define RT5190A_BUCK23_STEPNUM ((1400000 - 600000) / 10000 + 1)
93 return -EINVAL; in rt5190a_fixed_buck_set_mode()
108 dev_err(&rdev->dev, "Failed to get mode [%d]\n", ret); in rt5190a_fixed_buck_get_mode()
161 ret = regmap_raw_read(priv->regmap, RT5190A_REG_OVINT, &raws, in rt5190a_irq_handler()
164 dev_err(priv->dev, "Failed to read events\n"); in rt5190a_irq_handler()
170 ret = regmap_raw_write(priv->regmap, RT5190A_REG_OVINT, &raws, in rt5190a_irq_handler()
173 dev_err(priv->dev, "Failed to write-clear events\n"); in rt5190a_irq_handler()
178 fields >>= ffs(event_tbl[i].bitmask) - 1; in rt5190a_irq_handler()
[all …]