isl28022.rst 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .. SPDX-License-Identifier: GPL-2.0-or-later
  2. Kernel driver isl28022
  3. ======================
  4. Supported chips:
  5. * Renesas ISL28022
  6. Prefix: 'isl28022'
  7. Addresses scanned: none
  8. Datasheet: Publicly available at the Renesas website
  9. https://www.renesas.com/us/en/www/doc/datasheet/isl28022.pdf
  10. Author:
  11. Carsten Spieß <mail@carsten-spiess.de>
  12. Description
  13. -----------
  14. The ISL28022 is a power monitor with I2C interface. The device monitors
  15. voltage, current via shunt resistor and calculated power.
  16. Usage Notes
  17. -----------
  18. This driver does not auto-detect devices. You will have to instantiate the
  19. device explicitly. Please see Documentation/i2c/instantiating-devices.rst for
  20. details.
  21. The shunt value in micro-ohms, shunt voltage range and averaging can be set
  22. with device properties.
  23. Please refer to the Documentation/devicetree/bindings/hwmon/renesas,isl28022.yaml
  24. for bindings if the device tree is used.
  25. The driver supports only shunt and bus continuous ADC mode at 15bit resolution.
  26. Averaging can be set from 1 to 128 samples (power of 2) on both channels.
  27. Shunt voltage range of 40, 80, 160 or 320mV is allowed
  28. The bus voltage range is 60V fixed.
  29. Sysfs entries
  30. -------------
  31. The following attributes are supported. All attributes are read-only.
  32. ======================= =======================================================
  33. in0_input bus voltage (milli Volt)
  34. in1_input shunt voltage (milli Volt)
  35. curr1_input current (milli Ampere)
  36. power1_input power (micro Watt)
  37. ======================= =======================================================
  38. Debugfs entries
  39. ---------------
  40. The following attributes are supported. All attributes are read-only.
  41. ======================= =======================================================
  42. shunt_voltage shunt voltage (micro Volt)
  43. ======================= =======================================================