Home
last modified time | relevance | path

Searched +full:enable +full:- +full:charge +full:- +full:control (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dsummit,smb347-charger.yaml1 # 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 …]
Dbq24735.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI BQ24735 Li-Ion Battery Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
27 ti,ac-detect-gpios:
35 ti,charge-current:
38 Used to control and set the charging current.
43 ti,charge-voltage:
[all …]
Dqcom,pm8941-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Switch-Mode Battery Charger and Boost
10 - Sebastian Reichel <sre@kernel.org>
15 - qcom,pm8226-charger
16 - qcom,pm8941-charger
23 - description: charge done
24 - description: charge fast mode
[all …]
/linux-6.12.1/drivers/power/supply/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 Say Y here to enable power supply class support. This allows
15 Say Y here to enable debugging messages for power supply class
35 Say Y here to enable support APM status emulation using
42 Say Y here to enable support for the generic battery driver
57 Say Y here to enable support for the battery charger in the Maxim
64 Say Y here to enable support for the backup battery charger
71 Say Y here to enable support for the power management unit
78 Say Y here to enable support for the power management unit
90 Say Y here to enable battery monitor for Marvell 88PM860x chip.
[all …]
Dab8500-bm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * System control 2 register offsets.
35 * Charger / control register offfsets
52 * Charger / main control register offsets
61 * Charger / USB control register offsets
124 /* Main charge i/p current */
267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds
288 * @pcut_enable: Enable power cut feature in ab8505
317 * struct ab8500_charger_maximization - struct used by the board config.
318 * @use_maxi: Enable maximization for this battery type
[all …]
Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
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
149 * @pre_charge_current: current (in uA) to use in pre-charging phase
153 * pre-charge to fast charge mode
157 * @chip_temp_threshold: die temperature where device starts limiting charge
158 * current [%100 - %130] (in degree C)
[all …]
Dltc2941-battery-gauge.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/devm-helpers.h>
77 int charge; /* Last charge register content */ member
85 return ((Q * (info->Qlsb / 10))) / 100; in convert_bin_to_uAh()
93 Q = (uAh * 100) / (info->Qlsb/10); in convert_uAh_to_bin()
104 msgs[0].addr = client->addr; in ltc294x_read_regs()
108 msgs[1].addr = client->addr; in ltc294x_read_regs()
113 ret = i2c_transfer(client->adapter, &msgs[0], 2); in ltc294x_read_regs()
115 dev_err(&client->dev, "ltc2941 read_reg(0x%x[%d]) failed: %pe\n", in ltc294x_read_regs()
120 dev_dbg(&client->dev, "%s (%#x, %d) -> %#x\n", in ltc294x_read_regs()
[all …]
D88pm860x_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
34 /* bit definitions of Charger Control 1 Register */
43 /* bit definitions of Charger Control 2 Register */
48 /* bit definitions of Charger Control 3 Register */
54 /* bit definitions of Charger Control 4 Register */
60 /* bit definitions of Charger Control 6 Register */
65 /* bit definitions of Charger Control 7 Register */
69 /* bit definitions of Measurement Enable 1 Register */
72 /* bit definitions of Measurement Enable 3 Register */
86 /* over-temperature on PM8606 setting */
[all …]
/linux-6.12.1/include/linux/mfd/
Drt5033-private.h1 /* SPDX-License-Identifier: GPL-2.0-only */
100 /* RT5033 control register */
110 /* RT5033 BUCK control register */
113 /* RT5033 LDO control register */
116 /* RT5033 charger property - model, manufacturer */
121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1
163 /* RT5033 charger termination enable */
167 /* RT5033 charger CFO enable */
171 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */
177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */
[all …]
Dti_am335x_tscadc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
40 /* IRQ wakeup enable */
43 /* IRQ enable */
85 /* Charge Config */
94 /* Charge delay */
98 /* Control register */
108 /*Control registers bitfields for MAGADC IP */
117 /* DMA ENABLE/CLEAR Register */
180 struct ti_tscadc_dev **tscadc_dev = p->dev.platform_data; in ti_tscadc_dev_get()
[all …]
/linux-6.12.1/drivers/rtc/
Drtc-bq32k.c1 // SPDX-License-Identifier: GPL-2.0-only
30 #define BQ32K_CENT_EN 0x80 /* Century flag enable bit */
32 #define BQ32K_CALIBRATION 0x07 /* CAL_CFG1, calibration and control */
33 #define BQ32K_TCH2 0x08 /* Trickle charge enable */
34 #define BQ32K_CFG2 0x09 /* Trickle charger control */
35 #define BQ32K_TCFE BIT(6) /* Trickle charge FET bypass */
58 .addr = client->addr, in bq32k_read()
63 .addr = client->addr, in bq32k_read()
70 if (i2c_transfer(client->adapter, msgs, 2) == 2) in bq32k_read()
73 return -EIO; in bq32k_read()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
35 struct bp_encoder_control *control);
38 struct bp_encoder_control *control);
41 struct bp_encoder_control *control);
44 struct bp_transmitter_control *control);
51 bool enable);
57 bool enable,
62 bool enable,
67 bool enable);
[all …]
Dcommand_table.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
35 struct bp_encoder_control *control);
38 struct bp_encoder_control *control);
41 struct bp_encoder_control *control);
44 struct bp_transmitter_control *control);
51 bool enable);
57 bool enable,
62 bool enable,
67 bool enable);
[all …]
/linux-6.12.1/arch/arm/mach-pxa/
Dpxa27x-udc.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include "pxa-regs.h"
11 #define UDCCR __REG(0x40600000) /* UDC Control Register */
12 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */
13 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation
15 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol
17 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol
18 Enable */
19 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */
33 #define UDCCR_UDE (1 << 0) /* UDC Enable */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/addac/
Dadi,ad74115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74115H is a single-channel software configurable input/output
14 device for industrial control applications. It contains functionality for
17 chip solution with an SPI interface. The device features a 16-bit ADC and a
18 14-bit DAC.
25 - adi,ad74115h
30 spi-max-frequency:
[all …]
/linux-6.12.1/include/linux/power/
Dcharger-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * This framework enables to control and multiple chargers and to
8 * monitor charging even in the context of suspend-to-RAM with
45 * @wq: the workqueue to control charger according to the state of
46 * charger cable. If charger cable is attached, enable charger.
62 /* The charger-manager use Extcon framework */
72 * Set min/max current of regulator to protect over-current issue
86 * Set if the charger-manager cannot control charger,
89 * the array of charger cables to enable/disable charger
126 * @psy_name: the name of power-supply-class for charger manager
[all …]
/linux-6.12.1/drivers/platform/x86/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 x86 platforms, including vendor-specific laptop extension drivers.
23 This driver adds support for the ACPI-WMI (Windows Management
26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the
27 ACPI firmware to userspace - this is done through various vendor
37 It is safe to enable this driver even if your DSDT doesn't define
38 any ACPI-WMI devices.
45 Say Y here if you want to be able to read a firmware-embedded
50 be called wmi-bmof.
61 This driver provides support for Huawei WMI hotkeys, battery charge
[all …]
/linux-6.12.1/sound/soc/codecs/
Dwm8961.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8961.c -- WM8961 ALSA SoC Audio driver
5 * Copyright 2009-10 Wolfson Microelectronics, plc
10 * - ALC
33 { 0, 0x009F }, /* R0 - Left Input volume */
34 { 1, 0x009F }, /* R1 - Right Input volume */
35 { 2, 0x0000 }, /* R2 - LOUT1 volume */
36 { 3, 0x0000 }, /* R3 - ROUT1 volume */
37 { 4, 0x0020 }, /* R4 - Clocking1 */
38 { 5, 0x0008 }, /* R5 - ADC & DAC Control 1 */
[all …]
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/
Dmemory.rst18 we call it "memory cgroup". When you see git-log and source code, you'll
30 Memory-hungry applications can be isolated and limited to a smaller
34 c. Virtualization solutions can control the amount of memory they want
36 d. A CD/DVD burner could control the amount of memory used by the
42 Current Status: linux-2.6.34-mmotm(development version of 2010/April)
46 - accounting anonymous pages, file caches, swap caches usage and limiting them.
47 - pages are linked to per-memcg LRU exclusively, and there is no global LRU.
48 - optionally, memory+swap usage can be accounted and limited.
49 - hierarchical accounting
50 - soft limit
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/dcn35/
Ddcn35_dsc.c1 /* SPDX-License-Identifier: MIT */
5 * Permission is hereby granted, free of charge, to any person obtaining a
46 dsc20->base.ctx
49 dsc20->dsc_regs->reg
53 ((const struct dcn35_dsc_shift *)(dsc20->dsc_shift))->field_name, \
54 ((const struct dcn35_dsc_mask *)(dsc20->dsc_mask))->field_name
57 dsc->ctx->logger
66 dsc->base.ctx = ctx; in dsc35_construct()
67 dsc->base.inst = inst; in dsc35_construct()
68 dsc->base.funcs = &dcn35_dsc_funcs; in dsc35_construct()
[all …]
/linux-6.12.1/drivers/usb/gadget/udc/
Dpxa27x_udc.h1 // SPDX-License-Identifier: GPL-2.0+
4 * Intel PXA27x on-chip full speed USB device controller
22 #define UDCCR 0x0000 /* UDC Control Register */
23 #define UDCICR0 0x0004 /* UDC Interrupt Control Register0 */
24 #define UDCICR1 0x0008 /* UDC Interrupt Control Register1 */
28 #define UDCOTGICR 0x0018 /* UDC On-The-Go interrupt control */
29 #define UP2OCR 0x0020 /* USB Port 2 Output Control register */
30 #define UP3OCR 0x0024 /* USB Port 3 Output Control register */
31 #define UDCCSRn(x) (0x0100 + ((x)<<2)) /* UDC Control/Status register */
34 #define UDCCRn(x) (0x0400 + ((x)<<2)) /* UDC Control Register */
[all …]
/linux-6.12.1/drivers/usb/misc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
13 Technologies USS-720 chip. These cables are plugged into your USB
19 printers may be connected to the USS-720 in this mode. The generic
30 Say Y here if you own an USS-720 USB->Parport cable and intend to
63 tristate "ADU devices from Ontrak Control Systems"
65 Say Y if you want to use an ADU device from Ontrak Control
72 tristate "USB 7-Segment LED Display"
74 Say Y here if you have a USB 7-Segment Display by Delcom
107 driver supports the pre-programmed devices (incl. firmware)
108 by AK Modul-Bus Computer GmbH.
[all …]
/linux-6.12.1/Documentation/admin-guide/mm/
Dtranshuge.rst26 requiring larger clear-page copy-page in page faults which is a
48 Modern kernels support "multi-size THP" (mTHP), which introduces the
50 but smaller than traditional PMD-size (as described above), in
51 increments of a power-of-2 number of pages. mTHP can back anonymous
53 PTE-mapped, but in many cases can still provide similar benefits to
56 prominent because the size of each page isn't as huge as the PMD-sized
66 collapses sequences of basic pages into PMD-sized huge pages.
91 possible to disable hugepages system-wide and to only have them inside
94 Embedded systems should enable hugepages only inside madvise regions
108 -------------------
[all …]
/linux-6.12.1/drivers/extcon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 Say Y here to enable external connector class (extcon) support.
11 host USB ports. Many of 30-pin connectors including PDMI are
22 Say Y here to enable extcon device driver based on ADC values.
25 tristate "X-Power AXP288 EXTCON support"
29 Say Y here to enable support for USB peripheral detection
30 and USB MUX switching by X-Power AXP288 PMIC.
48 Say Y here to enable GPIO based extcon support. Note that GPIO
55 Say Y here to enable extcon support for USB OTG ports controlled by
68 Say Y here to enable extcon support for charger detection / control
[all …]
/linux-6.12.1/drivers/staging/fbtft/
Dfb_ssd1305.c1 // SPDX-License-Identifier: GPL-2.0+
35 par->fbtftops.reset(par); in init_display()
37 if (par->gamma.curves[0] == 0) { in init_display()
38 mutex_lock(&par->gamma.lock); in init_display()
39 if (par->info->var.yres == 64) in init_display()
40 par->gamma.curves[0] = 0xCF; in init_display()
42 par->gamma.curves[0] = 0x8F; in init_display()
43 mutex_unlock(&par->gamma.lock); in init_display()
55 if (par->info->var.yres == 64) in init_display()
67 /* Charge Pump Setting */ in init_display()
[all …]

12345678910>>...18