Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4825381rdb; Fri, 15 Sep 2023 13:33:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHtRZcQJ2ze+OS7BmEth4lBxKtmnxHwssTX/Dw4HNXv9yk3sEa9fcbdCS9nU0Iu7j20wgw3 X-Received: by 2002:a05:6a21:998a:b0:155:1710:664a with SMTP id ve10-20020a056a21998a00b001551710664amr3879303pzb.18.1694810018576; Fri, 15 Sep 2023 13:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694810018; cv=none; d=google.com; s=arc-20160816; b=Vw2jb0X1Nw+e6+96m7yYuqySf+6SufAt7kh7BoA0TAcl0PKncOQ9fTYJHYIvVDTlYC 1wiMFDjZUkjnHDXZJdHhGL2SHCmfrG091/XPRzbngglYgXWe7EVGTy3wi7dhmcc9xjUZ FGiUyjc0UHeGo4nptOc4AFIEWgm3u1r9ZP0eNKNdCq9i7gxWuStK+a6Cl0KYotYrZyVQ sceHo7pMGRhyN7L+Csbw7aT3HGKnxX2Clhjnmt/iFXsBTJVSoFRp0RiGYD6kuc5+mBuf 43mSOOgZaN2cH/lCOyrq3YLdT+RnGlhEGP3rsByKPycpSoSdd6iwXVn1/BFbcz4NvWJd WsRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=oTnoDjXgLFTKf4cq2qJGKU+HAQuadX7y4b7vlp63yRY=; fh=x6TiC0nyTqDTJO7GKaDM3x+hS3WCOs2j4IcSK/NpSFk=; b=qIrHdtSqtoLYbiM21D6Z9rn5QcBdxWjeF9FXWYcIn9CfDU5y/8Vdt/3xLG2eoktP4k LOilQovqoB03KcLQWBX3CZiS6yCwUHgBQ752TImd0QFJETeN/ltrF7W241wH93pMAXHr lGfc71ftKdSFtbtt89KJ8lFvmKvT7LwYxXAjxLl1mc6+84zrkeAzTjFAJpdcT1GHdUef sCuTEqC9j3bon/ZSpRuOyKL/ovJcLZJcZ81apKM6+qUMzJS02tBZUhkCAojnnaeQ/Cne 6yYcbzlcIiptgeNaNkmkQPIJJKQpFNDCuFBraM62Uaf79GS5mG6WSGLKwJrcpPRh0WV2 VxAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NPpKiRkA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a35-20020a631a63000000b00577e00c5ffasi3689202pgm.867.2023.09.15.13.33.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 13:33:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NPpKiRkA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 83F09832541A; Fri, 15 Sep 2023 05:45:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235038AbjIOMp1 (ORCPT + 99 others); Fri, 15 Sep 2023 08:45:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235023AbjIOMpZ (ORCPT ); Fri, 15 Sep 2023 08:45:25 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C2B1DD for ; Fri, 15 Sep 2023 05:45:20 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-502e0b7875dso3539609e87.0 for ; Fri, 15 Sep 2023 05:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694781919; x=1695386719; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=oTnoDjXgLFTKf4cq2qJGKU+HAQuadX7y4b7vlp63yRY=; b=NPpKiRkAmbqkwzHu4t1KswJuTT/x4QWhuJz2dDGQykNeLqFtlcghxKmbJA9Jo12+pv ZekXa//DaXT1+1UUm1Hgz7WyGM+ZgfUoHUfZpr58Tx3+WcmbICLE2rP13DXm401ekArC 2lntiOxa4sRMKCfYCcMMHdVZEz3idGRVLh8M1w0ehps4yWNIGZ1O8L0kiKiy8uIGfTIU 11WvVOwUx9oy5CwJCCHBxuCEGnnwMQtg8jX+TWKZ4Tge0jAImufctlk9EX21Px/NY7A/ Z8hYuN+J0MffaFSiMwbRTgzKeGKlnlFMrqkrvlUvG59v0sxKNlm3bhmzLh4Cp20gduQH p1EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694781919; x=1695386719; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oTnoDjXgLFTKf4cq2qJGKU+HAQuadX7y4b7vlp63yRY=; b=HT0GWE64AZ5wKQJeM7bXM8UmPPSdB0N1mRWmbT6FVly4atMOGl6/8Om/8H6nFdg+p8 Mei1HFRISZZ+zQPFeI0PG5xTFkznVIb1D14jFhhxsSm3rURvYNDBbX3JvY8gJUmsptb9 +NuPv/rY/avBMdYi9DlMgcE/CaFN+h528XIOAT62BUX6vSKl4a+ErUdXnIFtmYpKWbi3 kSzY6xpZPC+KQjKFBnB5emkI3HKr3FHcwMskGt5uX7alpcUgOkpzbqWVB2jG89AW0H+G 0bEGQDyzloMx5eKH7O9Om4hnYZ4CzJvvYECh7CV8Pgzpnw0yETEFm4XMKP88adqXlMHF FZAA== X-Gm-Message-State: AOJu0YyddynyRPn0Ps9mLR2SEHBu5FxGJSgHQTyvyK+J0hWq2DACHvs8 9guGhm+RVKf4YY5JIztIYB6BKA== X-Received: by 2002:a05:6512:3e11:b0:502:d86d:6b26 with SMTP id i17-20020a0565123e1100b00502d86d6b26mr1653998lfv.50.1694781918701; Fri, 15 Sep 2023 05:45:18 -0700 (PDT) Received: from [10.167.154.1] ([2a00:f41:cbe:bc7d:62a6:5d09:5ba7:be5b]) by smtp.gmail.com with ESMTPSA id f19-20020ac25333000000b004fe37199b87sm624752lfh.156.2023.09.15.05.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:45:18 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v4 0/3] MM8013 fg driver Date: Fri, 15 Sep 2023 14:45:14 +0200 Message-Id: <20230621-topic-mm8013-v4-0-975aecd173ed@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANpRBGUC/33NwW7DIBAE0F+xOIdqWTDgnPofVQ+A1zGSAxGkV qvI/16cU6uqPs5Ib+bBKpVIlZ27Byu0xhpzakGdOhZmly7E49gyQ0AJGgW/51sM/Hq1ICSXRpt +oMF6tKwR7ypxX1wKc0PpY1laeSs0xc/nx9t7y3Os91y+nper2Nt/1lfBgSsFJmjUAL18XWJyJ b/kcmH70opHGnftSSPK3ho3/tSn7kgNk/BKTMoH0H8+5dGnbNpYMTqpBQUNv/S2bd/+XekMcAE AAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Konrad Dybcio Cc: Marijn Suijten , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694781917; l=1579; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=MhLWYhlsgWjrrAQjXdxmmKcqg9TDemaldksf0wIoqfQ=; b=Yv611wxqWHSWLVClX9U+/xp5KSTXDWqUVqd9Dr2nxJ5RjyGXSDXWoCzsjTJGBsGytirY0yyfk PwrPKRKApmiDzsM4d2m8xuCy/ktk67lPJ7ZBJr/z2NG2ceUSi7sVRr6 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 15 Sep 2023 05:45:30 -0700 (PDT) This series brings support for the Mitsumi MM8013 Li-Ion fuel gauge. Signed-off-by: Konrad Dybcio --- Changes in v4: - Use regmap - Fix units for some properties - Return retval of mm8013_checkdevice if it fails instead of -ENODEV - Minor style fixes - Link to v3: https://lore.kernel.org/r/20230621-topic-mm8013-v3-0-781da361ec60@linaro.org Changes in v3: - Reference power-supply.yaml in bindings - Link to v2: https://lore.kernel.org/r/20230621-topic-mm8013-v2-0-9f1b41f4bc06@linaro.org Changes in v2: - Fix typo in patch 2 commit message - Drop driver.owner in patch 3 - Add PRESENT psy property - Pick up tags - Link to v1: https://lore.kernel.org/r/20230621-topic-mm8013-v1-0-4407c6260053@linaro.org --- Konrad Dybcio (3): dt-bindings: vendor-prefixes: Add Mitsumi Electric Co., Ltd. dt-bindings: power: supply: Document Mitsumi MM8013 fuel gauge power: supply: Introduce MM8013 fuel gauge driver .../bindings/power/supply/mitsumi,mm8013.yaml | 38 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 5 + drivers/power/supply/Kconfig | 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/mm8013.c | 274 +++++++++++++++++++++ 6 files changed, 329 insertions(+) --- base-commit: dfa449a58323de195773cf928d99db4130702bf7 change-id: 20230621-topic-mm8013-376759e98b28 Best regards, -- Konrad Dybcio