Home
last modified time | relevance | path

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

12

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/qcom/
H A 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";
7 chassis-type = "handset";
11 qcom,fast-charge-safe-current = <1300000>;
12 qcom,fast-charge-current-limit = <1300000>;
13 qcom,dc-current-limit = <1300000>;
H A Dqcom-apq8026-asus-sparrow.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.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;
25 external_image_region: external-image@3100000 {
[all …]
H A Dqcom-msm8974-sony-xperia-rhine.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.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";
21 pinctrl-names = "default";
22 pinctrl-0 = <&gpio_keys_pin_a>;
[all …]
H A Dqcom-msm8974pro-fairphone-fp2.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 chassis-type = "handset";
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
25 compatible = "gpio-keys";
27 pinctrl-names = "default";
[all …]
H A Dqcom-apq8026-lg-lenok.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
11 /delete-node/ &adsp_region;
16 chassis-type = "watch";
17 qcom,board-id = <132 0x0a>;
18 qcom,msm-id = <199 0x20000>;
26 stdout-path = "serial0:115200n8";
29 reserved-memory {
32 no-map;
[all …]
H A Dqcom-apq8026-huawei-sturgeon.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
10 #include <dt-bindings/input/ti-drv260x.h>
12 /delete-node/ &adsp_region;
17 chassis-type = "watch";
18 qcom,msm-id = <199 0x20000>;
19 qcom,board-id = <8 4>;
21 reserved-memory {
24 no-map;
[all …]
H A Dqcom-msm8974pro-sony-xperia-shinano-castor.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.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,msm8974pro", "qcom,msm8974";
12 chassis-type = "tablet";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A 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 …]
/openbmc/linux/include/linux/mfd/
H A Drt5033-private.h1 /* SPDX-License-Identifier: GPL-2.0-only */
116 /* RT5033 charger property - model, manufacturer */
121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1
122 * register), AICR mode limits the input current. For example, the AIRC 100
123 * mode limits the input current to 100 mA.
171 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */
177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */
183 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */
190 * RT5033 charger const-charge end of charger current (
200 * RT5033 charger pre-charge threshold volt limits
[all …]
/openbmc/linux/drivers/power/supply/
H A 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 …]
H A 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 …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 power supply device (current, voltage, temperature) to be
84 This driver is used for testing. It's safe to say M here.
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
158 tristate "DS2782/DS2786 standalone gas-gauge"
162 gas-gauge.
199 tristate "Sharp SL-5500 (collie) battery"
203 SL-5500 (collie) models.
214 called ingenic-battery.
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/net/batman-adv/
H A 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 …]
/openbmc/linux/mm/
H A 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>
109 * Cgroups above their limits are maintained in a RB-Tree, independent of
206 /* for encoding cft->private value on file */
235 return tsk_is_oom_victim(current) || fatal_signal_pending(current) || in task_is_dying()
236 (current->flags & PF_EXITING); in task_is_dying()
244 return &memcg->vmpressure; in memcg_to_vmpressure()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h2 * Copyright 2012-2023 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
99 // for example, 1080p -> 8K is 4.0, or 4000 raw value
107 // for example, 8K -> 1080p is 0.25, or 250 raw value
119 * DOC: color-management-caps
124 * abstracted HW. DCE 5-12 had almost no important changes, but starting with
131 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma
147 * struct dpp_color_caps - color pipeline capabilities for display pipe and
152 * just plain 256-entry lookup
161 * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes
[all …]
H A Ddc_types.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
60 * (access to non-DC registers will hang FPGA) */
146 /* for Audio Formats 2-8 (Max bit rate divided by 8 kHz)*/
148 uint8_t audio_codec_vendor_specific; /* for Audio Formats 9-15*/
249 Must be zero for wired displays and non-zero for
281 /* implicitly specified by display device, still safe but less important*/
342 DC_VIDEO_POWER_ULPS, /* BACO or Ultra-Light-Power-State */
414 unsigned int src_height; /* input active height (half-active height in interlaced mode) */
420 enum dwb_cnv_out_bpc cnv_out_bpc; /* cnv output pixel depth - 8bpc or 10bpc */
[all …]
/openbmc/linux/Documentation/admin-guide/laptops/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A 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
43 bool event_age_enabled; /* set to true when last_event_age is non-zero */
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()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A 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>
69 /* these are outputs from the chip - integrated only
87 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */
103 * create the DMA scatter-gather list for each FB color plane. This sg
115 * in the rotated and remapped GTT view all no-CCS formats (up to 2
201 /* Read out the current hw state of this connector, returning true if
205 /* Reconstructs the equivalent mode flags for the current hardware
206 * state. This must be called _after_ display->get_pipe_config has
[all …]
/openbmc/linux/include/linux/
H A 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 …]
/openbmc/linux/include/drm/
H A 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
60 * struct drm_crtc_helper_funcs - helper operations for CRTCs
136 * to look at anything else but the passed-in mode, and validate it
137 * against configuration-invariant hardward constraints. Any further
240 * optimized fast-path instead of a full mode set operation with all the
309 * Drivers should check plane-update related CRTC constraints in this
340 * driver is not allowed to change anything outside of the free-standing
[all …]

12