/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt9455.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 25 richtek,output-charge-current: 29 richtek,end-of-charge-percentage: 32 percent of the output charge current. When the current in constant-voltage phase drops 33 below output_charge_current x end-of-charge-percentage, charge is terminated. 35 richtek,battery-regulation-voltage: [all …]
|
H A D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 21 const: maxim,max77693-charger 23 maxim,constant-microvolt: 25 Battery constant voltage in uV. The charger will operate in fast 26 charge constant current mode till battery voltage reaches this level. 27 Then the charger will switch to fast charge constant voltage mode. 28 Also vsys (system voltage) will be set to this value when DC power is [all …]
|
H A D | max77650-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 16 The charger is represented as a sub-node of the PMIC node on the device tree. 20 const: maxim,max77650-charger 22 input-voltage-min-microvolt: 24 Minimum CHGIN regulation voltage. 28 input-current-limit-microamp: [all …]
|
H A D | richtek,rt9467.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> 11 - ChiaEn Wu <chiaen_wu@richtek.com> 14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for 16 MOSFETs, input current sensing and regulation, high-accuracy voltage 17 regulation, and charge termination. The charge current is regulated through 20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates 21 D+/D- pin for USB host/charging port detection. [all …]
|
H A D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm3532.txt | 1 * Texas Instruments - lm3532 White LED driver with ambient light sensing 4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is 5 programmable over an I2C-compatible interface and has independent 6 current control for all three channels. The adaptive current regulation 11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear 16 - compatible : "ti,lm3532" 17 - reg : I2C slave address 18 - #address-cells : 1 19 - #size-cells : 0 22 - enable-gpios : gpio pin to enable (active high)/disable the device. [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 * Curve (2) represents battery voltage. 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 23 * the battery voltage has reached target level (4) we have constant 24 * voltage phase until charging current has dropped to termination 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . [all …]
|
H A D | max77693_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77693_charger.c - Battery charger driver for the Maxim 77693 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77693-private.h> 16 #define MAX77693_CHARGER_NAME "max77693-charger" 88 * Top-off: trickle or fast? In top-off the current varies between in max77693_get_charge_type() 118 * - POWER_SUPPLY_HEALTH_DEAD 119 * - POWER_SUPPLY_HEALTH_GOOD 120 * - POWER_SUPPLY_HEALTH_OVERVOLTAGE 121 * - POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE [all …]
|
H A D | rt9455_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 #define RT9455_DRIVER_NAME "rt9455-charger" 165 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ 169 * Each array initialised below shows the possible real-world values for a 171 * ascending order. The index of each real-world value represents the value 180 * When the charger is in charge mode, REG02[7:2] represent battery regulation 181 * voltage. 198 * voltage. 200 /* REG02[7:2] (Boost output voltage) in uV */ 265 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx() [all …]
|
H A D | bq25890_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 83 u8 vreg; /* regulation voltage */ 86 u8 sysvmin; /* minimum system voltage limit */ 87 u8 boostv; /* boost regulation voltage */ 91 u8 treg; /* thermal regulation threshold */ 93 u8 vclamp; /* IBAT compensation voltage limit */ 113 char name[28]; /* "bq25890-charger-%d" */ 272 * Most of the val -> idx conversions can be computed, given the minimum, 294 /* Thermal Regulation Threshold lookup table, in degrees Celsius */ 322 0, -10, -20, -30, -40, -60, -70, -80, [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-regulator | 8 regulators which can report that input value. 20 supplying power to the system (unless some non-Linux 38 - off 39 - on 40 - error 41 - fast 42 - normal 43 - idle 44 - standby 52 "error" indicates an out-of-regulation status such as being [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 18 includes voltage current regulators, charger, LED/flash, haptic motor driver 37 max77693-muic: 44 const: maxim,max77693-muic 47 - compatible 55 const: maxim,max77693-muic [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 17 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 19 backlight_dsi: backlight-dsi { [all …]
|
H A D | imx8mq-librem5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 18 chassis-type = "handset"; 20 backlight_dsi: backlight-dsi { [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-midas.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> 19 #include <dt-bindings/clock/maxim,max77686.h> 20 #include "exynos-pinctrl.h" 34 stdout-path = &serial_2; 38 compatible = "samsung,secure-firmware"; [all …]
|
H A D | exynos4212-tab3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos4412-ppmu-common.dtsi" 12 #include "exynos-mfc-reserved-memory.dtsi" 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/media/video-interfaces.h> 15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu13_driver_if_v13_0_0.h | 181 SVI_PSI_6, // Power down to 0V (voltage regulation disabled) 503 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 506 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 698 //Voltage control 970 …t TemperatureLimit[TEMP_COUNT]; // In degrees Celsius. Temperature limit associated with each input 994 // SECTION: Voltage Control Parameters 1000 // Voltage Limits 1001 …uint16_t DefaultMaxVoltage[PMFW_VOLT_PLANE_COUNT]; // In mV(Q2) Maximum voltage without FIT co… 1002 …uint16_t BoostMaxVoltage[PMFW_VOLT_PLANE_COUNT]; // In mV(Q2) Maximum voltage with FIT control… 1007 …uint16_t Vmin_Hot_T0[PMFW_VOLT_PLANE_COUNT]; //In mV(Q2) Initial (pre-aging) Vse… [all …]
|
H A D | smu13_driver_if_v13_0_7.h | 182 SVI_PSI_6, // Power down to 0V (voltage regulation disabled) 504 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 507 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 708 //Voltage control 979 …t TemperatureLimit[TEMP_COUNT]; // In degrees Celsius. Temperature limit associated with each input 1003 // SECTION: Voltage Control Parameters 1009 // Voltage Limits 1010 …uint16_t DefaultMaxVoltage[PMFW_VOLT_PLANE_COUNT]; // In mV(Q2) Maximum voltage without FIT co… 1011 …uint16_t BoostMaxVoltage[PMFW_VOLT_PLANE_COUNT]; // In mV(Q2) Maximum voltage with FIT control… 1016 …uint16_t Vmin_Hot_T0[PMFW_VOLT_PLANE_COUNT]; //In mV(Q2) Initial (pre-aging) Vse… [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // core.c -- Voltage/Current Regulator framework. 103 if (rdev->constraints && rdev->constraints->name) in rdev_get_name() 104 return rdev->constraints->name; in rdev_get_name() 105 else if (rdev->desc->name) in rdev_get_name() 106 return rdev->desc->name; in rdev_get_name() 119 if (!rdev->constraints) { in regulator_ops_is_valid() 124 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid() 131 * regulator_lock_nested - lock a single regulator 149 if (!ww_mutex_trylock(&rdev->mutex, ww_ctx)) { in regulator_lock_nested() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | w83791d.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w83791d.c - Part of lm_sensors, Linux kernel modules for hardware 6 * Copyright (C) 2006-2007 Charles Spirakis <bezaur@gmail.com> 19 * The w83791g chip is the same as the w83791d but lead-free. 27 #include <linux/hwmon-vid.h> 28 #include <linux/hwmon-sysfs.h> 64 0x25, /* -12VIN in DataSheet */ 65 0x26, /* -5VIN in DataSheet */ 77 0x35, /* -12VIN High Limit in DataSheet */ 78 0x37, /* -5VIN High Limit in DataSheet */ [all …]
|