summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/battery/smp,l22m3pg0.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings/battery/smp,l22m3pg0.yaml')
-rw-r--r--zephyr/dts/bindings/battery/smp,l22m3pg0.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/battery/smp,l22m3pg0.yaml b/zephyr/dts/bindings/battery/smp,l22m3pg0.yaml
new file mode 100644
index 0000000000..991734c9bc
--- /dev/null
+++ b/zephyr/dts/bindings/battery/smp,l22m3pg0.yaml
@@ -0,0 +1,54 @@
+# 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: "SMP L22M3PG0"
+compatible: "smp,l22m3pg0"
+
+include: battery-smart.yaml
+
+properties:
+ enum-name:
+ type: string
+ default: "smp,l22m3pg0"
+
+ # Fuel gauge
+ manuf_name:
+ default: "SMP"
+ device_name:
+ default: "L22M3PG0"
+ ship_mode_reg_addr:
+ default: 0x34
+ ship_mode_reg_data:
+ default: [ 0x0000, 0x1000 ]
+ fet_mfgacc_support:
+ default: 0
+ fet_reg_addr:
+ default: 0x00
+ fet_reg_mask:
+ default: 0x0018
+ fet_disconnect_val:
+ default: 0x0000
+
+ # Battery info
+ voltage_max:
+ default: 13200
+ voltage_normal:
+ default: 11310
+ voltage_min:
+ default: 9000
+ precharge_current:
+ default: 208
+ start_charging_min_c:
+ default: 0
+ start_charging_max_c:
+ default: 50
+ charging_min_c:
+ default: 0
+ charging_max_c:
+ default: 60
+ discharging_min_c:
+ default: -20
+ discharging_max_c:
+ default: 60
+