Home
last modified time | relevance | path

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

/Linux-v6.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/ skin-temp-thermistor@4e;
28 /delete-node/ charger-thermistor@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/ charger-thermistor@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/ charger-thermistor@4f;
34 /delete-node/ charger-thermistor@0;
[all …]
Dsc7180-trogdor-lazor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /* This file must be included after sc7180-trogdor.dtsi */
9 #include <arm/cros-ec-keyboard.dtsi>
12 semtech,cs0-ground;
13 semtech,combined-sensors = <3>;
15 semtech,startup-sensor = <0>;
16 semtech,proxraw-strength = <8>;
17 semtech,avg-pos-strength = <64>;
25 * Lazor is stuffed with a 47k NTC as charger thermistor which currently is
26 * not supported by the PM6150 ADC driver. Disable the charger thermal zone
[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>
21 thermal-zones {
22 charger_thermal: charger-thermal {
23 polling-delay-passive = <0>;
[all …]
/Linux-v6.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-v6.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-v6.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-v6.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 …]
Dtosa_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Battery and Power Management code for the Sharp SL-6000x
17 #include <asm/mach-types.h>
54 if (!bat->gpiod_bat || bat->adc_bat < 0) in tosa_read_bat()
58 gpiod_set_value(bat->gpiod_bat, 1); in tosa_read_bat()
60 value = wm97xx_read_aux_adc(dev_get_drvdata(bat->psy->dev.parent), in tosa_read_bat()
61 bat->adc_bat); in tosa_read_bat()
62 gpiod_set_value(bat->gpiod_bat, 0); in tosa_read_bat()
65 value = value * 1000000 / bat->adc_bat_divider; in tosa_read_bat()
74 if (!bat->gpiod_temp || bat->adc_temp < 0) in tosa_read_temp()
[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 …]
/Linux-v6.1/arch/arm/boot/dts/
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>
33 compatible = "samsung,secure-firmware";
37 gpio-keys {
38 compatible = "gpio-keys";
40 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";
29 stdout-path = &serial_1;
38 compatible = "samsung,secure-firmware";
42 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"
31 stdout-path = &serial_2;
35 compatible = "samsung,secure-firmware";
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
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 …]
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 …]
/Linux-v6.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 …]