Home
last modified time | relevance | path

Searched +full:battery +full:- +full:powered (Results 1 – 25 of 70) sorted by relevance

123

/linux/Documentation/ABI/testing/
H A Dsysfs-driver-samsung-laptop4 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/kernel/power/
H A DKconfig1 # 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>).
122 The default resume partition is the partition that the suspend-
123 to-disk implementation will look for a suspended disk image.
157 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This
[all …]
/linux/drivers/mtd/devices/
H A Dms02-nv.h1 /* 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/Documentation/timers/
H A Dno_hz.rst2 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/drivers/platform/x86/intel/
H A Dbytcrc_pwrsrc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Power-source driver for Bay Trail Crystal Cove PMIC
33 /* bit 2 */ "Battery",
41 /* bit 3 */ "critical battery temperature",
44 /* bit 6 */ "battery removal",
50 /* bit 1 */ "BATID reporting battery removal",
57 /* bit 1 */ "a battery insertion",
76 struct crc_pwrsrc_data *data = seq->private; in pwrsrc_show()
80 ret = regmap_read(data->regmap, CRYSTALCOVE_SPWRSRC_REG, &reg_val); in pwrsrc_show()
84 crc_pwrsrc_log(seq, "System powered", pwrsrc_pwrsrc_info, reg_val); in pwrsrc_show()
[all …]
/linux/Documentation/power/
H A Dpower_supply_class.rst7 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/drivers/ata/pata_parport/
H A Dfriq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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.
41 * cont = 0 - access the IDE register file
42 * cont = 1 - access the IDE command set
73 switch (pi->mode) { in friq_read_block_int()
90 ph = 2 - ph; in friq_read_block_int()
[all …]
/linux/drivers/power/supply/
H A Drt9455_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Richtek RT9455WSC battery charger.
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
265 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx()
269 return (tbl_size - 1); in rt9455_find_idx()
279 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val()
[all …]
H A Dsc27xx_fuel_gauge.c1 // 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 …]
H A Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Summit Microelectronics SMB347 Battery Charger Driver
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
136 * struct smb347_charger - smb347 charger instance
146 * @usb_vbus_enabled: is USB VBUS powered by SMB charger
147 * @max_charge_current: maximum current (in uA) the battery can be charged
148 * @max_charge_voltage: maximum voltage (in uV) the battery can be charged
[all …]
H A Dtwl4030_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * TWL4030/TPS65950 BCI (Battery Charger Interface) driver
71 #define TWL4030_ICHGHIGH BIT(2) /* Battery charge current high */
72 #define TWL4030_ICHGLOW BIT(3) /* Battery cc. low / FSM state change */
73 #define TWL4030_ICHGEOC BIT(4) /* Battery current end-of-charge */
74 #define TWL4030_TBATOR2 BIT(5) /* Battery temperature out of range 2 */
75 #define TWL4030_TBATOR1 BIT(6) /* Battery temperature out of range 1 */
76 #define TWL4030_BATSTS BIT(7) /* Battery status */
207 * CGAIN == 0: ICHG = (BCIICHG * 1.7) / (2^10 - 1) - 0.85
208 * CGAIN == 1: ICHG = (BCIICHG * 3.4) / (2^10 - 1) - 1.7
[all …]
/linux/include/uapi/linux/usb/
H A Dch9.h1 /* 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.
22 * [b] so that accessing bigger-than-a-bytes fields will never
27 * someone that the two other points are non-issues for that
37 /*-------------------------------------------------------------------------*/
136 * See USB 2.0 spec Table 9-7
150 * See USB 3.0 spec Table 9-7
159 * Suspend Options, Table 9-8 USB 3.0 spec
[all …]
/linux/kernel/rcu/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # RCU-related configuration options
11 # Dynticks-idle tracking
26 thousands of CPUs, but for which real-time response
37 designed for UP systems from which real-time response
42 bool "Make expert-level adjustments to RCU configuration"
46 expert-level adjustments to RCU configuration. By default,
47 no such adjustments can be made, which has the often-beneficial
48 side-effect of preventing "make oldconfig" from asking you all
52 Say Y if you need to make expert-level adjustments to RCU.
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dtps65910.txt4 - 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 …]
H A Dtps6507x.txt4 - 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 …]
/linux/arch/arm/boot/dts/ti/davinci/
H A Dda850-lego-ev3.dts1 // 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/sound/soc/
H A DKconfig1 # 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.
61 test cases against soc-topology.c API. This should be primarily used
131 # generic frame-work
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,ina3221.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jean Delvare <jdelvare@suse.com>
11 - Guenter Roeck <linux@roeck-us.net>
20 ti,single-shot:
22 This chip has two power modes: single-shot (chip takes one measurement
25 hardware monitor type device, but the single-shot mode is more power-
26 friendly and useful for battery-powered device which cares power
29 If this property is present, the single-shot mode will be used, instead
[all …]
/linux/drivers/power/reset/
H A Dodroid-go-ultra-poweroff.c1 // SPDX-License-Identifier: GPL-2.0+
17 * - RK818 (manages the battery and USB-C power supply)
18 * - RK817
19 * Both PMICs feeds power to the S922X SoC, so they must be powered-off in sequence.
20 * Vendor does power-off the RK817 first, then the RK818 so here we follow this sequence.
31 struct odroid_go_ultra_poweroff_data *poweroff_data = data->cb_data; in odroid_go_ultra_poweroff_prepare()
36 rk817 = dev_get_regmap(poweroff_data->rk817, NULL); in odroid_go_ultra_poweroff_prepare()
38 dev_err(poweroff_data->dev, "failed to get rk817 regmap\n"); in odroid_go_ultra_poweroff_prepare()
39 return notifier_from_errno(-EINVAL); in odroid_go_ultra_poweroff_prepare()
43 rk818 = dev_get_regmap(poweroff_data->rk818, NULL); in odroid_go_ultra_poweroff_prepare()
[all …]
/linux/drivers/rtc/
H A DKconfig1 # 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
92 Say yes here to add support for the non volatile (often battery
141 once-per-second update interrupts, used for synchronization.
159 will be called rtc-test.
173 will be called rtc-88pm860x.
183 will be called rtc-88pm80x.
[all …]
/linux/Documentation/spi/
H A Dbutterfly.rst2 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/arch/arm64/boot/dts/qcom/
H A Dsm8250-xiaomi-elish-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2022-2024 Jianhua Lu <lujianhua000@gmail.com>
6 #include <dt-bindings/arm/qcom,ids.h>
7 #include <dt-bindings/phy/phy.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include <dt-bindings/usb/pd.h>
20 /delete-node/ &adsp_mem;
21 /delete-node/ &cdsp_secure_heap;
22 /delete-node/ &slpi_mem;
23 /delete-node/ &spss_mem;
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-sk-imx53.dts1 // SPDX-License-Identifier: GPL-2.0+
5 /dts-v1/;
10 model = "StarterKit SK-iMX53 Board";
11 compatible = "starterkit,sk-imx53", "fsl,imx53";
15 * iMX RTC is not battery powered on this board.
23 stdout-path = &uart1;
32 reg_usb1_vbus: regulator-usb-vbus {
33 compatible = "regulator-fixed";
34 regulator-name = "usb_vbus";
35 regulator-min-microvolt = <5000000>;
[all …]
/linux/drivers/mfd/
H A Dntxec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * e-book readers designed by the original design manufacturer Netronix, Inc.
5 * It contains RTC, battery monitoring, system power management, and PWM
9 * power-off/reset.
43 .addr = poweroff_restart_client->addr, in ntxec_poweroff()
52 res = i2c_transfer(poweroff_restart_client->adapter, msgs, ARRAY_SIZE(msgs)); in ntxec_poweroff()
54 dev_warn(&poweroff_restart_client->dev, in ntxec_poweroff()
58 * The time from the register write until the host CPU is powered off in ntxec_poweroff()
73 * does send the full two-byte value, but doesn't check the result). in ntxec_restart()
77 .addr = poweroff_restart_client->addr, in ntxec_restart()
[all …]
/linux/Documentation/scheduler/
H A Dsched-util-clamp.rst1 .. SPDX-License-Identifier: GPL-2.0
57 foreground, top-app, etc. Util clamp can be used to constrain how much
60 the ones belonging to the currently active app (top-app group). Beside this
65 1. The big cores are free to run top-app tasks immediately. top-app
68 2. They don't run on a power hungry core and drain battery even if they
104 can be useful on general purpose systems that run on battery powered devices.
106 Note that by design RT tasks don't have per-task PELT signal and must always
114 See :ref:`section 3.4 <uclamp-default-values>` for default values and
115 :ref:`3.4.1 <sched-util-clamp-min-rt-default>` on how to change RT tasks
150 task on the rq to only a subset of tasks on the top-most bucket.
[all …]

123