Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1990635rdb; Sun, 4 Feb 2024 09:42:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHphVXMPQZgAid3yeIQvCIck90dWpQdQjQD1Dv6eF2kKqx3x+Ya6k4GrV54LiqeQRmyrGj X-Received: by 2002:a05:6a00:8686:b0:6e0:3385:8d6b with SMTP id hh6-20020a056a00868600b006e033858d6bmr2821016pfb.2.1707068569846; Sun, 04 Feb 2024 09:42:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707068569; cv=pass; d=google.com; s=arc-20160816; b=CVnqRYaAjbpsFYxbLeg7aLHpMJvp04//UdIEt0SYUz11lkVXXCKGDlfpE6ELQ1JeiE hDU2YoNjIqM3xp127dgrssxZt7nG4EDu+bxxhV0hLd/ycOviSHIWCrYu1I0fXlmNqiqb oU/VaXxomP4Ejh3fPT9N/Sv32DzdFBm2V2gvcgNTe3LUPDsYkYy/alLzQCnR5aOWquAa 9049FUgd2Hm182gFinLAkgHHtzea2n0yxLGLxYK88HVG86gsbpIecmW8yO3z2MLbzPQB n6O5EnuW2mb85LQwyRgKGdAGil71FpXC7LEuIIz+g11ntUdEXwXdHgjzSRrRRPoc8txd 7XzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=J/yrO4rdMdMa2SCz6b32E5PaFRv4eyiERGuPtJ+Mcr0=; fh=iblTLx5ysSk4xQZK1arGELLp31V5n8YBlLQ8w5EWAOA=; b=cRdv8LcrJ1Y4PT3OqwTeJ43IQquH71gT3et6hbbu3o5dyEfHkKBNTVvIaZyS/UQ+QH /meu0wJz0rnfJw/bWNg1bUyirVsVV/ENwpOcTVtxSeaI3x7+m0/zQZa4mSiJ6dR1WJGh iNIe3DusGHqgXBjkD9clm/JdAyZCgzc3GlWurHoSHwiDvlQmwrY8hWfxfMSe4dwlnM6I uVJ4Y+t4+vTQAxijLUyYPPHNYel7PYED1N7PSlSL46lADNQWaalb8NELzOMY3+Bp2KnU YxWWFYIWUdU5tzmi9C3agsijxfjcsgk/CaZuMYqi8BimyDRkU9EiRLCcXhRj9sxvU79n zzfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=trI3WmwG; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-51826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51826-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXtFGsIM6iVaP5aUlmRVdH6lIBq+axfBcuqf5E9LnC3jc7bzvP2dRbE1jtpvN8ZYm2YS18J0+DRFwtwgiR17N8AFSAhARWRLurtBK2ZJA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id a23-20020aa78657000000b006dde290cd48si1374841pfo.318.2024.02.04.09.42.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 09:42:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=trI3WmwG; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-51826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51826-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B9CA3B22A37 for ; Sun, 4 Feb 2024 17:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E73E249F4; Sun, 4 Feb 2024 17:30:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="trI3WmwG" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 434E2249E8; Sun, 4 Feb 2024 17:30:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707067850; cv=none; b=YnolxMNY1yGGCJgiVB3T3X/plQvRWJDQJ/RicR7gm9VKgwvlRlLZ5RvqF11ULpZPnxvYVnA5AiuSiWI4LhijGjDK8ZY2QPqrUJN0nu4WWbZ4wOudwx5ObLaDp0rIvHC9plBbIKRhjKQk12JR0THanELe5r6HpMRac2QwEHUAXoE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707067850; c=relaxed/simple; bh=I3g9WDQRF5vBIUqmbuExMuLRf1s6UoZuTmaXbeShB5U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=NvwIlKzGJg9QGkUr6mBsl3vEr2SlaRG4ehvOECTZ/BTYnVJmG9ojM1ZbCslV91FWYZyy+/PYZpLUXNl4K1kh4dbClTy0RdhZvfdQavVKSrWgHssAVTYxIIWWnEYreZpI8KvSjueHjr78J/SauRp/YJYRCNTKoKQlpC1jHJaM6FY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=trI3WmwG; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1707067846; bh=I3g9WDQRF5vBIUqmbuExMuLRf1s6UoZuTmaXbeShB5U=; h=From:Date:Subject:To:Cc:From; b=trI3WmwGD9DstJVbJ42DsrZ2yGW+N8TGmJ99mI82T4uk5vm4UaDS7WpGHC3cmQrou JKA8QMkARvFcvnTWxa/t9qo+pHsWYWDTMRFyOHjHvBMYeBF0V3dCxv7Xo0XprkkaCE 0PAb8CNgHfo9e9wLe+aGEdMzy5q+wTuLRA/IfH3c= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Sun, 04 Feb 2024 18:30:43 +0100 Subject: [PATCH] power: supply: mm8013: select REGMAP_I2C Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240204-mm8013-regmap-v1-1-7cc6b619b7d3@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAMLJv2UC/x3MQQqAIBBA0avIrBNGE5KuEi1EJ5uFJgoRhHdPW r7F/y80qkwNVvFCpZsbX3lATQL86XIkyWEYNGqDGo1MyaKaZaWYXJHBBmVdcLh4DaMplQ5+/t+ 29/4BqgCIG18AAAA= To: Sebastian Reichel , Konrad Dybcio Cc: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1707067844; l=975; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=I3g9WDQRF5vBIUqmbuExMuLRf1s6UoZuTmaXbeShB5U=; b=y2EcWG8Rw69t7dC9mJC/9uObCqm14upCgRqgzcqgT2gCvLcAK3j0SvE6gXEfG5AgjvQzJKEgR ldqHKNmV6TcAs1Rht4AGs4nXIvsDyhF/BHhvV63SH3SI03DTfRISKfh X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= The driver uses regmap APIs so it should make sure they are available. Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver") Cc: Signed-off-by: Thomas Weißschuh --- drivers/power/supply/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index f21cb05815ec..3e31375491d5 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -978,6 +978,7 @@ config CHARGER_QCOM_SMB2 config FUEL_GAUGE_MM8013 tristate "Mitsumi MM8013 fuel gauge driver" depends on I2C + select REGMAP_I2C help Say Y here to enable the Mitsumi MM8013 fuel gauge driver. It enables the monitoring of many battery parameters, including --- base-commit: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 change-id: 20240204-mm8013-regmap-d8d18ada07c2 Best regards, -- Thomas Weißschuh