summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/battery/getac,bq40z50-R3-S2.yaml
blob: e59f6c1e373f63c644de02bd7daa27a7603aea15 (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
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: "Getac BQ40Z50-R3 2 Cell battery"
compatible: "getac,bq40z50-R3-S2"

include: battery-smart.yaml

properties:
   enum-name:
      type: string
      default: "getac,bq40z50-R3-S2"

   # Fuel gauge
   manuf_name:
      default: "Getac"
   device_name:
      default: "BQ40Z50-R3"
   ship_mode_reg_addr:
      default: 0x00
   ship_mode_reg_data:
      default: [ 0x0010, 0x0010 ]
   fet_mfgacc_support:
      default: 0
   fet_reg_addr:
      default: 0x00
   fet_reg_mask:
      default: 0x6000
   fet_disconnect_val:
      default: 0x6000

   # Battery info
   voltage_max:
      default: 8800
   voltage_normal:
      default: 7700
   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: 45
   discharging_min_c:
      default: 0
   discharging_max_c:
      default: 60