/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | onnn,fan53880.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christoph Fritz <chf.fritz@googlemail.com> 14 that contains a BUCK (step-down converter), four low dropouts (LDO) 15 and one BOOST (step-up converter) output. It is designed for mobile 20 pattern: "pmic@[0-9a-f]{1,2}" 23 - onnn,fan53880 28 VIN12-supply: 31 VIN3-supply: [all …]
|
H A D | adi,max77857.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices MAX77857 Buck-Boost Converter 11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com> 12 - Okan Sahin <Okan.Sahin@analog.com> 14 description: Analog Devices MAX77857 Buck-Boost Converter 19 - adi,max77831 20 - adi,max77857 21 - adi,max77859 [all …]
|
H A D | qcom-labibb-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom-labibb-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) Regulator 10 - Sumit Semwal <sumit.semwal@linaro.org> 13 LAB can be used as a positive boost power supply and IBB can be used as a 14 negative boost power supply for display panels. Currently implemented for 19 const: qcom,pmi8998-lab-ibb 27 qcom,soft-start-us: [all …]
|
H A D | richtek,rtq6752-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtq6752-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 14 two synchronous boost converter for PAVDD, and one synchronous NAVDD 15 buck-boost. The device is suitable for automotive TFT-LCD panel. 20 - richtek,rtq6752 25 enable-gpios: 45 - compatible [all …]
|
H A D | max77650-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/max77650-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 16 The regulator controller is represented as a sub-node of the PMIC node 19 The device has a single LDO regulator and a SIMO buck-boost regulator with 24 const: maxim,max77650-regulator 27 "^regulator-(ldo|sbb[0-2])$": 32 - compatible
|
H A D | richtek,rt6160-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT6160 is a high-efficiency buck-boost converter that can provide 18 https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf 21 - $ref: regulator.yaml# 26 - richtek,rt6160 31 enable-gpios: [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
H A D | fan53880.c | 1 // SPDX-License-Identifier: GPL-2.0+ 58 .enable_mask = BIT(_num - 1), \ 70 .name = "BUCK", 71 .of_match = "BUCK", 90 .name = "BOOST", 91 .of_match = "BOOST", 128 dev_err(&i2c->dev, "Failed to create regmap: %d\n", ret); in fan53880_i2c_probe() 134 dev_err(&i2c->dev, "Failed to read PRODUCT_ID: %d\n", ret); in fan53880_i2c_probe() 138 dev_err(&i2c->dev, "Unsupported device id: 0x%x.\n", data); in fan53880_i2c_probe() 139 return -ENODEV; in fan53880_i2c_probe() [all …]
|
H A D | max77857-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 82 ret = regmap_read(rdev->regmap, MAX77857_REG_INT_SRC, &val); in max77857_get_status() 101 ret = regmap_read(rdev->regmap, MAX77857_REG_CONT3, ®val); in max77857_get_mode() 111 ret = regmap_read(rdev->regmap, MAX77859_REG_CONT2, ®val); in max77857_get_mode() 120 return -EINVAL; in max77857_get_mode() 143 return -EINVAL; in max77857_set_mode() 148 return regmap_set_bits(rdev->regmap, reg, val); in max77857_set_mode() 150 return regmap_clear_bits(rdev->regmap, reg, val); in max77857_set_mode() 152 return -EINVAL; in max77857_set_mode() 162 ret = regmap_read(rdev->regmap, MAX77857_REG_INT_SRC, &val); in max77857_get_error_flags() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@foss.st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|
H A D | rohm,bd71815-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71815-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71815AGW is a single-chip power management ICs for battery-powered 14 portable devices. It integrates 5 buck converters, 8 LDOs, a boost driver 15 for LED and a 500 mA single-cell linear charger. Also included is a Coulomb 16 counter, a real-time clock (RTC), and a 32.768 kHz clock gate and two GPOs. 30 gpio-controller: true [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | Kconfig | 4 ---help--- 5 This config enables the driver-model PMIC support. 6 UCLASS_PMIC - designed to provide an I/O interface for PMIC devices. 7 For the multi-function PMIC devices, this can be used as parent I/O 10 - 'drivers/power/pmic/pmic-uclass.c' 11 - 'include/power/pmic.h' 17 ---help--- 21 U-Boot proper. 27 ---help--- 35 bool "Enable support for the active-semi 8846 PMIC" [all …]
|
H A D | stpmu1.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 3 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved 18 { .prefix = "buck", .driver = "stpmu1_buck" }, 21 { .prefix = "boost", .driver = "stpmu1_boost" }, 65 return -ENXIO; in stpmu1_bind()
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | stpmu1.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 3 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved 50 for (i = 0, range = output_range->ranges; in stpmu1_output_find_uv() 51 i < output_range->nbranges; i++, range++) { in stpmu1_output_find_uv() 52 if (sel >= range->min_sel && sel <= range->max_sel) in stpmu1_output_find_uv() 53 return range->min_uv + in stpmu1_output_find_uv() 54 (sel - range->min_sel) * range->step; in stpmu1_output_find_uv() 57 return -EINVAL; in stpmu1_output_find_uv() 66 for (i = 0, range = output_range->ranges; in stpmu1_output_find_sel() 67 i < output_range->nbranges; i++, range++) { in stpmu1_output_find_sel() [all …]
|
H A D | Kconfig | 4 ---help--- 6 UCLASS_REGULATOR - designed to provide a common API for basic regulator's 10 - 'include/power/pmic.h' 11 - 'include/power/regulator.h' 12 - 'drivers/power/pmic/pmic-uclass.c' 13 - 'drivers/power/pmic/regulator-uclass.c' 22 ---help--- 31 ---help--- 42 driver implements enable/disable for step-down bucks and LDOs, 49 ---help--- [all …]
|
H A D | pfuze100.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 * struct pfuze100_regulator_desc - regulator descriptor 43 * struct pfuze100_regulator_platdata - platform data for pfuze100 148 1000000, 1100000, 1200000, 1300000, 1500000, 1800000, 3000000, -1 152 -1, -1, -1, -1, -1, -1, 3000000, -1 218 /* SWx Buck regulator mode */ 231 /* Boost Buck regulator mode for normal operation */ 252 if (!strcmp(desc->name, name)) in se_desc() 270 dev->name); in pfuze100_regulator_probe() 275 dev->name); in pfuze100_regulator_probe() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-sgm3140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver 10 - Luca Weiss <luca@z3ntu.xyz> 13 The SGM3140 is a current-regulated charge pump which can regulate two current 17 http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf 22 - ocs,ocp8110 23 - richtek,rt5033-led [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-tps68470.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/clk-provider.h> 26 #define TPS68470_CLK_NAME "tps68470-clk" 53 * BOOST should be as close as possible to 2Mhz 54 * BOOST = PLL_VCO_CLK / (BOOSTDIV[4:0] + 16) * 56 * BUCK should be as close as possible to 5.2Mhz 57 * BUCK = PLL_VCO_CLK / (BUCKDIV[3:0] + 5) 80 if (regmap_read(clkdata->regmap, TPS68470_REG_PLLCTL, &val)) in tps68470_clk_is_prepared() 90 regmap_write(clkdata->regmap, TPS68470_REG_CLKCFG1, in tps68470_clk_prepare() 94 regmap_update_bits(clkdata->regmap, TPS68470_REG_PLLCTL, in tps68470_clk_prepare() [all …]
|
/openbmc/linux/drivers/leds/flash/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 75 will be called "leds-mt6370-flash". 92 This driver can be built as a module, it will be called "leds-qcom-flash". 114 will be called leds-rt8515. 120 This option enables support for the SGM3140 500mA Buck/Boost Charge
|
/openbmc/linux/include/linux/mfd/ |
H A D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 110 /* RT5033 BUCK control register */ 116 /* RT5033 charger property - model, manufacturer */ 121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1 158 * and boost mode. 177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 183 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 190 * RT5033 charger const-charge end of charger current ( 200 * RT5033 charger pre-charge threshold volt limits 218 /* RT5033 regulator BUCK output voltage uV */
|
/openbmc/u-boot/include/power/ |
H A D | pfuze100_pmic.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 72 * Buck Regulators 75 #define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250) 205 * Boost Regulator
|
/openbmc/linux/include/linux/mfd/da9052/ |
H A D | reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 76 /* LDO AND BUCK REGISTERS */ 405 /* BUCK REGISTER A BITS */ 411 /* BUCK REGISTER B BITS */ 507 /* CHARGER BUCK REGISTER BITS */ 546 /* LED BOOST REGISTER BITS */ 688 /* TSI X CO-ORDINATE MSB RESULT REGISTER BITS */ 691 /* TSI Y CO-ORDINATE MSB RESULT REGISTER BITS */ 694 /* TSI CO-ORDINATE LSB RESULT REGISTER BITS */
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-xiaomi-beryllium-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 8 #include <dt-bindings/sound/qcom,q6afe.h> 9 #include <dt-bindings/sound/qcom,q6asm.h> 11 #include "sdm845-wcd9340.dtsi" 19 /delete-node/ &tz_mem; 20 /delete-node/ &adsp_mem; [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | qcom_smbb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This driver is for the multi-block Switch-Mode Battery Charger and Boost 6 * integrated, single-cell lithium-ion battery charger. 8 * Sub-components: 9 * - Charger core 10 * - Buck 11 * - DC charge-path 12 * - USB charge-path 13 * - Battery interface 14 * - Boost (not implemented) [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 45 tristate "Active-semi ACT8945A" 50 Support for the ACT8945A PMIC from Active-semi. This device 51 features three step-down DC/DC converters and four low-dropout 67 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 70 called sun4i-gpadc. 101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 132 over at91-usart-serial driver and usart-spi-driver. Only one function 148 tristate "Atmel HLCDC (High-end LCD Controller)" 185 tristate "X-Powers AC100" [all …]
|