da9150-fg.txt 681 B

1234567891011121314151617181920212223
  1. Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings
  2. Required properties:
  3. - compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply
  4. Optional properties:
  5. - dlg,update-interval: Interval time (milliseconds) between battery level checks.
  6. - dlg,warn-soc-level: Battery discharge level (%) where warning event raised.
  7. [1 - 100]
  8. - dlg,crit-soc-level: Battery discharge level (%) where critical event raised.
  9. This value should be lower than the warning level.
  10. [1 - 100]
  11. Example:
  12. fuel-gauge {
  13. compatible = "dlg,da9150-fuel-gauge";
  14. dlg,update-interval = <10000>;
  15. dlg,warn-soc-level = /bits/ 8 <15>;
  16. dlg,crit-soc-level = /bits/ 8 <5>;
  17. };