Driver for Renesas ISL28022 power monitor chip. Found e.g. on Ubiquiti Edgerouter ER-6P v8: fix mistakenly removed Reviewed-by v8: fix incorrect use of dev_err_probe v7: move dt-bindings to the first patch v7: fix unreasonable code v7: separate voltage, current, and power reading functions v6: shunt voltage in mV and revise code v5: review comments incorporated v4: property compatible fixed v3: changelog added v2: properties reworked v2: calculations fixed v2: shunt voltage input moved to debugfs v2: documentation and devicetree schema reworked v1: created Yikai Tsai (2): dt-bindings: hwmon: add renesas,isl28022 hwmon: (isl28022) new driver for ISL28022 power monitor .../bindings/hwmon/renesas,isl28022.yaml | 64 +++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/isl28022.rst | 63 ++ MAINTAINERS | 8 + drivers/hwmon/Kconfig | 11 + drivers/hwmon/Makefile | 1 + drivers/hwmon/isl28022.c | 536 ++++++++++++++++++ 7 files changed, 684 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/renesas,isl28022.yaml create mode 100644 Documentation/hwmon/isl28022.rst create mode 100644 drivers/hwmon/isl28022.c -- 2.34.1