Lines Matching +full:resistance +full:- +full:temp +full:- +full:table

1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - sprd,sc2720-fgu
19 - sprd,sc2721-fgu
20 - sprd,sc2723-fgu
21 - sprd,sc2730-fgu
22 - sprd,sc2731-fgu
27 battery-detect-gpios:
33 io-channels:
35 - description: Battery Temperature ADC
36 - description: Battery Charge Voltage ADC
38 io-channel-names:
40 - const: bat-temp
41 - const: charge-vol
43 nvmem-cells:
47 nvmem-cell-names:
50 sprd,calib-resistance-micro-ohms:
51 description: real resistance of coulomb counter chip in micro Ohms
53 monitored-battery: true
56 - compatible
57 - reg
58 - battery-detect-gpios
59 - interrupts
60 - io-channels
61 - io-channel-names
62 - nvmem-cells
63 - nvmem-cell-names
64 - sprd,calib-resistance-micro-ohms
65 - monitored-battery
70 - |
71 #include <dt-bindings/gpio/gpio.h>
73 compatible = "simple-battery";
74 charge-full-design-microamp-hours = <1900000>;
75 constant-charge-voltage-max-microvolt = <4350000>;
76 ocv-capacity-celsius = <20>;
77 ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
88 #address-cells = <1>;
89 #size-cells = <0>;
92 compatible = "sprd,sc2731-fgu";
94 battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
95 interrupt-parent = <&sc2731_pmic>;
97 io-channels = <&pmic_adc 5>, <&pmic_adc 14>;
98 io-channel-names = "bat-temp", "charge-vol";
99 nvmem-cells = <&fgu_calib>;
100 nvmem-cell-names = "fgu_calib";
101 monitored-battery = <&bat>;
102 sprd,calib-resistance-micro-ohms = <21500>;