Home
last modified time | relevance | path

Searched +full:precharge +full:- +full:current (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.15/Documentation/devicetree/bindings/power/supply/
Dbq25890.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Binding for bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq25890
20 - ti,bq25892
21 - ti,bq25895
22 - ti,bq25896
[all …]
Dbq24190.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Binding for TI BQ2419x Li-Ion Battery Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24190
20 - ti,bq24192
21 - ti,bq24192i
22 - ti,bq24196
[all …]
Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 device-chemistry:
[all …]
Drohm,bd99954.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
11 - Markus Laine <markus.laine@fi.rohmeurope.com>
12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>
15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion
16 secondary battery intended to be used in space-constraint equipment such
18 provides a Dual-source Battery Charger, two port BC1.2 detection and a
28 # Curve (1) represents charging current.
[all …]
Dbq2415x.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Binding for TI bq2415x Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24150
20 - ti,bq24150
21 - ti,bq24150a
22 - ti,bq24151
[all …]
Dbq2515x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI bq2515x 500-mA Linear charger family
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
18 push-button controller.
27 - ti,bq25150
28 - ti,bq25155
34 ac-detect-gpios:
[all …]
Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
16 for use in high-power density portable electronics. These inductorless
21 - $ref: power-supply.yaml#
26 - ti,bq25980
27 - ti,bq25975
28 - ti,bq25960
[all …]
Dbq256xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
14 The bq256xx devices are a family of highly-integrated battery charge
15 management and system power management ICs for single cell Li-ion and Li-
19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf
20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf
21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf
22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf
[all …]
/Linux-v5.15/drivers/staging/fbtft/
Dfb_ssd1331.c1 // SPDX-License-Identifier: GPL-2.0
27 par->fbtftops.reset(par); in init_display()
32 if (par->info->var.rotate == 180) in init_display()
33 write_reg(par, 0xa0, 0x60 | (par->bgr << 2)); in init_display()
35 write_reg(par, 0xa0, 0x72 | (par->bgr << 2)); in init_display()
44 write_reg(par, 0xb1, 0x31); /* Precharge */ in init_display()
46 write_reg(par, 0x8a, 0x64); /* Precharge A */ in init_display()
47 write_reg(par, 0x8b, 0x78); /* Precharge B */ in init_display()
48 write_reg(par, 0x8c, 0x64); /* Precharge C */ in init_display()
49 write_reg(par, 0xbb, 0x3a); /* Precharge level */ in init_display()
[all …]
Dfb_seps525.c1 // SPDX-License-Identifier: GPL-2.0
3 * FB driver for the NHD-1.69-160128UGC3 (Newhaven Display International, Inc.)
99 par->fbtftops.reset(par); in init_display()
106 /* Set Normal Driving Current */ in init_display()
118 /* precharge time R G B */ in init_display()
123 /* precharge current R G B (uA) */ in init_display()
128 /* driving current R G B (uA) */ in init_display()
171 switch (par->info->var.rotate) { in set_var()
182 return -EINVAL; in set_var()
186 (par->bgr ? MODE_SWAP_BGR : 0)); in set_var()
/Linux-v5.15/drivers/power/supply/
Dmp2629_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
70 PRECHARGE, enumerator
134 MP2629_PROPS(PRECHARGE, 120000, 720000, 40000),
143 [PRECHARGE] = REG_FIELD(MP2629_REG_PRECHARGE, 4, 7),
148 "mp2629-batt-volt",
149 "mp2629-system-volt",
150 "mp2629-input-volt",
151 "mp2629-batt-current",
152 "mp2629-input-current",
162 ret = iio_read_channel_processed(charger->iiochan[ch], &chval); in mp2629_read_adc()
[all …]
D88pm860x_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
86 /* over-temperature on PM8606 setting */
90 /* over-voltage protect on vchg setting mv */
113 "battery-monitor",
121 ret = pm860x_bulk_read(info->i2c, PM8607_VCHG_MEAS1, 2, buf); in measure_vchg()
129 dev_dbg(info->dev, "%s, vchg: %d mv\n", __func__, *data); in measure_vchg()
144 pm860x_reg_write(info->i2c, PM8607_VCHG_LOWTH, data); in set_vchg_threshold()
145 dev_dbg(info->dev, "VCHG_LOWTH:%dmv, 0x%x\n", min, data); in set_vchg_threshold()
151 pm860x_reg_write(info->i2c, PM8607_VCHG_HIGHTH, data); in set_vchg_threshold()
152 dev_dbg(info->dev, "VCHG_HIGHTH:%dmv, 0x%x\n", max, data); in set_vchg_threshold()
[all …]
Dltc4162-l-charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Analog Devices (Linear Technology) LTC4162-L charger IC.
54 precharge = 128, /* trickle on low bat voltage */ enumerator
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()
115 case precharge: in ltc4162l_state_decode()
[all …]
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
76 u8 ichg; /* charge current */
78 u8 iterm; /* termination current */
79 u8 iprechg; /* precharge current */
82 u8 boosti; /* boost current limit */
251 * Most of the val -> idx conversions can be computed, given the minimum,
276 /* Boost mode current limit lookup table, in uA */
320 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
330 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write()
347 rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1; in bq25890_find_idx()
[all …]
Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
46 if (supply->supplied_from) { in __power_supply_is_supplied_by()
47 if (!supplier->desc->name) in __power_supply_is_supplied_by()
49 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
53 if (!supply->desc->name) in __power_supply_is_supplied_by()
55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
69 if (pst->desc->external_power_changed) in __power_supply_changed_work()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/bus/
Dqcom,ebi2.txt4 external memory (such as NAND or other memory-mapped peripherals) whereas
18 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me.
24 CS0 GPIO134 0x1a800000-0x1b000000 (8MB)
25 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB)
26 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB)
27 CS3 GPIO133 0x1d000000-0x25000000 (128 MB)
28 CS4 GPIO132 0x1c800000-0x1d000000 (8MB)
29 CS5 GPIO131 0x1c000000-0x1c800000 (8MB)
31 The APQ8060 Qualcomm Application Processor User Guide, 80-N7150-14 Rev. A,
34 FIXME: the manual mentions "write precharge cycles" and "precharge cycles".
[all …]
/Linux-v5.15/mm/
Dmemcontrol.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* memcontrol.c - Memory Controller
38 #include <linux/page-flags.h>
39 #include <linux/backing-dev.h>
115 * Cgroups above their limits are maintained in a RB-Tree, independent of
195 unsigned long precharge; member
212 /* for encoding cft->private value on file */
244 return tsk_is_oom_victim(current) || fatal_signal_pending(current) || in should_force_charge()
245 (current->flags & PF_EXITING); in should_force_charge()
253 return &memcg->vmpressure; in memcg_to_vmpressure()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/display/
Dsolomon,ssd1307fb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Ripard <mripard@kernel.org>
15 - solomon,ssd1305fb-i2c
16 - solomon,ssd1306fb-i2c
17 - solomon,ssd1307fb-i2c
18 - solomon,ssd1309fb-i2c
26 reset-gpios:
29 vbat-supply:
[all …]
/Linux-v5.15/drivers/bus/
Dqcom-ebi2.c1 // SPDX-License-Identifier: GPL-2.0-only
41 * Bits 31-28: RECOVERY recovery cycles (0 = 1, 1 = 2 etc) this is the time the
42 * memory continues to drive the data bus after OE is de-asserted.
45 * Bits 27-24: WR_HOLD write hold cycles, these are extra cycles inserted after
49 * Bits 23-16: WR_DELTA initial latency for write cycles inserted for the first
51 * Bits 15-8: RD_DELTA initial latency for read cycles inserted for the first
53 * Bits 7-4: WR_WAIT number of wait cycles for every write access, 0=1 cycle
55 * Bits 3-0: RD_WAIT number of wait cycles for every read access, 0=1 cycle
74 * Bits 31-28: ?
75 * Bits 27-24: RD_HOLD: the length in cycles of the first segment of a read
[all …]
/Linux-v5.15/drivers/video/fbdev/
Dssd1307fb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
122 array->type = type; in ssd1307fb_alloc_array()
136 dev_err(&client->dev, "Couldn't send I2C command.\n"); in ssd1307fb_write_array()
150 return -ENOMEM; in ssd1307fb_write_cmd()
152 array->data[0] = cmd; in ssd1307fb_write_cmd()
163 u8 col_end = col_start + cols - 1; in ssd1307fb_set_col_range()
166 if (col_start == par->col_start && col_end == par->col_end) in ssd1307fb_set_col_range()
169 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COL_RANGE); in ssd1307fb_set_col_range()
173 ret = ssd1307fb_write_cmd(par->client, col_start); in ssd1307fb_set_col_range()
177 ret = ssd1307fb_write_cmd(par->client, col_end); in ssd1307fb_set_col_range()
[all …]
/Linux-v5.15/Documentation/power/
Dpower_supply_class.rst8 properties to user-space.
60 +--------------------------------------------------------------------------+
61 | **Charge/Energy/Capacity - how to not confuse** |
62 +--------------------------------------------------------------------------+
66 | - `CHARGE_*` |
68 | - `ENERGY_*` |
70 | - `CAPACITY` |
72 +--------------------------------------------------------------------------+
122 Reports the current measured during boot
140 the current charge counter (in µAh). This could easily
[all …]
/Linux-v5.15/sound/soc/codecs/
Dmt6359.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6359.c -- mt6359 ALSA SoC audio codec driver
24 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ffe); in mt6359_set_playback_gpio()
25 regmap_write(priv->regmap, MT6359_GPIO_MODE2_SET, 0x0249); in mt6359_set_playback_gpio()
28 regmap_write(priv->regmap, MT6359_GPIO_MODE3_CLR, 0x6); in mt6359_set_playback_gpio()
29 regmap_write(priv->regmap, MT6359_GPIO_MODE3_SET, 0x1); in mt6359_set_playback_gpio()
39 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ff8); in mt6359_reset_playback_gpio()
40 regmap_update_bits(priv->regmap, MT6359_GPIO_DIR0, 0x7 << 9, 0x0); in mt6359_reset_playback_gpio()
46 regmap_write(priv->regmap, MT6359_GPIO_MODE3_CLR, 0x0e00); in mt6359_set_capture_gpio()
47 regmap_write(priv->regmap, MT6359_GPIO_MODE3_SET, 0x0200); in mt6359_set_capture_gpio()
[all …]
Dmt6358.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6358.c -- mt6358 ALSA SoC audio codec driver
107 priv->mtkaif_protocol = mtkaif_protocol; in mt6358_set_mtkaif_protocol()
114 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set()
116 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set()
118 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set()
129 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset()
131 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_reset()
133 regmap_update_bits(priv->regmap, MT6358_GPIO_DIR0, in playback_gpio_reset()
140 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_CLR, in capture_gpio_set()
[all …]
Dinno_rk3036.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Author: Zheng ShunQian<zhengsq@rock-chips.com>
11 #include <sound/soc-dapm.h>
12 #include <sound/soc-dai.h>
34 static const DECLARE_TLV_DB_MINMAX(rk3036_codec_hp_tlv, -39, 0);
39 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in rk3036_codec_antipop_info()
40 uinfo->count = 2; in rk3036_codec_antipop_info()
41 uinfo->value.integer.min = 0; in rk3036_codec_antipop_info()
42 uinfo->value.integer.max = 1; in rk3036_codec_antipop_info()
56 ucontrol->value.integer.value[0] = val; in rk3036_codec_antipop_get()
[all …]
/Linux-v5.15/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S1 /* SPDX-License-Identifier: GPL-2.0 */
39 /* ---------------------------------------------------------------------- */
40 /* low-power mode with help of M68HLC908QT1 */
48 /* setup wakeup address for u-boot at physical location 0x0 */
58 * 0xf0 (0xe0->0x100 gets overwritten when BDI connected;
60 * WARNING: self-refresh doesn't seem to work when BDI2000 is connected,
78 li r3, (sram_code_end - sram_code)/4
111 /* send NOP (precharge) */
130 * mode_en must not be set when enabling self-refresh
131 * send AR with CKE low (self-refresh)
[all …]

12