Searched +full:enable +full:- +full:uv +full:- +full:hiccup (Results 1 – 3 of 3) sorted by relevance
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | richtek,rt5120.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT5120 provides four high-efficiency buck converters and one LDO voltage 22 - richtek,rt5120 30 interrupt-controller: true 32 "#interrupt-cells": 35 wakeup-source: true 37 richtek,enable-undervolt-hiccup: [all …]
|
/linux/drivers/regulator/ |
H A D | rt5120-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 72 return -EINVAL; in rt5120_buck_set_mode() 102 * reg 0x03/0x04/0x05 to indicate PG/UV/OV in rt5120_regulator_get_error_flags() 128 static int rt5120_buck1_set_suspend_voltage(struct regulator_dev *rdev, int uV) in rt5120_buck1_set_suspend_voltage() argument 133 if (uV < RT5120_BUCK1_MINUV || uV > RT5120_BUCK1_MAXUV) in rt5120_buck1_set_suspend_voltage() 134 return -EINVAL; in rt5120_buck1_set_suspend_voltage() 136 sel = (uV - RT5120_BUCK1_MINUV) / RT5120_BUCK1_STEPUV; in rt5120_buck1_set_suspend_voltage() 159 .enable = regulator_enable_regmap, 175 .enable = regulator_enable_regmap, 187 .enable = regulator_enable_regmap, [all …]
|
H A D | rt5190a-regulator.c | 1 // 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() 119 .enable = regulator_enable_regmap, 130 .enable = regulator_enable_regmap, 140 .enable = regulator_enable_regmap, 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() [all …]
|