| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | as3722.txt | 4 ------------------- 5 - compatible: Must be "ams,as3722". 6 - reg: I2C device address. 7 - interrupt-controller: AS3722 has internal interrupt controller which takes the 8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well 10 - #interrupt-cells: Should be set to 2 for IRQ number and flags. 12 of AS3722 are defined at dt-bindings/mfd/as3722.h 14 interrupts.txt, using dt-bindings/irq. 17 -------------------- 18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | lp872x.txt | 4 - compatible: "ti,lp8720" or "ti,lp8725" 5 - reg: I2C slave address. 0x7d = LP8720, 0x7a = LP8725 8 - ti,general-config: the value of LP872X_GENERAL_CFG register (u8) 10 bit[2]: BUCK output voltage control by external DVS pin or register 12 bit[1]: sleep control by external DVS pin or register 18 bit[4]: BUCK2 enable control. 1 = enable, 0 = disable 20 bit[2]: BUCK1 output voltage control by external DVS pin or register 22 bit[1]: LDO sleep control. 1 = sleep mode, 0 = normal 23 bit[0]: BUCK1 enable control, 1 = enable, 0 = disable 27 - ti,update-config: define it when LP872X_GENERAL_CFG register should be set [all …]
|
| H A D | tps65090.txt | 4 - compatible: "ti,tps65090" 5 - reg: I2C slave address 6 - interrupts: the interrupt outputs of the controller 7 - regulators: A node that houses a sub-node for each regulator within the 8 device. Each sub-node is identified using the node's name, with valid 9 values listed below. The content of each sub-node is defined by the 10 standard binding for regulators; see regulator.txt. 11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively. 12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively. 13 - infet[1-7]-supply: The input supply for FET[1-7] respectively. [all …]
|
| H A D | ti,tps62360.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/ti,tps62360.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laxman Dewangan <ldewangan@nvidia.com> 13 The TPS6236x are a family of step down dc-dc converter with 22 - $ref: regulator.yaml# 27 - ti,tps62360 28 - ti,tps62361 29 - ti,tps62362 [all …]
|
| H A D | as3722-regulator.txt | 1 Regulator of AMS AS3722 PMIC. 2 Name of the regulator subnode must be "regulators". 5 -------------------- 7 regulator node. The AS3722 is having 7 DCDC step-down regulators as 8 sd[0-6], 10 LDOs as ldo[0-7], ldo[9-11]. The input supply of these 10 vsup-sd2-supply: Input supply for SD2. 11 vsup-sd3-supply: Input supply for SD3. 12 vsup-sd4-supply: Input supply for SD4. 13 vsup-sd5-supply: Input supply for SD5. 14 vin-ldo0-supply: Input supply for LDO0. [all …]
|
| H A D | ti-abb-regulator.txt | 1 Adaptive Body Bias(ABB) SoC internal LDO regulator for Texas Instruments SoCs 4 - compatible: Should be one of: 5 - "ti,abb-v1" for older SoCs like OMAP3 6 - "ti,abb-v2" for newer SoCs like OMAP4, OMAP5 7 - "ti,abb-v3" for a generic definition where setup and control registers are 9 - reg: Address and length of the register set for the device. It contains 10 the information of registers in the same order as described by reg-names 11 - reg-names: Should contain the reg names 12 - "base-address" - contains base address of ABB module (ti,abb-v1,ti,abb-v2) 13 - "control-address" - contains control register address of ABB module (ti,abb-v3) [all …]
|
| H A D | adi,adp5055-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/adi,adp5055-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices ADP5055 Triple Buck Regulator 10 - Alexis Czezar Torreno <alexisczezar.torreno@analog.com> 13 The ADP5055 combines three high performance buck regulator. The device enables 14 direct connection to high input voltages up to 18 V with no preregulators. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/adp5055.pdf 20 - adi,adp5055 [all …]
|
| H A D | pwm-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/pwm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic PWM Regulator 10 - Brian Norris <briannorris@chromium.org> 11 - Lee Jones <lee@kernel.org> 12 - Alexandre Courbot <acourbot@nvidia.com> 19 duty-cycle values must be provided via DT. Limitations are that the 20 regulator can only operate at the voltages supplied in the table. [all …]
|
| H A D | rohm,bd71847-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml 16 Regulator nodes should be named to BUCK_<number> and LDO_<number>. The 19 Documentation/devicetree/bindings/regulator/regulator.txt. 21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must 25 # The valid names for BD71847 regulator nodes are: [all …]
|
| H A D | rohm,bd71837-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml 16 Regulator nodes should be named to BUCK_<number> and LDO_<number>. The 19 Documentation/devicetree/bindings/regulator/regulator.txt. 21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not 26 # The valid names for BD71837 regulator nodes are: [all …]
|
| /linux/drivers/clk/ |
| H A D | clk-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2013 - 2014 Texas Instruments Incorporated - https://www.ti.com 12 #include <linux/clk-provider.h> 20 #include <linux/regulator/consumer.h> 26 * prepare - clk_(un)prepare are functional and control a gpio that can sleep 27 * enable - clk_enable and clk_disable are functional & control 28 * non-sleeping gpio 29 * rate - inherits rate from parent. No clk_set_rate support 30 * parent - fixed parent. No clk_set_parent support 34 * struct clk_gpio - gpio gated clock [all …]
|
| /linux/Documentation/power/regulator/ |
| H A D | overview.rst | 2 Linux voltage and current regulator framework 8 This framework is designed to provide a standard kernel interface to control 11 The intention is to allow systems to dynamically control regulator power output 26 - Regulator 27 - Electronic device that supplies power to other devices. 28 Most regulators can enable and disable their output while 29 some can control their output voltage and or current. 31 Input Voltage -> Regulator -> Output Voltage 34 - PMIC 35 - Power Management IC. An IC that contains numerous [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-regulator | 1 What: /sys/class/regulator/.../state 6 Some regulator directories will contain a field called 7 state. This reports the regulator enable control, for 16 'enabled' means the regulator output is ON and is supplying 17 power to the system (assuming no error prevents it). 19 'disabled' means the regulator output is OFF and is not 20 supplying power to the system (unless some non-Linux 21 control has enabled it). 27 or microamps to determine configured regulator output levels. 30 What: /sys/class/regulator/.../status [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | regulator.rst | 1 .. Copyright 2007-2008 Wolfson Microelectronics 8 Voltage and current regulator API 18 control voltage and current regulators. 20 The intention is to allow systems to dynamically control regulator power 27 ``Documentation/power/regulator``. 30 -------- 32 The regulator API uses a number of terms which may not be familiar: 34 Regulator 37 can enable and disable their output and some can also control their 42 Electronic device which consumes power provided by a regulator. These [all …]
|
| /linux/drivers/regulator/ |
| H A D | tps65090-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Regulator driver for tps65090 power management chip. 17 #include <linux/regulator/driver.h> 18 #include <linux/regulator/machine.h> 19 #include <linux/regulator/of_regulator.h> 25 #define CTRL_EN_BIT 0 /* Regulator enable bit, active high */ 26 #define CTRL_WT_BIT 2 /* Regulator wait time 0 bit */ 27 #define CTRL_PG_BIT 4 /* Regulator power good bit, 1=good */ 28 #define CTRL_TO_BIT 7 /* Regulator timeout bit, 1=wait */ 33 * struct tps65090_regulator - Per-regulator data for a tps65090 regulator [all …]
|
| H A D | max77802-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77802.c - Regulator driver for the Maxim 77802 5 // Copyright (C) 2013-2014 Google, Inc 20 #include <linux/regulator/driver.h> 21 #include <linux/regulator/machine.h> 22 #include <linux/regulator/of_regulator.h> 24 #include <linux/mfd/max77686-private.h> 25 #include <dt-bindings/regulator/maxim,max77802.h> 61 /* Array indexed by regulator id */ 83 return -EINVAL; in max77802_get_opmode_shift() [all …]
|
| H A D | bd9576-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ROHM BD9576MUF/BD9573MUF regulator driver 10 #include <linux/mfd/rohm-bd957x.h> 11 #include <linux/mfd/rohm-generic.h> 16 #include <linux/regulator/driver.h> 17 #include <linux/regulator/machine.h> 18 #include <linux/regulator/of_regulator.h> 137 const struct regulator_desc *desc = rdev->desc; in bd957x_vout34_list_voltage() 138 int multiplier = selector & desc->vsel_mask & 0x7f; in bd957x_vout34_list_voltage() 145 return desc->fixed_uV - tune; in bd957x_vout34_list_voltage() [all …]
|
| H A D | ab8500-ext.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 7 * This file is based on drivers/regulator/ab8500.c 11 * ab8500-ext supports the following regulators: 12 * - VextSupply3 20 #include <linux/regulator/driver.h> 21 #include <linux/regulator/machine.h> 22 #include <linux/regulator/of_regulator.h> 41 REGULATOR_SUPPLY("vinvsim", "sim-detect.0"), 51 .name = "ab8500-ext-supply1", [all …]
|
| H A D | vctrl-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/regulator/coupler.h> 15 #include <linux/regulator/driver.h> 16 #include <linux/regulator/of_regulator.h> 50 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage() 51 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage() 53 return ctrl->min_uV + in vctrl_calc_ctrl_voltage() 54 DIV_ROUND_CLOSEST_ULL((s64)(out_uV - out->min_uV) * in vctrl_calc_ctrl_voltage() 55 (ctrl->max_uV - ctrl->min_uV), in vctrl_calc_ctrl_voltage() 56 out->max_uV - out->min_uV); in vctrl_calc_ctrl_voltage() [all …]
|
| H A D | bd718x7-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // bd71837-regulator.c ROHM BD71837MWV/BD71847MWV regulator driver 10 #include <linux/mfd/rohm-bd718x7.h> 14 #include <linux/regulator/driver.h> 15 #include <linux/regulator/machine.h> 16 #include <linux/regulator/of_regulator.h> 19 /* Typical regulator startup times as per data sheet in uS */ 50 * BD718(37/47/50) have two "enable control modes". ON/OFF can either be 51 * controlled by software - or by PMIC internal HW state machine. Whether 52 * regulator should be under SW or HW control can be defined from device-tree. [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8026-samsung-milletwifi.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/power/summit,smb347-charger.h> 11 #include "qcom-msm8226.dtsi" 14 /delete-node/ &adsp_region; 15 /delete-node/ &mba_region; 16 /delete-node/ &mpss_region; 17 /delete-node/ &smem_region; 20 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi"; [all …]
|
| /linux/drivers/extcon/ |
| H A D | extcon-intel-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. 10 #include <linux/extcon-provider.h> 20 #include <linux/regulator/consumer.h> 24 #include "extcon-intel.h" 67 /* 0 - open drain, 1 - regular push-pull output */ 69 /* 0 - pin is controlled by SW, 1 - by HW */ 109 struct regulator *vbus_boost; 125 * According to the spec. we should read the USB-ID pin ADC value here in cht_wc_extcon_get_id() 126 * to determine the resistance of the used pull-down resister and then in cht_wc_extcon_get_id() [all …]
|
| /linux/drivers/net/pse-pd/ |
| H A D | pse_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/pse-pd/pse.h> 14 #include <linux/regulator/driver.h> 15 #include <linux/regulator/machine.h> 27 * struct pse_control - a PSE control 29 * this PSE control belongs to 30 * @ps: PSE PI supply of the PSE control 34 * @attached_phydev: PHY device pointer attached by the PSE control 38 struct regulator *ps; 46 * struct pse_power_domain - a PSE power domain [all …]
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | intel_dptf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------ 24 control. Linux has a set of kernel drivers exposing hardware interface 31 ---------------------------- 43 "42A441D6-AE6A-462b-A84B-4A8CE79027D3" : Passive 1 45 "3A95C389-E4B8-4629-A526-C52C88626BAE" : Active 47 "97C68AE7-15FA-499c-B8C9-5DA81D606E0A" : Critical 49 "63BE270F-1C11-48FD-A6F7-3AF253FF3E2D" : Adaptive performance 51 "5349962F-71E6-431D-9AE8-0A635B710AEE" : Emergency call 53 "9E04115A-AE87-4D1C-9500-0F3E340BFE75" : Passive 2 [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-lm3692x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/ 14 #include <linux/regulator/consumer.h> 42 /* Brightness Control Bits */ 73 /* Boost Control Bits */ 84 /* Fault Control Bits */ 103 * @enable_gpio: VDDIO/EN gpio to enable communication interface 104 * @regulator: LED supply regulator pointer 114 struct regulator *regulator; member 150 ret = regmap_read(led->regmap, LM3692X_FAULT_FLAGS, &read_buf); in lm3692x_fault_check() [all …]
|