diff options
Diffstat (limited to 'zephyr/dts/bindings/battery/cosmx,gh02047xl.yaml')
-rw-r--r-- | zephyr/dts/bindings/battery/cosmx,gh02047xl.yaml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/battery/cosmx,gh02047xl.yaml b/zephyr/dts/bindings/battery/cosmx,gh02047xl.yaml new file mode 100644 index 0000000000..aa44980621 --- /dev/null +++ b/zephyr/dts/bindings/battery/cosmx,gh02047xl.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: "COSMX GH02047XL" +compatible: "cosmx,gh02047xl" + +include: battery-smart.yaml + +properties: + enum-name: + type: string + default: "cosmx,gh02047xl" + + # Fuel gauge + manuf_name: + default: "333-AC-DA-A" + device_name: + default: "GH02047XL" + ship_mode_reg_addr: + default: 0x00 + ship_mode_reg_data: + default: [ 0x0010, 0x0010 ] + fet_mfgacc_support: + default: 1 + fet_reg_addr: + default: 0x0 + fet_reg_mask: + default: 0x0006 + fet_disconnect_val: + default: 0x0 + + # 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: -10 + discharging_max_c: + default: 60 + |