From patchwork Thu Aug 17 14:29:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Carsten_Spie=C3=9F?= X-Patchwork-Id: 13356578 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACF35C3062B for ; Thu, 17 Aug 2023 14:30:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351909AbjHQOaF (ORCPT ); Thu, 17 Aug 2023 10:30:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351897AbjHQO3o (ORCPT ); Thu, 17 Aug 2023 10:29:44 -0400 Received: from wp534.webpack.hosteurope.de (wp534.webpack.hosteurope.de [80.237.130.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9DF41FFF; Thu, 17 Aug 2023 07:29:42 -0700 (PDT) Received: from [2001:a61:623e:e40:c80a:ff:fe00:409d] (helo=cs-wrt.lan.local); authenticated by wp534.webpack.hosteurope.de running ExIM with esmtpa id 1qWe0D-0004jV-Rw; Thu, 17 Aug 2023 16:29:33 +0200 From: =?utf-8?q?Carsten_Spie=C3=9F?= To: =?utf-8?q?Carsten_Spie=C3=9F?= , Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Geert Uytterhoeven , Magnus Damm Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v4 0/2] hwmon: (isl28022) new driver for ISL28022 power monitor Date: Thu, 17 Aug 2023 16:29:19 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;mail@carsten-spiess.de;1692282583;c4e7cae7; X-HE-SMSGID: 1qWe0D-0004jV-Rw Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Driver for Renesas ISL28022 power monitor chip. Found e.g. on Ubiquiti Edgerouter ER-6P 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 Carsten Spieß (2): hwmon: (isl28022) new driver for ISL28022 power monitor dt-bindings: hwmon: add renesas,isl28022 .../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 | 496 ++++++++++++++++++ 7 files changed, 644 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