adc1x8s102.h 943 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * ADC1x8S102 SPI ADC driver
  3. *
  4. * Copyright(c) 2013 Intel Corporation.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms and conditions of the GNU General Public License,
  8. * version 2, as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope it will be useful, but WITHOUT
  11. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  13. * more details.
  14. */
  15. #ifndef __LINUX_PLATFORM_DATA_ADC1x8S102_H__
  16. #define __LINUX_PLATFORM_DATA_ADC1x8S102_H__
  17. /**
  18. * struct adc1x8s102_platform_data - Platform data for the adc1x8s102 ADC driver
  19. * @ext_vin: External input voltage range for all voltage input channels
  20. * This is the voltage level of pin VA in millivolts
  21. **/
  22. struct adc1x8s102_platform_data {
  23. u16 ext_vin;
  24. };
  25. #endif /* __LINUX_PLATFORM_DATA_ADC1x8S102_H__ */