summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/battery/lgc,xphx8.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings/battery/lgc,xphx8.yaml')
-rw-r--r--zephyr/dts/bindings/battery/lgc,xphx8.yaml57
1 files changed, 57 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/battery/lgc,xphx8.yaml b/zephyr/dts/bindings/battery/lgc,xphx8.yaml
new file mode 100644
index 0000000000..d944a68c09
--- /dev/null
+++ b/zephyr/dts/bindings/battery/lgc,xphx8.yaml
@@ -0,0 +1,57 @@
+# Copyright 2022 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+description: "LGC-LGC3.600 DELL_XPHX8"
+compatible: "lgc,xphx8"
+
+include: battery-smart.yaml
+
+properties:
+ enum-name:
+ type: string
+ default: "lgc,xphx8"
+
+ # Fuel Gauge
+ manuf_name:
+ default: "LGC-LGC3.600"
+ device_name:
+ default: "DELL XPHX8"
+ ship_mode_reg_addr:
+ default: 0x00
+ ship_mode_reg_data:
+ default: [ 0x0010, 0x0010 ]
+ fet_mfgacc_support:
+ default: 0
+ fet_reg_addr:
+ default: 0x43
+ fet_reg_mask:
+ default: 0x0001
+ fet_disconnect_val:
+ default: 0x0000
+ fet_cfet_mask:
+ default: 0x0002
+ fet_cfet_off_val:
+ default: 0x0000
+
+ # Battery info
+ voltage_max:
+ default: 17600
+ voltage_normal:
+ default: 15000
+ voltage_min:
+ default: 12000
+ precharge_current:
+ default: 256
+ start_charging_min_c:
+ default: -3
+ start_charging_max_c:
+ default: 45
+ charging_min_c:
+ default: -3
+ charging_max_c:
+ default: 50
+ discharging_min_c:
+ default: -20
+ discharging_max_c:
+ default: 70