Home
last modified time | relevance | path

Searched +full:omit +full:- +full:battery +full:- +full:class (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
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 …]
/Linux-v6.1/drivers/platform/x86/
Dx86-android-tablets.c1 // SPDX-License-Identifier: GPL-2.0+
38 #include "../../gpio/gpiolib-acpi.h"
42 * (either IOAPIC index, or GPIO chip name + pin-number).
62 return gc->label && !strcmp(gc->label, data); in gpiochip_find_match_label()
73 return -ENODEV; in x86_android_tablet_get_gpiod()
97 switch (data->type) { in x86_acpi_irq_helper_get()
104 acpi_unregister_gsi(data->index); in x86_acpi_irq_helper_get()
105 irq = acpi_register_gsi(NULL, data->index, data->trigger, data->polarity); in x86_acpi_irq_helper_get()
107 pr_err("error %d getting APIC IRQ %d\n", irq, data->index); in x86_acpi_irq_helper_get()
112 ret = x86_android_tablet_get_gpiod(data->chip, data->index, &gpiod); in x86_acpi_irq_helper_get()
[all …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-cht-wc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved.
62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, &reg); in cht_wc_i2c_adap_thread_handler()
67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler()
68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler()
75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler()
77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler()
81 * handling the previous ones our irq will re-trigger when we're done. in cht_wc_i2c_adap_thread_handler()
[all …]
/Linux-v6.1/drivers/power/supply/
Dbq24190_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for the TI bq24190 battery charger.
19 #include <linux/extcon-provider.h>
32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */
57 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
161 struct power_supply *battery; member
190 * The tables below provide a 2-way mapping for the value that goes in
191 * the register field and the real-world value that it represents.
193 * number at that index in the array is the real-world value that it
233 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Drk3188-bqedison2qc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/i2c/i2c.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 model = "BQ Edison2 Quad-Core";
15 compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188";
29 compatible = "pwm-backlight";
30 power-supply = <&vsys>;
34 gpio-keys {
[all …]
Dqcom-msm8974-lge-nexus5-hammerhead.dts1 // 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>
19 stdout-path = "serial0:115200n8";
22 gpio-keys {
23 compatible = "gpio-keys";
[all …]