From patchwork Thu Jul 27 19:55:39 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: 13330652 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 18EA5C0015E for ; Thu, 27 Jul 2023 19:58:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbjG0T6R (ORCPT ); Thu, 27 Jul 2023 15:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232845AbjG0T6C (ORCPT ); Thu, 27 Jul 2023 15:58:02 -0400 Received: from wp534.webpack.hosteurope.de (wp534.webpack.hosteurope.de [80.237.130.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4904B3C16 for ; Thu, 27 Jul 2023 12:57:07 -0700 (PDT) Received: from [2001:a61:6209:7f01:c80a:ff:fe00:19d] (helo=cs-wrt.lan.local); authenticated by wp534.webpack.hosteurope.de running ExIM with esmtpa id 1qP75a-0002zl-Ov; Thu, 27 Jul 2023 21:55:58 +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 v2 0/2] hwmon: (isl28022) new driver for ISL28022 power monitor Date: Thu, 27 Jul 2023 21:55:39 +0200 Message-Id: <20230727195541.2245289-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;1690487827;358a1f23; X-HE-SMSGID: 1qP75a-0002zl-Ov 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 v1: created v2: properties reworked v2: calculations fixed v2: shunt voltage input moved to debugfs v2: documentation and devicetree schema reworked 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