sec_battery_dt.h 873 B

123456789101112131415161718192021222324252627
  1. /*
  2. * sec_battery_dt.h
  3. * Samsung Mobile Battery Header
  4. *
  5. *
  6. * Copyright (C) 2018 Samsung Electronics, Inc.
  7. *
  8. *
  9. * This software is licensed under the terms of the GNU General Public
  10. * License version 2, as published by the Free Software Foundation, and
  11. * may be copied, distributed, and modified under those terms.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. */
  19. #ifndef __SEC_BATTERY_DT_H
  20. #define __SEC_BATTERY_DT_H __FILE__
  21. int sec_bat_parse_dt(struct device *dev, struct sec_battery_info *battery);
  22. void sec_bat_parse_mode_dt(struct sec_battery_info *battery);
  23. void sec_bat_parse_mode_dt_work(struct work_struct *work);
  24. #endif /* __SEC_BATTERY_DT_H */