| /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 20 - const: qcom,pmi8998-lab-ibb 21 - items: [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 …]
|
| /linux/drivers/regulator/ |
| 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 …]
|
| H A D | qcom_spmi-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 8 #include <linux/devm-helpers.h> 57 * struct spmi_regulator_init_data - spmi-regulator initialization data 311 /* Boost regulator current limit control register layout */ 365 * struct spmi_voltage_range - regulator set point voltage mapping description 380 * (max_uV - min_uV) % step_uV == 0 381 * (set_point_min_uV - min_uV) % step_uV == 0* 382 * (set_point_max_uV - min_uV) % step_uV == 0* 383 * n_voltages = (set_point_max_uV - set_point_min_uV) / step_uV + 1 [all …]
|
| H A D | wm831x-dcdc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series 63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() 64 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_get_mode() 84 return -EINVAL; in wm831x_dcdc_get_mode() 107 return -EINVAL; in wm831x_dcdc_set_mode_int() 117 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode() 118 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_set_mode() 127 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_suspend_mode() 128 u16 reg = dcdc->base + WM831X_DCDC_SLEEP_CONTROL; in wm831x_dcdc_set_suspend_mode() [all …]
|
| /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 …]
|
| /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 …]
|
| /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 */
|
| /linux/drivers/leds/flash/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 76 will be called "leds-mt6370-flash". 93 This driver can be built as a module, it will be called "leds-qcom-flash". 115 will be called leds-rt8515. 121 This option enables support for the SGM3140 500mA Buck/Boost Charge 133 This driver can be built as a module, it will be called "leds-sy7802". 145 This driver can be built as a module, it will be called "leds-tps6131x".
|
| /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 */
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <wens@csie.org> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8996-xiaomi-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 compatible = "gpio-gate-clock"; 17 #clock-cells = <0>; 18 enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&divclk1_default>; [all …]
|
| H A D | apq8096-db820c.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 6 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include <dt-bindings/sound/qcom,q6afe.h> 16 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include <dt-bindings/sound/qcom,wcd9335.h> [all …]
|
| H A D | sm8750-qrd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 20 #include "sm8750-pmics.dtsi" 24 compatible = "qcom,sm8750-qrd", "qcom,sm8750"; 25 chassis-type = "handset"; 31 wcd939x: audio-codec { 32 compatible = "qcom,wcd9395-codec", "qcom,wcd9390-codec"; [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | b43.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 61 /* 32-bit DMA */ 68 /* 64-bit DMA */ 194 #define B43_BFH_BUCKBOOST 0x0020 /* has buck/booster */ 203 #define B43_BFL2_APLL_WAR 0x0002 /* alternative A-band PLL settings implemented */ 209 #define B43_BFL2_BTC3WIRE 0x0080 /* used 3-wire bluetooth coexist */ 211 #define B43_BFL2_SPUR_WAR 0x0200 /* has a workaround for clock-harmonic spurs */ 212 #define B43_BFL2_GPLL_WAR 0x0400 /* altenative G-band PLL settings implemented */ 234 #define B43_SHM_AUTOINC_R 0x0200 /* Auto-increment address on read */ 235 #define B43_SHM_AUTOINC_W 0x0100 /* Auto-increment address on write */ [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-debug.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * (c) 1999 Andreas Gal <gal@cs.uni-magdeburg.de> 4 * (c) 2000-2001 Vojtech Pavlik <vojtech@ucw.cz> 5 * (c) 2007-2009 Jiri Kosina 13 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail: 29 #include <linux/hid-debug.h> 2450 { 0x84, 0x006e, "Boost" }, 2451 { 0x84, 0x006f, "Buck" }, 2839 /* pages 0xff00 to 0xffff are vendor-specific */ 2840 { 0xffff, 0, "Vendor-specific-FF" }, [all …]
|