Home
last modified time | relevance | path

Searched +full:charger +full:- +full:thermistor (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-coachz-r1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "sc7180-trogdor-coachz.dtsi"
13 model = "Google CoachZ (rev1 - 2)";
14 compatible = "google,coachz-rev1", "google,coachz-rev2", "qcom,sc7180";
18 * CoachZ rev1 is stuffed with a 47k NTC as charger thermistor which currently
19 * is not supported by the PM6150 ADC driver. Disable the charger thermal zone
27 /delete-node/ channel@4e;
28 /delete-node/ channel@4f;
34 /delete-node/ charger-thermistor@0;
[all …]
Dsc7180-trogdor-pompom-r2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "sc7180-trogdor-pompom.dtsi"
14 compatible = "google,pompom-rev2", "qcom,sc7180";
18 * Pompom rev2 is stuffed with a 47k NTC as charger thermistor which currently
19 * is not supported by the PM6150 ADC driver. Disable the charger thermal zone
27 /delete-node/ channel@4f;
31 /delete-node/ charger-thermistor@0;
Dsc7180-trogdor-pompom-r1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "sc7180-trogdor-pompom.dtsi"
12 /delete-node/ &keyboard_controller;
13 #include <arm/cros-ec-keyboard.dtsi>
17 compatible = "google,pompom-rev1", "qcom,sc7180";
21 * Pompom rev1 is stuffed with a 47k NTC as charger thermistor which currently
22 * is not supported by the PM6150 ADC driver. Disable the charger thermal zone
30 /delete-node/ channel@4f;
34 /delete-node/ charger-thermistor@0;
[all …]
Dsc7180-trogdor-lazor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor-clamshell.dtsi"
11 semtech,cs0-ground;
12 semtech,combined-sensors = <3>;
14 semtech,startup-sensor = <0>;
15 semtech,proxraw-strength = <8>;
16 semtech,avg-pos-strength = <64>;
24 * Lazor is stuffed with a 47k NTC as charger thermistor which currently is
25 * not supported by the PM6150 ADC driver. Disable the charger thermal zone
34 clock-frequency = <400000>;
[all …]
Dsc7180-acer-aspire1.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/sound/qcom,q6asm.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 /delete-node/ &tz_mem;
15 /delete-node/ &ipa_fw_mem;
20 chassis-type = "laptop";
30 stdout-path = "serial0:115200n8";
33 reserved-memory {
[all …]
Dsc7180-trogdor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/sound/sc7180-lpass.h>
16 #include "sc7180-firmware-tfa.dtsi"
22 thermal-zones {
23 charger_thermal: charger-thermal {
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dbq256xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq256xx Switch Mode Buck Charger
11 - Andrew Davis <afd@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
[all …]
/linux-6.12.1/Documentation/hwmon/
Dmc13783-adc.rst1 Kernel driver mc13783-adc
10 Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13783.pdf
16 Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13892.pdf
22 - Sascha Hauer <s.hauer@pengutronix.de>
23 - Luotao Fu <l.fu@pengutronix.de>
26 -----------
29 Among other things they contain a 10-bit A/D converter. The converter has 16
42 - MC13783:
47 0 Battery Voltage (BATT) 2.50 - 4.65V -2.40V
48 1 Battery Current (BATT - BATTISNS) -50 - 50 mV x20
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-rradc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-rradc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Caleb Connolly <caleb.connolly@linaro.org>
15 the battery thermistor die temperature, charger temperature, USB and DC input
21 - qcom,pmi8998-rradc
22 - qcom,pm660-rradc
27 qcom,batt-id-delay-ms:
31 "#io-channel-cells":
[all …]
/linux-6.12.1/include/linux/iio/adc/
Dqcom-vadc-common.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 /* Max ADC code represents full-scale range of 1.8V */
35 /* Default decimation - 1024 for rev2, 840 for pmic5 */
48 #define PMI_CHG_SCALE_1 -138890
69 * struct vadc_linear_graph - Represent ADC characteristics.
84 * enum vadc_scale_fn_type - Scaling function to convert ADC code to
90 * SCALE_XOTHERM: Returns XO thermistor voltage in millidegC.
96 * SCALE_HW_CALIB_XOTHERM: Returns XO thermistor voltage in millidegC using
105 * charger temperature.
/linux-6.12.1/drivers/hid/
Dhid-nvidia-shield.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/input-event-codes.h>
20 #include "hid-ids.h"
26 HID_USAGE_ANDROID_PLAYPAUSE_BTN = 0xcd, /* Double-tap volume slider */
109 __le16 thermistor; member
159 struct thunderstrike_hostcmd_charger charger; member
201 * Non-trivial to uniquely identify Thunderstrike controllers at initialization
211 /* Sub-devices */
232 report->report_id = THUNDERSTRIKE_HOSTCMD_REQ_REPORT_ID; in thunderstrike_hostcmd_req_report_init()
233 report->cmd_id = cmd_id; in thunderstrike_hostcmd_req_report_init()
[all …]
/linux-6.12.1/drivers/power/supply/
Drk817_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Charger Driver for Rockchip rk817
12 #include <linux/devm-helpers.h>
68 * soc - state of charge - like the BSP this is stored as a percentage,
143 return -EINVAL; in rk817_chg_cur_to_reg()
166 return -EINVAL; in rk817_chg_cur_from_reg()
170 static void rk817_bat_calib_vol(struct rk817_charger *charger) in rk817_bat_calib_vol() argument
177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol()
181 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB1_H, in rk817_bat_calib_vol()
186 charger->voltage_k = (4025 - 2300) * 1000 / in rk817_bat_calib_vol()
[all …]
Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Summit Microelectronics SMB347 Battery Charger Driver
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
136 * struct smb347_charger - smb347 charger instance
142 * @id: SMB charger ID
146 * @usb_vbus_enabled: is USB VBUS powered by SMB charger
149 * @pre_charge_current: current (in uA) to use in pre-charging phase
[all …]
Dbq256xx_charger.c1 // SPDX-License-Identifier: GPL-2.0
2 // BQ256XX Battery Charger Driver
3 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
153 * struct bq256xx_init_data -
177 * struct bq256xx_state -
209 * struct bq256xx_device -
213 * @charger: power supply registered for the charger
233 struct power_supply *charger; member
253 * struct bq256xx_chip_info -
342 return i - 1; in bq256xx_array_parse()
[all …]
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos3250-monk.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/samsung,s2mps11.h>
34 compatible = "samsung,secure-firmware";
38 gpio-keys {
39 compatible = "gpio-keys";
41 power-key {
[all …]
Dexynos3250-rinato.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/samsung,s2mps11.h>
22 chassis-type = "watch";
31 stdout-path = &serial_1;
40 compatible = "samsung,secure-firmware";
44 gpio-keys {
[all …]
Dexynos4412-midas.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
19 #include <dt-bindings/clock/maxim,max77686.h>
20 #include "exynos-pinctrl.h"
34 stdout-path = &serial_2;
38 compatible = "samsung,secure-firmware";
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SPMI PMICs multi-function device
13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes
14 each. A function can consume one or more of these fixed-size register regions.
24 - Stephen Boyd <sboyd@kernel.org>
29 - pattern: '^pmic@.*$'
30 - pattern: '^pm(a|s)?[0-9]*@.*$'
[all …]
Dstericsson,ab8500.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST-Ericsson Analog Baseband AB8500 and AB8505
10 - Linus Walleij <linus.walleij@linaro.org>
13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit
14 handling power management (regulators), analog-to-digital conversion
15 (ADC), battery charging, fuel gauging of the battery, battery-backed
16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms
21 USB charging handling has changed, and it has an embedded USB-to-serial
[all …]
Drockchip,rk816.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
16 battery charger manager with fuel gauge.
21 - rockchip,rk816
29 '#clock-cells':
31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
34 clock-output-names:
[all …]
/linux-6.12.1/arch/arm64/boot/dts/exynos/
Dexynos5433-tm2-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 /dts-v1/;
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/sound/samsung-i2s.h>
48 stdout-path = &serial_1;
56 gpio-keys {
57 compatible = "gpio-keys";
[all …]