/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Voltage/Current Regulators 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 19 description: smallest voltage consumers may set 21 regulator-max-microvolt: [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-led-flash | 55 Flash faults are re-read after strobing the flash. Possible 58 * led-over-voltage 59 flash controller voltage to the flash LED 61 * flash-timeout-exceeded 65 * controller-over-temperature 68 * controller-short-circuit 71 * led-power-supply-over-current 75 * indicator-led-fault 78 * led-under-voltage 79 flash controller voltage to the flash [all …]
|
/linux/drivers/regulator/ |
H A D | bd96801-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // bd96801-regulator.c ROHM BD96801 regulator driver 11 * Supporting the ERRB interrupt would require dropping the regmap-IRQ 16 * regulator safety limits (like limits for the over/under -voltages, over 29 * the safety limit configurations - but leaves the state change handling 43 #include <linux/mfd/rohm-generic.h> 44 #include <linux/mfd/rohm-bd96801.h> 150 * This is a voltage range that get's appended to selected 153 * and the range from 0x10 to 0x1f is bd96801_buck_init_volts - 150mV ... 154 * bd96801_buck_init_volts - 0. But as the members of linear_range [all …]
|
/linux/Documentation/hwmon/ |
H A D | ir36021.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Addresses scanned: - 17 - Chris Packham <chris.packham@alliedtelesis.co.nz> 20 ----------- 22 The IR36021 is a dual-loop digital multi-phase buck controller designed for 26 ----------- 32 ---------------- 41 curr2_alarm Output over-current alarm 44 in1_input Measured input voltage 45 in1_alarm Input under-voltage alarm [all …]
|
H A D | acbel-fsg032.rst | 1 Kernel driver acbel-fsg032 6 * ACBEL FSG032-00xG power supply. 11 ----------- 13 This driver supports ACBEL FSG032-00xG Power Supply. This driver 17 ----------- 19 This driver does not auto-detect devices. You will have to instantiate the 20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 24 ------------- 50 in1_alarm Input voltage under-voltage alarm. 51 in1_input Measured input voltage. [all …]
|
H A D | inspur-ipsps1.rst | 1 Kernel driver inspur-ipsps1 11 ----------- 17 ----------- 19 This driver does not auto-detect devices. You will have to instantiate the 20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 24 ------------- 44 in1_alarm Input voltage under-voltage alarm. 45 in1_input Measured input voltage in mV. 47 in2_input Measured output voltage in mV. 49 in2_lcrit Critical minimum output voltage [all …]
|
H A D | stpddc60.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Addresses scanned: - 14 Datasheet: https://flexpowermodules.com/documents/fpm-techspec-bmr481 20 ----------- 26 Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details 31 ----------- 33 This driver does not auto-detect devices. You will have to instantiate the 34 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 37 The vout under- and over-voltage limits are set in relation to the commanded 38 output voltage as a positive or negative offset in the interval 50mV to 400mV [all …]
|
H A D | ibm-cffps.rst | 1 Kernel driver ibm-cffps 11 ----------- 17 ----------- 19 This driver does not auto-detect devices. You will have to instantiate the 20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 24 ------------- 29 curr1_alarm Output current over-current alarm. 40 in1_alarm Input voltage under-voltage alarm. 41 in1_input Measured input voltage in mV. 43 in2_alarm Output voltage over-voltage alarm. [all …]
|
H A D | ltc4245.rst | 10 Addresses scanned: 0x20-0x3f 20 ----------- 28 ----------- 38 $ echo ltc4245 0x23 > /sys/bus/i2c/devices/i2c-1/new_device 42 ------------- 44 The LTC4245 has built-in limits for over and under current warnings. This 48 into the values specified in the sysfs-interface document. The current readings 52 in1_input 12v input voltage (mV) 53 in2_input 5v input voltage (mV) 54 in3_input 3v input voltage (mV) [all …]
|
/linux/include/linux/ |
H A D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 226 /* Run-time specific power supply configuration */ 351 int vbat_uv; /* Battery voltage in microvolt */ 356 * struct power_supply_maintenance_charge_table - setting for maintenace charging 360 * reach this voltage the maintenance charging current is turned off. It is 361 * turned back on if we fall below this voltage. 362 * @charge_voltage_max_uv: maintenance charging voltage that is usually a bit 364 * charge_current_max_ua until we get back up to this voltage. 368 * maintenance charge current and voltage pair in respective array and wait 389 * +-------------------------------------------------------------------> t [all …]
|
/linux/drivers/pcmcia/ |
H A D | vg468.h | 9 * Software distributed under the License is distributed on an "AS IS" 12 * limitations under the License. 18 * Alternatively, the contents of this file may be used under the 22 * only under the terms of the GPL and not to allow others to use 23 * your version of this file under the MPL, indicate your decision by 27 * under either the MPL or the GPL. 42 #define VG469_VSENSE 0x1f /* Card voltage sense */ 43 #define VG469_VSELECT 0x2f /* Card voltage select */ 72 #define VG468_CTL_TSSI 0x08 /* Tri-state some outputs */ 89 #define VG468_MISC_GPIO 0x04 /* General-purpose IO */ [all …]
|
/linux/include/linux/mfd/ |
H A D | rohm-bd957x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 18 * - I2C/thermal, 19 * - Over voltage protection 20 * - Short-circuit protection 21 * - Over current protection 22 * - Over voltage detection 23 * - Under voltage detection 24 * - Under voltage protection 25 * - 'system interrupt'. 28 * information - for example which of the regulators have over-voltage. [all …]
|
/linux/drivers/mfd/ |
H A D | tps65218.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ 29 .name = "tps65218-pwrbutton", 30 .of_compatible = "ti,tps65218-pwrbutton", 33 .name = "tps65218-gpio", 34 .of_compatible = "ti,tps65218-gpio", 36 { .name = "tps65218-regulator", }, 55 return regmap_write(tps->regmap, reg, val); in tps65218_reg_write() 58 ret = regmap_write(tps->regmap, TPS65218_REG_PASSWORD, in tps65218_reg_write() 63 return regmap_write(tps->regmap, reg, val); in tps65218_reg_write() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 33 the GPIO and PWM functions under the corresponding menus. 57 tristate "Active-semi ACT8945A" 62 Support for the ACT8945A PMIC from Active-semi. This device 63 features three step-down DC/DC converters and four low-dropout 79 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 82 called sun4i-gpadc. 113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 125 under the corresponding menus. 144 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-v3s-licheepi-zero-dock.dts | 4 * This file is dual-licensed: you can use it either under the terms 10 * modify it under the terms of the GNU General Public License as 43 #include "sun8i-v3s-licheepi-zero.dts" 45 #include <dt-bindings/input/input.h> 49 compatible = "licheepi,licheepi-zero-dock", "licheepi,licheepi-zero", 50 "allwinner,sun8i-v3s"; 63 allwinner,leds-active-low; 68 vref-supply = <®_vcc3v0>; 71 button-200 { 75 voltage = <200000>; [all …]
|
H A D | sun4i-a10-inet97fv2.dts | 6 * This file is dual-licensed: you can use it either under the terms 12 * modify it under the terms of the GNU General Public License as 45 /dts-v1/; 46 #include "sun4i-a10.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 51 #include <dt-bindings/interrupt-controller/irq.h> 54 model = "INet-97F Rev 02"; 55 compatible = "primux,inet97fv2", "allwinner,sun4i-a10"; [all …]
|
H A D | sun6i-a31s-inet-q972.dts | 4 * This file is dual-licensed: you can use it either under the terms 10 * modify it under the terms of the GNU General Public License as 43 /dts-v1/; 44 #include "sun6i-a31s.dtsi" 45 #include "sun6i-reference-design-tablet.dtsi" 49 compatible = "inet-tek,inet-q972", "allwinner,sun6i-a31s"; 60 compatible = "edt,edt-ft5406"; 62 interrupt-parent = <&pio>; 64 touchscreen-size-x = <768>; 65 touchscreen-size-y = <1024>; [all …]
|
H A D | sun5i-a13-olinuxino.dts | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 12 * modify it under the terms of the GNU General Public License as 45 /dts-v1/; 46 #include "sun5i-a13.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 53 model = "Olimex A13-Olinuxino"; 54 compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13"; [all …]
|
H A D | sun7i-a20-olimex-som-evb.dts | 2 * Copyright 2015 - Marcus Cooper <codekipper@gmail.com> 3 * Copyright 2015 - Karsten Merker <merker@debian.org> 5 * This file is dual-licensed: you can use it either under the terms 11 * modify it under the terms of the GNU General Public License as 44 /dts-v1/; 45 #include "sun7i-a20.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | sun7i-a20-olinuxino-micro.dts | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 12 * modify it under the terms of the GNU General Public License as 45 /dts-v1/; 46 #include "sun7i-a20.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 51 #include <dt-bindings/interrupt-controller/irq.h> 54 model = "Olimex A20-Olinuxino Micro"; [all …]
|
H A D | sun8i-a23-evb.dts | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 12 * modify it under the terms of the GNU General Public License as 45 /dts-v1/; 46 #include "sun8i-a23.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 54 compatible = "allwinner,sun8i-a23-evb", "allwinner,sun8i-a23"; 63 stdout-path = "serial0:115200n8"; [all …]
|
/linux/Documentation/driver-api/ |
H A D | regulator.rst | 1 .. Copyright 2007-2008 Wolfson Microelectronics 4 .. it and/or modify it under the terms of the GNU General Public 8 Voltage and current regulator API 18 control voltage and current regulators. 22 both voltage regulators (where voltage output is controllable) and 26 available in the Linux kernel source under 30 -------- 38 output voltage or current. 62 drivers use `get <#API-regulator-get>`__ and 63 `put <#API-regulator-put>`__ operations to acquire and release [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-usbarmory.dts | 8 * This file is dual-licensed: you can use it either under the terms 14 * modify it under the terms of the GNU General Public License as 47 /dts-v1/; 52 compatible = "inversepath,imx53-usbarmory", "fsl,imx53"; 57 stdout-path = &uart1; 66 compatible = "gpio-leds"; 67 pinctrl-names = "default"; 68 pinctrl-0 = <&pinctrl_led>; 70 led-user { 73 linux,default-trigger = "heartbeat"; [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
/linux/include/uapi/regulator/ |
H A D | regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 * UNDER_VOLTAGE Regulator output is under voltage. 26 * VOLTAGE_CHANGE Regulator voltage changed. 27 * Data passed is old voltage cast to (void *). 29 * PRE_VOLTAGE_CHANGE Regulator is about to have voltage changed. 31 * ABORT_VOLTAGE_CHANGE Regulator voltage change failed for some reason. 32 * Data passed is old voltage cast to (void *). 75 #define REG_GENL_ATTR_MAX (__REG_GENL_ATTR_MAX - 1) 80 REG_GENL_CMD_EVENT, /* kernel->user notifications for reg events */ 84 #define REG_GENL_CMD_MAX (__REG_GENL_CMD_MAX - 1)
|