Searched +full:over +full:- +full:heat +full:- +full:temp (Results 1 – 13 of 13) sorted by relevance
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | maxim,max17042.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - maxim,max17042 19 - maxim,max17047 20 - maxim,max17050 21 - maxim,max17055 22 - maxim,max77849-battery [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-motorola-surnia.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-motorola-common.dtsi" 10 chassis-type = "handset"; 20 interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; 22 pinctrl-0 = <&battery_alert_default>; 23 pinctrl-names = "default"; 25 maxim,rsns-microohm = <10000>; 26 maxim,over-heat-temp = <600>; 27 maxim,cold-temp = <(-200)>; [all …]
|
H A D | msm8916-motorola-osprey.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-motorola-common.dtsi" 10 chassis-type = "handset"; 12 reg_touch_vdda: regulator-touch-vdda { 13 compatible = "regulator-fixed"; 14 regulator-name = "touch_vdda"; 16 enable-active-high; 17 pinctrl-0 = <&touch_vdda_default>; 18 pinctrl-names = "default"; [all …]
|
H A D | msm8916-motorola-harpia.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-motorola-common.dtsi" 10 chassis-type = "handset"; 20 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>; 22 pinctrl-0 = <&battery_alert_default>; 23 pinctrl-names = "default"; 25 maxim,rsns-microohm = <10000>; 26 maxim,over-heat-temp = <600>; 27 maxim,cold-temp = <(-200)>; [all …]
|
H A D | msm8916-samsung-gt5-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 21 stdout-path = "serial0"; 24 reserved-memory { [all …]
|
/linux/drivers/power/supply/ |
H A D | max17042_battery.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/devm-helpers.h> 94 static int max17042_get_temperature(struct max17042_chip *chip, int *temp) in max17042_get_temperature() argument 98 struct regmap *map = chip->regmap; in max17042_get_temperature() 104 *temp = sign_extend32(data, 15); in max17042_get_temperature() 105 /* The value is converted into deci-centigrade scale */ in max17042_get_temperature() 107 *temp = *temp * 10 / 256; in max17042_get_temperature() 117 ret = power_supply_am_i_supplied(chip->battery); in max17042_get_status() 128 * The MAX170xx has builtin end-of-charge detection and will update in max17042_get_status() 133 * continuously once end-of-charge detection kicks in, so allow the in max17042_get_status() [all …]
|
H A D | 88pm860x_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 68 /* OCV -- Open Circuit Voltage */ 83 * corresponding resistor value -- Ohm / C degeree. 85 #define TBAT_NEG_25D 127773 /* -25 */ 86 #define TBAT_NEG_10D 54564 /* -10 */ 151 * register 1 bit[7:0] -- bit[11:4] of measured value of voltage 152 * register 0 bit[3:0] -- bit[3:0] of measured value of voltage 160 ret = pm860x_bulk_read(info->i2c, offset, 2, buf); in measure_12bit_voltage() 188 * bit[11:10] -- bit[7:6] of LDO9(0x18) in measure_vbatt() 189 * bit[9:8] -- bit[7:6] of LDO8(0x17) in measure_vbatt() [all …]
|
H A D | twl4030_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 73 #define TWL4030_ICHGEOC BIT(4) /* Battery current end-of-charge */ 187 int ret, temp; in twl4030bci_read_adc_val() local 195 temp = (int)(val & 0x03) << 8; in twl4030bci_read_adc_val() 202 return temp | val; in twl4030bci_read_adc_val() 207 * CGAIN == 0: ICHG = (BCIICHG * 1.7) / (2^10 - 1) - 0.85 208 * CGAIN == 1: ICHG = (BCIICHG * 3.4) / (2^10 - 1) - 1.7 210 * CGAIN == 0: val * 1.6618 - 0.85 * 1000 211 * CGAIN == 1: (val * 1.6618 - 0.85 * 1000) * 2 219 return (regval * 16618 - 8500 * 1000) / 5; in regval2ua() [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 21 chassis-type = "handset"; 35 stdout-path = "serial2:115200n8"; 38 vemmc_reg: regulator-0 { [all …]
|
H A D | exynos4412-p4note.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * Based on exynos4412-midas.dtsi. 10 /dts-v1/; 12 #include "exynos4412-ppmu-common.dtsi" 14 #include <dt-bindings/clock/maxim,max77686.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 17 #include <dt-bindings/interrupt-controller/irq.h> 18 #include <dt-bindings/power/summit,smb347-charger.h> 19 #include "exynos-pinctrl.h" [all …]
|
H A D | exynos4212-tab3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos4412-ppmu-common.dtsi" 12 #include "exynos-mfc-reserved-memory.dtsi" 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | exynos4412-midas.dtsi | 1 // 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/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-librem5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 18 chassis-type = "handset"; 20 backlight_dsi: backlight-dsi { [all …]
|