da9150-charger.txt 680 B

123456789101112131415161718192021222324252627
  1. Dialog Semiconductor DA9150 Charger Power Supply bindings
  2. Required properties:
  3. - compatible: "dlg,da9150-charger" for DA9150 Charger Power Supply
  4. Optional properties:
  5. - io-channels: List of phandle and IIO specifier pairs
  6. - io-channel-names: List of channel names used by charger
  7. ["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"]
  8. (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
  9. Example:
  10. da9150-charger {
  11. compatible = "dlg,da9150-charger";
  12. io-channels = <&gpadc 0>,
  13. <&gpadc 2>,
  14. <&gpadc 8>,
  15. <&gpadc 5>;
  16. io-channel-names = "CHAN_IBUS",
  17. "CHAN_VBUS",
  18. "CHAN_TJUNC",
  19. "CHAN_VBAT";
  20. };