From patchwork Wed Mar 8 09:40:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 6294 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp238316wrd; Wed, 8 Mar 2023 01:58:37 -0800 (PST) X-Google-Smtp-Source: AK7set9atqqUctQfNn5Z5IiCV/H6dALT8UPaEstojjNCGnC0/L2vOf90IWedb1IJuPyr5RAwXdCR X-Received: by 2002:a17:906:5daa:b0:8f4:5bda:b755 with SMTP id n10-20020a1709065daa00b008f45bdab755mr13324091ejv.4.1678269517523; Wed, 08 Mar 2023 01:58:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678269517; cv=none; d=google.com; s=arc-20160816; b=L/pnFQ9hjewwN70T1VSmh+8tvomIlORtwSgXG2p4Yx14L4Sh62uy2pGph8eFykykQG ugm7JaykKgRfIdneflOfNzmHd+2yN1MWmSZmW9+FqTgvFPPAdp9D88z/uyHNbobIoAy/ e+Cxdqdzf0i6P0fSFjnUoLBkogz05vGbjnSbWd8R5nstwMpvjq5MAaHl58z+rWA9jtIz yXe7Yn3wVMe0+lecOW4TAYL1cqbmXhIDahbSXu25vYrIvCC31yhquTrORGVvBHyqcmRm cro94Jvew/tmNgxQixYHN+EttvjgZUIa/fX6/eBqdGHQnluXEQNxn1HphVh+7Bbb+JrC vrSQ== 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:dkim-signature; bh=dQFy8moETWaGWRs6VMCXrP047rwgR8C0UzBrVmV4s5c=; b=I+TBSmZcBogAoFmguBidUf4gUnpp7Vzd9gus/JQpII1bC+/N0Xb39GIPlbseLjdJIy WRmgOrbNWnukhcfkmRsrHgT6OXPS9tmnSXtznzFJeQWJrGijGqtwjI0hAuQ38F9+GQK8 i+xZAbi/gqst5eIT1be8DwdUtD25cQV6X1+dhpc7dlB8zjFXmsQJT9rX+STtt7vZ+nGa 7FzwncXzlkF22EBQX+u9hVwrGS5g0ExyewOHWTtnMOgTxH9raLMSl+HXo1wrPGaTj05l nNNpdDYz28uf+9Z+fjd3omHLeh6LMu0lmN9CtRcCgzKpd5ZioFGMvKL0AwJFkzo9dhBt a9OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Np6f56ZB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs8-20020a1709073e8800b008b5a2c222efsi20423871ejc.62.2023.03.08.01.58.14; Wed, 08 Mar 2023 01:58:37 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Np6f56ZB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbjCHJkk (ORCPT + 99 others); Wed, 8 Mar 2023 04:40:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjCHJkj (ORCPT ); Wed, 8 Mar 2023 04:40:39 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 689FEB1B15; Wed, 8 Mar 2023 01:40:38 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id x3so63092211edb.10; Wed, 08 Mar 2023 01:40:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678268437; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dQFy8moETWaGWRs6VMCXrP047rwgR8C0UzBrVmV4s5c=; b=Np6f56ZB51bzHklHHvqyZ5rOrtgivYFKXUPd2+W414UIoa38DmZsbA5R4/UtDamPfc va/fdWwq/MH+e55+0bf6X6rXNZpvfHozMbbk5D7m+0hmkG6LObquTKAdm7thbP/DyVb2 sqI3ecVaIknJWVVezjTcY5wyGVQ2x6YU5y+1zrxDW1bcZ/OCpnzhhQtj+gUpYgPyYPou PXFe/CwJ7uOkHTUzB0FTXO74XG9O8xlzwmaYyFgKxJDuviEUXFWi4erLVHzal1gFwwKU HVxbEykcV1Y2lFV9LXQZA9sMZRPIfSuUpgTRPGUFpYMCHGAmKNCnOf2wv6gtohDMRxE3 +7dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678268437; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dQFy8moETWaGWRs6VMCXrP047rwgR8C0UzBrVmV4s5c=; b=1ztXZ6MIQKXYfp50qQN0F5ZG2RrWg1EGLlq9g+XOGfNjl3g4FSr2JKrOfy3hp9ggq+ s+UGzxkjvYCR2zl24C3u2RxBHTEPkFdF1grSEEozHgFhfZ7WA1JEcj8xnneFXFPdG7Qf focfEaj5b+yiTOf9trkEbWgpZkdCVRBbv8mNMnt+AeLADNm4xUgZI5XmtJugoiSaH4CO yAIkiVcmHd2ecM8oHou09dizMTFiX7+nnrNuUb2El9rNmGRPBTxFuFBMQ8fjnJ3mFiMs 7IEPdlRoE6+ykIJ/K5nDo+XGWdikX8Vrrvyx96g3oDtPaFNk8FbBswtXLti03RXkWlqz HhQw== X-Gm-Message-State: AO0yUKV72JRdxjU4SFtRAGXgBGHNAcScp8Wy9RkDENF+3iKTiECdcd16 hxAVVfGZFXREFpDMhNiBN5U= X-Received: by 2002:a17:907:9702:b0:82e:a57b:cc9b with SMTP id jg2-20020a170907970200b0082ea57bcc9bmr18094701ejc.24.1678268436813; Wed, 08 Mar 2023 01:40:36 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id h17-20020a17090634d100b008ee5356801dsm7240014ejb.187.2023.03.08.01.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 01:40:36 -0800 (PST) From: Svyatoslav Ryhel To: Guenter Roeck , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] Add optional power supply for INA2XX Date: Wed, 8 Mar 2023 11:40:22 +0200 Message-Id: <20230308094024.14115-1-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759793137451469874?= X-GMAIL-MSGID: =?utf-8?q?1759793137451469874?= On some devices (like LG Optimus Vu) ina2xx hwmon may require power supply for correct work, hance add one. Svyatoslav Ryhel (2): dt-bindings: hwmon: ina2xx: add supply property hwmon: ina2xx: add optional regulator support .../devicetree/bindings/hwmon/ti,ina2xx.yaml | 4 ++++ drivers/hwmon/ina2xx.c | 12 ++++++++++++ 2 files changed, 16 insertions(+)