/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-driver-samsung-laptop | 4 Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 14 - "silent" 15 - "normal" 16 - "overclock" 27 Description: Max battery charge level can be modified, battery cycle 28 life can be extended by reducing the max battery charge 31 - 0 means normal battery mode (100% charge) 32 - 1 means battery life extender mode (80% charge) 39 when your laptop is powered off.
|
/Linux-v5.10/kernel/power/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 powered and thus its contents are preserved, such as the 9 suspend-to-RAM state (e.g. the ACPI S3 state). 30 user-space before invoking suspend. There's a run-time switch 32 This setting changes the default for the run-tim switch. Say Y 60 for suspend states like suspend-to-RAM (STR) often don't work very 72 <file:Documentation/power/swsusp-and-swap-files.rst>). 100 The default resume partition is the partition that the suspend- 101 to-disk implementation will look for a suspended disk image. 136 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This [all …]
|
/Linux-v5.10/drivers/mtd/devices/ |
D | ms02-nv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * DEC MS02-NV (54-20948-01) battery backed-up NVRAM module for 16 * 0x000000 - 0x3fffff SRAM 17 * 0x400000 - 0x7fffff CSR 22 * 0x000000 - 0x0003ff diagnostic area, destroyed upon a reboot 23 * 0x000400 - ENDofRAM storage area, available to operating systems 29 * containing no valid data, and disables the battery resulting in 31 * for the start address of the user-available is 0x001000 which is 36 * operating system, a magic ID to distinguish a MS02-NV board from 42 * The firmware only handles the MS02-NV board if installed in the [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | rohm,bd70528-pmic.txt | 3 BD70528MWV is an ultra-low quiescent current general purpose, single-chip, 4 power management IC for battery-powered portable devices. The IC 5 integrates 3 ultra-low current consumption buck converters, 3 LDOs and 2 6 LED Drivers. Also included are 4 GPIOs, a real-time clock (RTC), a 32kHz 7 clock gate, high-accuracy VREF for use with an external ADC, flexible 8 dual-input power path, 10 bit SAR ADC for battery temperature monitor and 9 1S battery charger with scalable charge currents. 12 - compatible : Should be "rohm,bd70528" 13 - reg : I2C slave address. 14 - interrupts : The interrupt line the device is connected to. [all …]
|
D | tps65910.txt | 4 - compatible: "ti,tps65910" or "ti,tps65911" 5 - reg: I2C slave address 6 - interrupts: the interrupt outputs of the controller 7 - #gpio-cells: number of cells to describe a GPIO, this should be 2. 10 - gpio-controller: mark the device as a GPIO controller 11 - #interrupt-cells: the number of cells to describe an IRQ, this should be 2. 14 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 15 - regulators: This is the list of child nodes that specify the regulator 20 The regulator is matched with the regulator-compatible. 22 The valid regulator-compatible values are: [all …]
|
D | tps6507x.txt | 4 - compatible: "ti,tps6507x" 5 - reg: I2C slave address 6 - regulators: This is the list of child nodes that specify the regulator 11 The regulator is matched with the regulator-compatible. 13 The valid regulator-compatible values are: 15 - xxx-supply: Input voltage supply regulator. 19 If some of input supply is powered through battery or always-on 23 vindcdc1_2-supply: VDCDC1 and VDCDC2 input. 24 vindcdc3-supply : VDCDC3 input. 25 vldo1_2-supply : VLDO1 and VLDO2 input. [all …]
|
D | rohm,bd71828-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 13 BD71828GW is a single-chip power management IC for battery-powered portable 15 single-cell linear charger. Also included is a Coulomb counter, a real-time 30 gpio-controller: true 32 "#gpio-cells": 41 "#clock-cells": [all …]
|
/Linux-v5.10/Documentation/power/ |
D | power_supply_class.rst | 7 Power supply class used to represent battery, UPS, AC or DC power supply 8 properties to user-space. 25 typically expected feedback of battery charging/fully charged status and 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 64 | of battery, this class distinguish these terms. Don't mix them!** | 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | [all …]
|
/Linux-v5.10/Documentation/timers/ |
D | no_hz.rst | 2 NO_HZ: Reducing Scheduling-Clock Ticks 7 reduce the number of scheduling-clock interrupts, thereby improving energy 9 some types of computationally intensive high-performance computing (HPC) 10 applications and for real-time applications. 12 There are three main ways of managing scheduling-clock interrupts 13 (also known as "scheduling-clock ticks" or simply "ticks"): 15 1. Never omit scheduling-clock ticks (CONFIG_HZ_PERIODIC=y or 16 CONFIG_NO_HZ=n for older kernels). You normally will -not- 19 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or 23 3. Omit scheduling-clock ticks on CPUs that are either idle or that [all …]
|
/Linux-v5.10/drivers/block/paride/ |
D | friq.c | 5 friq.c is a low-level protocol driver for the Freecom "IQ" 9 Freecom uses this adapter in a battery powered external 10 CD-ROM drive. It is also used in LS-120 drives by 13 The battery powered drive requires software support to 19 used to conserve battery power. 45 /* cont = 0 - access the IDE register file 46 cont = 1 - access the IDE command set 81 switch(pi->mode) { in friq_read_block_int() 98 ph = 2 - ph; in friq_read_block_int() 104 for (k=0;k<count-2;k++) buf[k] = r4(); in friq_read_block_int() [all …]
|
/Linux-v5.10/kernel/rcu/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # RCU-related configuration options 24 thousands of CPUs, but for which real-time response 35 designed for UP systems from which real-time response 40 bool "Make expert-level adjustments to RCU configuration" 44 expert-level adjustments to RCU configuration. By default, 45 no such adjustments can be made, which has the often-beneficial 46 side-effect of preventing "make oldconfig" from asking you all 50 Say Y if you need to make expert-level adjustments to RCU. 58 permits arbitrary sleeping or blocking within RCU read-side critical [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/ |
D | ina3221.txt | 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one 13 but the single-shot mode is more power-friendly and useful 14 for battery-powered device which cares power consumptions 16 If this property is present, the single-shot mode will be 22 - #address-cells: Required only if a child node is present. Must be 1. 23 - #size-cells: Required only if a child node is present. Must be 0. 27 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221 30 - label: Name of the input source [all …]
|
/Linux-v5.10/drivers/power/supply/ |
D | rt9455_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Richtek RT9455WSC battery charger. 22 #define RT9455_DRIVER_NAME "rt9455-charger" 166 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ 170 * Each array initialised below shows the possible real-world values for a 172 * ascending order. The index of each real-world value represents the value 181 * When the charger is in charge mode, REG02[7:2] represent battery regulation 264 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx() 268 return (tbl_size - 1); in rt9455_find_idx() 278 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val() [all …]
|
D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 75 * @battery: battery power supply 78 * @gpiod: GPIO for battery detection 79 * @channel: IIO channel to get battery temperature 81 * @internal_resist: the battery internal resistance in mOhm 82 * @total_cap: the total capacity of the battery in mAh 83 * @init_cap: the initial capacity of the battery in mAh 87 * @min_volt: the minimum drained battery voltage in microvolt 100 struct power_supply *battery; member [all …]
|
D | twl4030_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TWL4030/TPS65950 BCI (Battery Charger Interface) driver 70 #define TWL4030_ICHGHIGH BIT(2) /* Battery charge current high */ 71 #define TWL4030_ICHGLOW BIT(3) /* Battery cc. low / FSM state change */ 72 #define TWL4030_ICHGEOC BIT(4) /* Battery current end-of-charge */ 73 #define TWL4030_TBATOR2 BIT(5) /* Battery temperature out of range 2 */ 74 #define TWL4030_TBATOR1 BIT(6) /* Battery temperature out of range 1 */ 75 #define TWL4030_BATSTS BIT(7) /* Battery status */ 206 * CGAIN == 0: ICHG = (BCIICHG * 1.7) / (2^10 - 1) - 0.85 207 * CGAIN == 1: ICHG = (BCIICHG * 3.4) / (2^10 - 1) - 1.7 [all …]
|
/Linux-v5.10/sound/soc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 ASoC provides power efficient ALSA support for embedded battery powered 22 will be called snd-soc-core. 84 # generic frame-work
|
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | slg51000.txt | 4 - compatible : Should be "dlg,slg51000" for SLG51000 5 - reg : Specifies the I2C slave address. 6 - xxx-supply: Input voltage supply regulator for ldo3 to ldo7. 9 If some of input supply is powered through battery or always-on supply then 12 vin3-supply: Input supply for ldo3 13 vin4-supply: Input supply for ldo4 14 vin5-supply: Input supply for ldo5 15 vin6-supply: Input supply for ldo6 16 vin7-supply: Input supply for ldo7 19 - interrupt-parent : Specifies the reference to the interrupt controller. [all …]
|
/Linux-v5.10/include/uapi/linux/usb/ |
D | ch9.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * - the master/host side Linux-USB kernel driver API; 10 * - the "usbfs" user space API; and 11 * - the Linux "gadget" slave/device/peripheral side driver API. 25 * [b] so that accessing bigger-than-a-bytes fields will never 30 * someone that the two other points are non-issues for that 40 /*-------------------------------------------------------------------------*/ 139 * See USB 2.0 spec Table 9-7 153 * See USB 3.0 spec Table 9-7 162 * Suspend Options, Table 9-8 USB 3.0 spec [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | da850-lego-ev3.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 32 compatible = "gpio-keys"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&button_bias>; 75 * The EV3 has two built-in bi-color LEDs behind the buttons. 78 compatible = "gpio-leds"; [all …]
|
/Linux-v5.10/Documentation/spi/ |
D | butterfly.rst | 2 spi_butterfly - parport-to-butterfly adapter driver 8 battery powered card with an AVR microcontroller and lots of goodies: 9 sensors, LCD, flash, toggle stick, and more. You can use AVR-GCC to 28 connector pins (used also on non-Butterfly AVR boards). On the parport 32 Signal Butterfly Parport (DB-25) 44 by clearing PORTB.[0-3]); (b) configure the mtd_dataflash driver; and 48 Signal Butterfly Parport (DB-25) 57 the driver for your custom SPI-based protocol. 60 That would let you talk to the AVR using custom SPI-with-USI firmware, 65 Signal Butterfly Parport (DB-25)
|
/Linux-v5.10/arch/arm/mach-s3c/ |
D | mach-n30.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Copyright (c) 2003-2005 Simtec Electronics 9 // Copyright (c) 2005-2008 Christer Weinigel <christer@weinigel.se> 30 #include "hardware-s3c24xx.h" 32 #include <asm/mach-types.h> 34 #include <linux/platform_data/fb-s3c2410.h> 35 #include <linux/platform_data/leds-s3c24xx.h> 36 #include "regs-gpio.h" 37 #include "gpio-samsung.h" 38 #include "gpio-cfg.h" [all …]
|
/Linux-v5.10/drivers/mfd/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 44 tristate "Active-semi ACT8945A" 49 Support for the ACT8945A PMIC from Active-semi. This device 50 features three step-down DC/DC converters and four low-dropout 51 linear regulators, along with a complete ActivePath battery 66 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 69 called sun4i-gpadc. 88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 89 controllers, 11 LDOs, RTC, automatic battery, temperature and 119 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
/Linux-v5.10/drivers/rtc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 44 This clock should be battery-backed, so that it reads the correct 45 time when the system boots from a power-off state. Otherwise, your 48 If the clock you specify here is not battery backed, it may still 50 sleep states. Do not specify an RTC here unless it stays powered 83 Say yes here to add support for the non volatile (often battery 132 once-per-second update interrupts, used for synchronization. 150 will be called rtc-test. 164 will be called rtc-88pm860x. 174 will be called rtc-88pm80x. [all …]
|
/Linux-v5.10/drivers/hid/ |
D | hid-logitech-hidpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2012-2013 Google (c) 7 * Copyright (c) 2013-2014 Red Hat Inc. 25 #include <linux/fixp-arith.h> 28 #include "hid-ids.h" 42 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently)."); 83 /* Convenience constant to check for any high-res support. */ 123 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U]; 129 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U]; 158 * struct hidpp_scroll_counter - Utility class for processing high-resolution [all …]
|
/Linux-v5.10/drivers/cpufreq/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 For details, take a look at <file:Documentation/cpu-freq>. 80 loading your cpufreq low-level hardware driver. 93 loading your cpufreq low-level hardware driver. 143 For details, take a look at <file:Documentation/cpu-freq/>. 151 'ondemand' - This driver adds a dynamic cpufreq policy governor. 161 For details, take a look at linux/Documentation/cpu-freq. 170 'conservative' - this driver is rather similar to the 'ondemand' 172 its optimisation for better suitability in a battery powered 179 step-by-step latency issues between the minimum and maximum frequency [all …]
|