mbox series

[0/2] Add Richtek RTQ6056 support

Message ID 1655458375-30478-1-git-send-email-u0084500@gmail.com (mailing list archive)
Headers show
Series Add Richtek RTQ6056 support | expand

Message

ChiYuan Huang June 17, 2022, 9:32 a.m. UTC
From: ChiYuan Huang <cy_huang@richtek.com>

This patch series is to enable Richtek RTQ6056 support.

The RTQ6056 is a high accuracy current-sense monitor with I2C interface, and
the device provides full information for system by reading out the load current
and power.

ChiYuan Huang (2):
  dt-bindings: iio: adc: Add rtq6056 adc support
  iio: adc: Add rtq6056 support

 .../ABI/testing/sysfs-bus-iio-adc-rtq6056          |  58 +++
 .../bindings/iio/adc/richtek,rtq6056-adc.yaml      |  57 +++
 drivers/iio/adc/Kconfig                            |  15 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/rtq6056-adc.c                      | 548 +++++++++++++++++++++
 5 files changed, 679 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-rtq6056
 create mode 100644 Documentation/devicetree/bindings/iio/adc/richtek,rtq6056-adc.yaml
 create mode 100644 drivers/iio/adc/rtq6056-adc.c