summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/battery/dynapack,c140254.yaml
blob: 1c9f4c59dee8901e383ba7202f9975169d6ddc1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
description: "DYNAPACK AS3GXXE3KA C140254"
compatible: "dynapack,c140254"

include: battery-smart.yaml

properties:
   enum-name:
      type: string
      default: "dynapack,c140254"

   # Fuel gauge
   manuf_name:
      default: "AS3GXXE3KA"
   device_name:
      default: "C140254"
   ship_mode_reg_addr:
      default: 0x00
   ship_mode_reg_data:
      default: [ 0x0010, 0x0010 ]
   # Documentation: b/150833879
   # Charging/Discharging FETs Status
   # Register SBS_PackStatus_ACCESS (0x99)
   # Bit-3: XDSG
   # Bit-2: XCHG
   fet_reg_addr:
      default: 0x99
   fet_reg_mask:
      default: 0x0C
   fet_disconnect_val:
      default: 0x0C
   fet_cfet_mask:
      default: 0x04
   fet_cfet_off_val:
      default: 0x04

   # Battery info
   voltage_max:
      default: 8900
   voltage_normal:
      default: 7970
   voltage_min:
      default: 6000
   precharge_current:
      default: 256
   start_charging_min_c:
      default: 0
   start_charging_max_c:
      default: 45
   charging_min_c:
      default: 0
   charging_max_c:
      default: 60
   discharging_min_c:
      default: -20
   discharging_max_c:
      default: 60