Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v6.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: Binding for 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-v6.1/include/linux/mfd/
Drt5033-private.h1 /* SPDX-License-Identifier: GPL-2.0-only */
93 /* RT5033 control register */
103 /* RT5033 BUCK control register */
106 /* RT5033 LDO control register */
109 /* RT5033 charger property - model, manufacturer */
115 * RT5033 charger fast-charge current lmits (as in CHGCTRL1 register),
138 /* RT5033 charger termination enable mask */
149 /* RT5033 charger termination enable */
152 /* RT5033 charger CFO enable */
155 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */
[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-v6.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
36 Say Y here to enable generic power driver for PDAs and phones with
44 Say Y here to enable support APM status emulation using
51 Say Y here to enable support for the generic battery driver
66 Say Y here to enable support for the battery charger in the Maxim
73 Say Y here to enable support for the backup battery charger
80 Say Y here to enable support for the power management unit
87 Say Y here to enable support for the power management unit
[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-v6.1/drivers/rtc/
Drtc-bq32k.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #define BQ32K_CENT_EN 0x80 /* Century flag enable bit */
31 #define BQ32K_CALIBRATION 0x07 /* CAL_CFG1, calibration and control */
32 #define BQ32K_TCH2 0x08 /* Trickle charge enable */
33 #define BQ32K_CFG2 0x09 /* Trickle charger control */
34 #define BQ32K_TCFE BIT(6) /* Trickle charge FET bypass */
57 .addr = client->addr, in bq32k_read()
62 .addr = client->addr, in bq32k_read()
69 if (i2c_transfer(client->adapter, msgs, 2) == 2) in bq32k_read()
72 return -EIO; in bq32k_read()
[all …]
/Linux-v6.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-v6.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 …]
Dpcm990_baseboard.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * arch/arm/mach-pxa/include/mach/pcm990_baseboard.h
13 * definitions relevant only when the PCM-990
17 /* CPLD's interrupt controller is connected to PCM-027 GPIO 9 */
21 #define PCM990_CTRL_PHYS PXA_CS1_PHYS /* 16-Bit */
31 #define PCM990_CTRL_RESOUT 0x0002 /* RESETOUT Enable REGISTER */
32 #define PCM990_CTRL_RESGPIO 0x0004 /* RESETGPIO Enable REGISTER */
36 #define PCM990_CTRL_CANPWR 0x0004 /* Enable CANPWR ADUM */
40 #define PCM990_CTRL_LEDPWR 0x0001 /* POWER LED enable */
41 #define PCM990_CTRL_LEDBAS 0x0002 /* BASIS LED enable */
[all …]
/Linux-v6.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-v6.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-v6.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-v6.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
67 Say Y here to enable extcon support for charger detection / control
[all …]
/Linux-v6.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-v6.1/drivers/gpu/drm/panel/
Dpanel-raydium-rm68200.c1 // SPDX-License-Identifier: GPL-2.0
30 #define MCS_STBCTR 0x12 /* TE1 Output Setting Zig-Zag Connection */
34 #define MCS_EXT_PWR_IC 0x24 /* External PWR IC Control */
35 #define MCS_SETAVDD 0x27 /* PFM Control for AVDD Output */
36 #define MCS_SETAVEE 0x29 /* PFM Control for AVEE Output */
37 #define MCS_BT2CTR 0x2B /* DDVDL Charge Pump Control */
38 #define MCS_BT3CTR 0x2F /* VGH Charge Pump Control */
39 #define MCS_BT4CTR 0x34 /* VGL Charge Pump Control */
40 #define MCS_VCMCTR 0x46 /* VCOM Output Level Control */
41 #define MCS_SETVGN 0x52 /* VG M/S N Control */
[all …]
/Linux-v6.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 …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dopp.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
67 /* 0-3 to select patterns*/
69 /* Enable RGB random dithering*/
71 /* Enable Frame random dithering*/
73 /* Enable HighPass random dithering*/
95 /* 0x0 - BITS2:0 Bypass */
97 /* 0x1 - Fixed curve sRGB 2.4 */
99 /* 0x2 - Fixed curve xvYCC 2.22 */
101 /* 0x3 - Programmable control A */
[all …]
/Linux-v6.1/drivers/leds/flash/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
19 Enable LED flash class support for AS3645A LED flash
31 Say Y to enable this driver.
48 multifunction device. It has build in control for two leds in flash
84 will be called leds-rt8515.
90 This option enables support for the SGM3140 500mA Buck/Boost Charge
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_thermal.c4 * Permission is hereby granted, free of charge, to any person obtaining a
38 return -EINVAL); in vega12_get_current_rpm()
47 fan_speed_info->supports_percent_read = false; in vega12_fan_ctrl_get_fan_speed_info()
48 fan_speed_info->supports_percent_write = false; in vega12_fan_ctrl_get_fan_speed_info()
49 fan_speed_info->supports_rpm_read = true; in vega12_fan_ctrl_get_fan_speed_info()
50 fan_speed_info->supports_rpm_write = true; in vega12_fan_ctrl_get_fan_speed_info()
63 * vega12_enable_fan_control_feature -Enables the SMC Fan Control Feature.
66 * Return: 0 on success. -1 otherwise.
71 struct vega12_hwmgr *data = (struct vega12_hwmgr *)(hwmgr->backend); in vega12_enable_fan_control_feature()
73 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_enable_fan_control_feature()
[all …]

12345678910>>...16