sec_adc.h 847 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * sec_adc.h
  3. * Samsung Mobile Charger Header
  4. *
  5. * Copyright (C) 2012 Samsung Electronics, Inc.
  6. *
  7. *
  8. * This software is licensed under the terms of the GNU General Public
  9. * License version 2, as published by the Free Software Foundation, and
  10. * may be copied, distributed, and modified under those terms.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. */
  18. #ifndef __SEC_ADC_H
  19. #define __SEC_ADC_H __FILE__
  20. #include <linux/iio/consumer.h>
  21. #include "sec_battery.h"
  22. #include "sec_charging_common.h"
  23. #define VENDOR_UNKNOWN 0
  24. #define VENDOR_LSI 1
  25. #define VENDOR_QCOM 2
  26. #define RETRY_CNT 3
  27. #define FAKE_TEMP 300
  28. #endif /* __SEC_ADC_H */