diff options
Diffstat (limited to 'zephyr/dts/bindings/battery/byd,yt39x.yaml')
-rw-r--r-- | zephyr/dts/bindings/battery/byd,yt39x.yaml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/battery/byd,yt39x.yaml b/zephyr/dts/bindings/battery/byd,yt39x.yaml new file mode 100644 index 0000000000..9f4bb4a98a --- /dev/null +++ b/zephyr/dts/bindings/battery/byd,yt39x.yaml @@ -0,0 +1,55 @@ +# Copyright 2023 The ChromiumOS Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: "BYD YT39X" +compatible: "byd,yt39x" + +include: battery-smart.yaml + +properties: + enum-name: + type: string + default: "byd,yt39x" + + # Fuel gauge + manuf_name: + default: "BYD" + device_name: + default: "DELL YT39X" + ship_mode_reg_addr: + default: 0x44 + ship_mode_reg_data: + default: [0x0010, 0x0010] + fet_mfgacc_support: + default: 1 + fet_mfgacc_smb_block: + default: 1 + fet_reg_addr: + default: 0x0054 + fet_reg_mask: + default: 0x0006 + fet_disconnect_val: + default: 0x0000 + + # Battery info + voltage_max: + default: 13200 + voltage_normal: + default: 11400 + voltage_min: + default: 9000 + precharge_current: + default: 256 + start_charging_min_c: + default: -3 + start_charging_max_c: + default: 50 + charging_min_c: + default: -3 + charging_max_c: + default: 60 + discharging_min_c: + default: -5 + discharging_max_c: + default: 70 |