Home
last modified time | relevance | path

Searched +full:use +full:- +full:ilim +full:- +full:pin (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq25890.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - enum:
20 - ti,bq25890
21 - items:
22 - enum:
[all …]
/linux/drivers/platform/x86/x86-android-tablets/
H A Dlenovo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
27 #include "shared-psy-info.h"
28 #include "x86-android-tablets.h"
31 * Various Lenovo models use a TI LP8557 LED backlight controller with its PWM
33 * The Android kernels have a hack in the i915 driver to write a non-standard
34 * panel specific DSI register to set the duty-cycle of the LCD's PWM output.
37 * LP8557 to directly set the level and use the lp855x_bl driver for control.
46 * But on some models the panel's PWM output defaults to a duty-cycle of
65 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001),
[all …]
/linux/drivers/power/supply/
H A Dbq24257_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
211 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq24257_field_read()
221 return regmap_field_write(bq->rmap_fields[field_id], val); in bq24257_field_write()
232 return idx - 1; in bq24257_find_idx()
266 * The "External ILIM" and "Production & Test" modes are not exposed in bq24257_get_input_current_limit()
273 return -ENODATA; in bq24257_get_input_current_limit()
275 val->intval = bq24257_iilimit_map[ret]; in bq24257_get_input_current_limit()
285 * while the charger auto-detection mechanism is active. In this in bq24257_set_input_current_limit()
286 * case we want to abort and go straight to the user-specified value. in bq24257_set_input_current_limit()
288 if (bq->iilimit_autoset_enable) in bq24257_set_input_current_limit()
[all …]
H A Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
90 u8 ilim_en; /* enable ILIM pin */
113 char name[28]; /* "bq25890-charger-%d" */
272 * Most of the val -> idx conversions can be computed, given the minimum,
273 * maximum and the step between values. For the rest of conversions, we use
322 0, -10, -20, -30, -40, -60, -70, -80,
323 -90, -10, -120, -140, -150, -170, -190, -210,
367 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
377 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write()
394 rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1; in bq25890_find_idx()
[all …]