da9150.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings
  2. DA9150 consists of a group of sub-devices:
  3. Device Description
  4. ------ -----------
  5. da9150-gpadc : General Purpose ADC
  6. da9150-charger : Battery Charger
  7. ======
  8. Required properties:
  9. - compatible : Should be "dlg,da9150"
  10. - reg: Specifies the I2C slave address
  11. - interrupt-parent: Specifies the phandle of the interrupt controller to which
  12. the IRQs from da9150 are delivered to.
  13. - interrupts: IRQ line info for da9150 chip.
  14. - interrupt-controller: da9150 has internal IRQs (own IRQ domain).
  15. (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
  16. further information relating to interrupt properties)
  17. Sub-devices:
  18. - da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
  19. - da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
  20. Example:
  21. charger_fg: da9150@58 {
  22. compatible = "dlg,da9150";
  23. reg = <0x58>;
  24. interrupt-parent = <&gpio6>;
  25. interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
  26. interrupt-controller;
  27. gpadc: da9150-gpadc {
  28. ...
  29. };
  30. da9150-charger {
  31. ...
  32. };
  33. };