Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2818766rdb; Fri, 18 Aug 2023 11:21:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSmoVypm8FV30dNozC/yOpnLvTcNKgDOrq0Xizwh1aV8ZrQiyGrpTMyaHSCHU6O5NAhCQo X-Received: by 2002:a05:6a20:7f8d:b0:140:9a63:d5b9 with SMTP id d13-20020a056a207f8d00b001409a63d5b9mr13984pzj.15.1692382900317; Fri, 18 Aug 2023 11:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692382900; cv=none; d=google.com; s=arc-20160816; b=g4zFvWxumEmsYJchX5WWfExzFTzsKHKXKtujJ2v9gdnfuc+85s3fT5jOgpMLUeMTlt yryKnO7gjQBvds2eYXUEsJJRXWLdo2UIZPAOYJ2jCE/2x3X4JWs0jhYozZXj30mb2kpG Ck/j5WZR9UiUTPbUEsPj89w4DkXsLb7WUHPL/jbiJa136YpxvhFPPSLwmX4edRyKOb27 6Iy3Gh9w+Py67IRfgEthp2Jicsle2mECPuY3CE6QORqaPDCd+5YvgLqF55kQgceV1E1n blzrnto9hyT8sJhkfamx4LzPV0lq7vTKJSUiD6wGlQrFTKxBDkbpZ22tRXJhYMPFLxWC ljow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RkBamKyobjm5n6i8kFdPKijSZyoc84H1OgWIPu08dKw=; fh=TpzrabmI7CYZxhq4SQmDxi/UXN93ZmosGCp4JUOuTdw=; b=0v4AgOUJOn+10hnWGG6Hpe99yZwz0ghc4Wv1oZ6Xndkt7UPnypukzfvHCg0V+QzUW5 ZNDXROwfU6JrX8drPjfsbD/j9KMFyfXueP7dwBE+ciPgzfV3MzsrJFmlo2cni1jhwedq snq9fFOXDTcPETVCr0yAFZvFfahh3mUBQH9l/3M6hIfAjq74AJMllHLcTwlHfOqKWvrD XsoiGZoKqwZF9cctkNDH3ZQ+ylGW52EVCs2Oa6GcAZ3pn7qD0UVFbykW5Z29Jgy1allw 8nkMNq/WfkmHmZGEYN0+cGtLSvCkmVKsXdB/FxGtOEzPeFRsfMrdsi2r+ZHhiGVF6IdQ ce2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m20-20020a634c54000000b00563ee39a642si1781150pgl.308.2023.08.18.11.21.26; Fri, 18 Aug 2023 11:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351935AbjHQOaI (ORCPT + 99 others); Thu, 17 Aug 2023 10:30:08 -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=20Spie=C3=9F?= To: =?UTF-8?q?Carsten=20Spie=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mail@carsten-spiess.de;1692282583;c4e7cae7; X-HE-SMSGID: 1qWe0D-0004jV-Rw X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.34.1