From patchwork Thu Jul 27 19:48:11 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: 13330625 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 53137EB64DD for ; Thu, 27 Jul 2023 19:49:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232178AbjG0Ts6 (ORCPT ); Thu, 27 Jul 2023 15:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232135AbjG0Ts5 (ORCPT ); Thu, 27 Jul 2023 15:48:57 -0400 Received: from wp534.webpack.hosteurope.de (wp534.webpack.hosteurope.de [80.237.130.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D9C430C0 for ; Thu, 27 Jul 2023 12:48:55 -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 1qP6yj-0001K4-5K; Thu, 27 Jul 2023 21:48:53 +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 0/2] hwmon: (isl28022) new driver for ISL28022 power monitor Date: Thu, 27 Jul 2023 21:48:11 +0200 Message-Id: <20230727194813.2245116-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;1690487335;c7cc12db; X-HE-SMSGID: 1qP6yj-0001K4-5K 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