Home
last modified time | relevance | path

Searched +full:fast +full:- +full:charge +full:- +full:safe +full:- +full:current (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
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/arch/arm/boot/dts/
Dqcom-msm8974-sony-xperia-rhine-amami.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974-sony-xperia-rhine.dtsi"
6 compatible = "sony,xperia-amami", "qcom,msm8974";
10 qcom,fast-charge-safe-current = <1300000>;
11 qcom,fast-charge-current-limit = <1300000>;
12 qcom,dc-current-limit = <1300000>;
Dqcom-apq8026-asus-sparrow.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
9 #include "qcom-pm8226.dtsi"
11 /delete-node/ &adsp_region;
16 chassis-type = "watch";
17 qcom,msm-id = <199 0x20000>;
18 qcom,board-id = <8 3005>;
20 reserved-memory {
23 no-map;
[all …]
Dqcom-msm8974-sony-xperia-rhine.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 stdout-path = "serial0:115200n8";
18 gpio-keys {
19 compatible = "gpio-keys";
[all …]
Dqcom-apq8026-lg-lenok.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
9 #include "qcom-pm8226.dtsi"
11 /delete-node/ &adsp_region;
16 qcom,board-id = <132 0x0a>;
17 qcom,msm-id = <199 0x20000>;
25 stdout-path = "serial0:115200n8";
28 reserved-memory {
31 no-map;
[all …]
Dqcom-msm8974pro-fairphone-fp2.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
[all …]
Dqcom-msm8974pro-sony-xperia-shinano-castor.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-castor", "qcom,msm8974";
19 stdout-path = "serial0:115200n8";
22 gpio-keys {
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-power5 Contact: linux-pm@vger.kernel.org
14 Contact: linux-pm@vger.kernel.org
23 Contact: linux-pm@vger.kernel.org
32 Contact: linux-pm@vger.kernel.org
43 Contact: linux-pm@vger.kernel.org
47 Reports an average IBAT current reading for the battery, over
54 Reports an average IBUS current reading over a fixed period.
62 batteries and for USB IBUS current.
66 Contact: linux-pm@vger.kernel.org
70 Reports the maximum IBAT current allowed into the battery.
[all …]
/Linux-v6.1/include/linux/mfd/
Drt5033-private.h1 /* SPDX-License-Identifier: GPL-2.0-only */
109 /* RT5033 charger property - model, manufacturer */
115 * RT5033 charger fast-charge current lmits (as in CHGCTRL1 register),
116 * AICR mode limits the input current for example,
117 * the AIRC 100 mode limits the input current to 100 mA.
155 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */
160 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */
165 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */
171 * RT5033 charger const-charge end of charger current (
181 * RT5033 charger pre-charge threshold volt limits
[all …]
/Linux-v6.1/drivers/power/supply/
Dqcom_smbb.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * This driver is for the multi-block Switch-Mode Battery Charger and Boost
6 * integrated, single-cell lithium-ion battery charger.
8 * Sub-components:
9 * - Charger core
10 * - Buck
11 * - DC charge-path
12 * - USB charge-path
13 * - Battery interface
14 * - Boost (not implemented)
[all …]
Dmax14577_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577_charger.c - Battery charger driver for the Maxim 14577/77836
11 #include <linux/mfd/max14577-private.h>
49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state()
55 * - CHGCTRL2/MBCHOSTEN == 1 in max14577_get_charger_state()
56 * - STATUS2/CGMBC == 1 in max14577_get_charger_state()
59 * - handle FULL after Top-off timer (EOC register may be off in max14577_get_charger_state()
61 * - handle properly dead-battery charging (respect timer) in max14577_get_charger_state()
62 * - handle timers (fast-charge and prequal) /MBCCHGERR/ in max14577_get_charger_state()
78 /* Charger or USB-cable is connected */ in max14577_get_charger_state()
[all …]
Dmax77693_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max77693_charger.c - Battery charger driver for the Maxim 77693
13 #include <linux/mfd/max77693-common.h>
14 #include <linux/mfd/max77693-private.h>
16 #define MAX77693_CHARGER_NAME "max77693-charger"
49 /* In high temp the charging current is reduced, but still charging */ in max77693_get_charger_state()
88 * Top-off: trickle or fast? In top-off the current varies between in max77693_get_charge_type()
89 * 100 and 250 mA. It is higher than prequalification current. in max77693_get_charge_type()
96 /* In high temp the charging current is reduced, but still charging */ in max77693_get_charge_type()
118 * - POWER_SUPPLY_HEALTH_DEAD
[all …]
Dmax8925_power.c1 // 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()
95 /* disable charge */ 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()
[all …]
Dltc4162-l-charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Analog Devices (Linear Technology) LTC4162-L charger IC.
55 cc_cv_charge = 64, /* normal charge */
82 u32 rsnsb; /* Series resistor that sets charge current, microOhm */
83 u32 rsnsi; /* Series resistor to measure input current, microOhm */
93 if (info->cell_count) in ltc4162l_get_cell_count()
94 return info->cell_count; in ltc4162l_get_cell_count()
96 ret = regmap_read(info->regmap, LTC4162L_CHEM_CELLS_REG, &val); in ltc4162l_get_cell_count()
106 info->cell_count = val; in ltc4162l_get_cell_count()
134 ret = regmap_read(info->regmap, LTC4162L_CHARGER_STATE, &regval); in ltc4162l_get_status()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 power supply device (current, voltage, temperature) to be
93 This driver is used for testing. It's safe to say M here.
113 tristate "Active-semi ACT8945A charger driver"
117 Active-semi ActivePath ACT8945A charger.
167 tristate "DS2782/DS2786 standalone gas-gauge"
171 gas-gauge.
199 tristate "Sharp SL-6000 (tosa) battery"
203 SL-6000 (tosa) models.
206 tristate "Sharp SL-5500 (collie) battery"
[all …]
/Linux-v6.1/net/batman-adv/
Dtp_meter.c1 // SPDX-License-Identifier: GPL-2.0
45 #include "hard-interface.h"
52 * BATADV_TP_DEF_TEST_LENGTH - Default test length if not specified by the user
58 * BATADV_TP_AWND - Advertised window by the receiver (in bytes)
63 * BATADV_TP_RECV_TIMEOUT - Receiver activity timeout. If the receiver does not
69 * BATADV_TP_MAX_RTO - Maximum sender timeout. If the sender RTO gets beyond
76 * BATADV_TP_FIRST_SEQ - First seqno of each session. The number is rather high
79 #define BATADV_TP_FIRST_SEQ ((u32)-1 - 2000)
82 * BATADV_TP_PLEN - length of the payload (data after the batadv_unicast header)
85 #define BATADV_TP_PLEN (BATADV_TP_PACKET_LEN - ETH_HLEN - \
[all …]
/Linux-v6.1/mm/
Dmemcontrol.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* memcontrol.c - Memory Controller
19 * Charge lifetime sanitation
38 #include <linux/page-flags.h>
39 #include <linux/backing-dev.h>
105 * Cgroups above their limits are maintained in a RB-Tree, independent of
202 /* for encoding cft->private value on file */
231 return tsk_is_oom_victim(current) || fatal_signal_pending(current) || in task_is_dying()
232 (current->flags & PF_EXITING); in task_is_dying()
240 return &memcg->vmpressure; in memcg_to_vmpressure()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/
Ddc.h2 * Copyright 2012-14 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
102 // for example, 1080p -> 8K is 4.0, or 4000 raw value
110 // for example, 8K -> 1080p is 0.25, or 250 raw value
122 * DOC: color-management-caps
127 * abstracted HW. DCE 5-12 had almost no important changes, but starting with
134 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma
150 * struct dpp_color_caps - color pipeline capabilities for display pipe and
155 * just plain 256-entry lookup
164 * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes
[all …]
Ddc_types.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
59 * (access to non-DC registers will hang FPGA) */
157 /* for Audio Formats 2-8 (Max bit rate divided by 8 kHz)*/
159 uint8_t audio_codec_vendor_specific; /* for Audio Formats 9-15*/
258 Must be zero for wired displays and non-zero for
290 /* implicitly specified by display device, still safe but less important*/
351 DC_VIDEO_POWER_ULPS, /* BACO or Ultra-Light-Power-State */
406 uint8_t aux_rd_interval[MAX_REPEATER_CNT - 1];
426 indicates 'Frame Sequential-to-lllFrame Pack' conversion capability.*/
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2014-2022 Advanced Micro Devices, Inc.
5 * Permission is hereby granted, free of charge, to any person obtaining a
47 * Each signal event needs a 64-bit signal slot where the signaler will write
61 return page->kernel_address; in page_slots()
82 page->kernel_address = backing_store; in allocate_signal_page()
83 page->need_to_free_pages = true; in allocate_signal_page()
100 if (!p->signal_page) { in allocate_event_notification_slot()
101 p->signal_page = allocate_signal_page(p); in allocate_event_notification_slot()
102 if (!p->signal_page) in allocate_event_notification_slot()
[all …]
/Linux-v6.1/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - 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-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h4 * Permission is hereby granted, free of charge, to any person obtaining a
51 // Current Throttlers
217 SMU_PPT_LIMIT_MIN = -1,
576 * struct pptable_funcs - Callbacks used to interact with the SMU.
594 * @get_current_power_state: Get the current power state.
596 * Return: Current power state on success, negative errno on failure.
616 * to buffer. Star current level.
625 * to buffer using sysfs_emit_at. Star current level.
681 * buffer. Star current mode.
729 * @display_config_changed: Notify the SMU of the current display
[all …]
/Linux-v6.1/include/linux/
Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <asm/current.h>
34 #include <linux/posix-timers.h>
77 * We have two separate sets of flags: task->state
78 * is about runnability, while task->exit_state are
84 /* Used in tsk->state: */
90 /* Used in tsk->exit_state: */
94 /* Used in tsk->state again: */
107 #define TASK_ANY (TASK_STATE_MAX-1)
130 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING)
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_display_types.h3 * Copyright (c) 2007-2008 Intel Corporation
6 * Permission is hereby granted, free of charge, to any person obtaining a
47 #include <media/cec-notifier.h>
67 /* these are outputs from the chip - integrated only
85 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */
101 * create the DMA scatter-gather list for each FB color plane. This sg
113 * in the rotated and remapped GTT view all no-CCS formats (up to 2
205 /* Read out the current hw state of this connector, returning true if
209 /* Reconstructs the equivalent mode flags for the current hardware
210 * state. This must be called _after_ display->get_pipe_config has
[all …]
/Linux-v6.1/include/drm/
Ddrm_modeset_helper_vtables.h3 * Copyright © 2007-2008 Dave Airlie
4 * Copyright © 2007-2008 Intel Corporation
6 * Copyright © 2011-2013 Intel Corporation
10 * Permission is hereby granted, free of charge, to any person obtaining a
56 * struct drm_crtc_helper_funcs - helper operations for CRTCs
132 * to look at anything else but the passed-in mode, and validate it
133 * against configuration-invariant hardward constraints. Any further
238 * optimized fast-path instead of a full mode set operation with all the
307 * Drivers should check plane-update related CRTC constraints in this
338 * driver is not allowed to change anything outside of the free-standing
[all …]

12