rx51-battery.txt 772 B

12345678910111213141516171819202122232425
  1. Binding for Nokia N900 battery
  2. The Nokia N900 battery status can be read via the TWL4030's A/D converter.
  3. Required properties:
  4. - compatible: Should contain one of the following:
  5. * "nokia,n900-battery"
  6. - io-channels: Should contain IIO channel specifiers
  7. for each element in io-channel-names.
  8. - io-channel-names: Should contain the following values:
  9. * "temp" - The ADC channel for temperature reading
  10. * "bsi" - The ADC channel for battery size identification
  11. * "vbat" - The ADC channel to measure the battery voltage
  12. Example from Nokia N900:
  13. battery: n900-battery {
  14. compatible = "nokia,n900-battery";
  15. io-channels = <&twl4030_madc 0>,
  16. <&twl4030_madc 4>,
  17. <&twl4030_madc 12>;
  18. io-channel-names = "temp",
  19. "bsi",
  20. "vbat";
  21. };