Home
last modified time | relevance | path

Searched +full:rt5190a +full:- +full:buck2 (Results 1 – 3 of 3) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/regulator/
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 <[email protected]>
13 The RT5190A integrates 1 channel buck controller, 3 channels high efficiency
23 - richtek,rt5190a
31 vin2-supply:
32 description: phandle to buck2 input voltage.
[all …]
/linux-6.14.4/arch/arm64/boot/dts/mediatek/
Dmt7988a-bananapi-bpi-r4.dts1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
11 compatible = "bananapi,bpi-r4", "mediatek,mt7988a";
12 model = "Banana Pi BPI-R4";
13 chassis-type = "embedded";
16 stdout-path = "serial0:115200n8";
19 reg_1p8v: regulator-1p8v {
20 compatible = "regulator-fixed";
[all …]
/linux-6.14.4/drivers/regulator/
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 …]