da9055 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Supported chips:
  2. * Dialog Semiconductors DA9055 PMIC
  3. Prefix: 'da9055'
  4. Datasheet: Datasheet is not publicly available.
  5. Authors: David Dajun Chen <dchen@diasemi.com>
  6. Description
  7. -----------
  8. The DA9055 provides an Analogue to Digital Converter (ADC) with 10 bits
  9. resolution and track and hold circuitry combined with an analogue input
  10. multiplexer. The analogue input multiplexer will allow conversion of up to 5
  11. different inputs. The track and hold circuit ensures stable input voltages at
  12. the input of the ADC during the conversion.
  13. The ADC is used to measure the following inputs:
  14. Channel 0: VDDOUT - measurement of the system voltage
  15. Channel 1: ADC_IN1 - high impedance input (0 - 2.5V)
  16. Channel 2: ADC_IN2 - high impedance input (0 - 2.5V)
  17. Channel 3: ADC_IN3 - high impedance input (0 - 2.5V)
  18. Channel 4: Internal Tjunc. - sense (internal temp. sensor)
  19. By using sysfs attributes we can measure the system voltage VDDOUT,
  20. chip junction temperature and auxiliary channels voltages.
  21. Voltage Monitoring
  22. ------------------
  23. Voltages are sampled in a AUTO mode it can be manually sampled too and results
  24. are stored in a 10 bit ADC.
  25. The system voltage is calculated as:
  26. Milli volt = ((ADC value * 1000) / 85) + 2500
  27. The voltages on ADC channels 1, 2 and 3 are calculated as:
  28. Milli volt = (ADC value * 1000) / 102
  29. Temperature Monitoring
  30. ----------------------
  31. Temperatures are sampled by a 10 bit ADC. Junction temperatures
  32. are monitored by the ADC channels.
  33. The junction temperature is calculated:
  34. Degrees celsius = -0.4084 * (ADC_RES - T_OFFSET) + 307.6332
  35. The junction temperature attribute is supported by the driver.