From patchwork Tue Aug 1 16:35:44 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: 13336992 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 F14E2C001DF for ; Tue, 1 Aug 2023 16:36:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230245AbjHAQgS (ORCPT ); Tue, 1 Aug 2023 12:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbjHAQgR (ORCPT ); Tue, 1 Aug 2023 12:36:17 -0400 Received: from wp534.webpack.hosteurope.de (wp534.webpack.hosteurope.de [80.237.130.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 159351BF9 for ; Tue, 1 Aug 2023 09:36:13 -0700 (PDT) Received: from [2001:a61:6215:d040:c80a:ff:fe00:409d] (helo=cs-wrt.lan.local); authenticated by wp534.webpack.hosteurope.de running ExIM with esmtpa id 1qQsLy-0007BE-Dq; Tue, 01 Aug 2023 18:36:10 +0200 From: =?utf-8?q?Carsten_Spie=C3=9F?= To: Geert Uytterhoeven , Magnus Damm Cc: =?utf-8?q?Carsten_Spie=C3=9F?= , linux-renesas-soc@vger.kernel.org Subject: [PATCH v3 0/2] hwmon: (isl28022) new driver for ISL28022 power monitor Date: Tue, 1 Aug 2023 18:35:44 +0200 Message-Id: <20230801163546.3170-1-mail@carsten-spiess.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;mail@carsten-spiess.de;1690907773;689c48e8; X-HE-SMSGID: 1qQsLy-0007BE-Dq Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Driver for Renesas ISL28022 power monitor chip. Found e.g. on Ubiquiti Edgerouter ER-6P 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 | 65 +++ 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, 645 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