Searched +full:batt +full:- +full:detect (Results 1 – 9 of 9) sorted by relevance
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max8925.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lee Jones <lee@kernel.org> 22 interrupt-controller: true 24 "#interrupt-cells": 29 maxim,tsc-irq: 37 "^SDV[1-3]$|^LDO[1-9]$|^LDO1[0-9]$|^LDO20$": 38 description: regulator configuration for SDV1-3 and LDO1-20 47 maxim,max8925-dual-string: [all …]
|
/linux/drivers/power/supply/ |
H A D | wm97xx_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev.parent), in wm97xx_read_bat() 33 pdata->batt_aux) * pdata->batt_mult / in wm97xx_read_bat() 34 pdata->batt_div; in wm97xx_read_bat() 41 return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev.parent), in wm97xx_read_temp() 42 pdata->temp_aux) * pdata->temp_mult / in wm97xx_read_temp() 43 pdata->temp_div; in wm97xx_read_temp() 54 val->intval = bat_status; in wm97xx_bat_get_property() 57 val->intval = pdata->batt_tech; in wm97xx_bat_get_property() 60 if (pdata->batt_aux >= 0) in wm97xx_bat_get_property() [all …]
|
H A D | max8925_power.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2009-2010 Marvell International Ltd. 87 struct max8925_chip *chip = info->chip; in __set_charger() 90 if (info->set_charger) in __set_charger() 91 info->set_charger(1); in __set_charger() 93 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 0); in __set_charger() 96 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 1 << 7); in __set_charger() 97 if (info->set_charger) in __set_charger() 98 info->set_charger(0); in __set_charger() 100 dev_dbg(chip->dev, "%s\n", (enable) ? "Enable charger" in __set_charger() [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | mmp2-brownstone.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 12 compatible = "mrvl,mmp2-brownstone", "mrvl,mmp2"; 34 interrupt-parent = <&intcmux4>; 35 interrupt-controller; 36 #interrupt-cells = <1>; 37 maxim,tsc-irq = <0>; 41 regulator-min-microvolt = <637500>; 42 regulator-max-microvolt = <1425000>; 43 regulator-boot-on; [all …]
|
/linux/drivers/hid/ |
H A D | hid-steam.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 * and re-enable it when the input device is closed, so as not to break user 25 * so it can detect when the client is running and then: 26 * - it will not send any command to the controller. 27 * - this input device will be removed, to avoid double input of the same 31 * For additional functions, such as changing the right-pad margin or switching 32 * the led, you can use the user-space tool at: 46 #include "hid-ids.h" 70 /* Accelerometer has 16 bit resolution and a range of +/- 2g */ 74 /* Gyroscope has 16 bit resolution and a range of +/- 2000 dps */ [all …]
|
/linux/drivers/mfd/ |
H A D | wm8350-regmap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8350-regmap.c -- Wolfson Microelectronics WM8350 register map 23 { 0xFFFF, 0xFFFF, 0x0000 }, /* R0 - Reset/ID */ 24 { 0x7CFF, 0x0C00, 0x0000 }, /* R1 - ID */ 25 { 0x007F, 0x0000, 0x0000 }, /* R2 - ROM Mask ID */ 26 { 0xBE3B, 0xBE3B, 0x8000 }, /* R3 - System Control 1 */ 27 { 0xFEF7, 0xFEF7, 0xF800 }, /* R4 - System Control 2 */ 28 { 0x80FF, 0x80FF, 0x8000 }, /* R5 - System Hibernate */ 29 { 0xFB0E, 0xFB0E, 0x0000 }, /* R6 - Interface Control */ 31 { 0xE537, 0xE537, 0xFFFF }, /* R8 - Power mgmt (1) */ [all …]
|
/linux/Documentation/admin-guide/laptops/ |
H A D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
/linux/arch/arm/mach-pxa/ |
H A D | sharpsl_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-C7xx and SL-Cxx00 6 * Copyright (c) 2004-2005 Richard Purdie 17 #include <linux/apm-emulation.h> 25 #include <asm/mach-types.h> 27 #include "pxa2xx-regs.h" 28 #include "regs-rtc.h" 173 /* max1111 accepts channels from 0-3, however, in sharpsl_pm_pxa_read_max1111() 174 * it is encoded from 0-7 here in the code. in sharpsl_pm_pxa_read_max1111() 181 int i = sharpsl_pm.machinfo->bat_levels - 1; in get_percentage() [all …]
|
/linux/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * thinkpad_acpi.c - ThinkPad ACPI Extras 5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net> 6 * Copyright (C) 2006-2009 Henrique de Moraes Holschuh <hmh@hmh.eng.br> 16 * 2007-10-20 changelog trimmed down 18 * 2007-03-27 0.14 renamed to thinkpad_acpi and moved to 21 * 2006-11-22 0.13 new maintainer 23 * not be updated further in-file. 25 * 2005-03-17 0.11 support for 600e, 770x 28 * 2005-01-16 0.9 use MODULE_VERSION [all …]
|