Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1405301rdb; Fri, 16 Feb 2024 15:08:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXanPTcoUo0TPvXEB8V/A4/u+DoQgpMdA8n7tk38GKfotLMHUIny3heCjQh1d9DGvU4JKEI+VwnMWmvcn2XA/li9+l+eteSgi46dZ7Atw== X-Google-Smtp-Source: AGHT+IHP6lYZ56VNkpfua/W5GSMZYQdhpKaTzISb53xhum2dRtzW50psLccsFX3j2itdmSCautqq X-Received: by 2002:a05:622a:1307:b0:42d:bf9c:3689 with SMTP id v7-20020a05622a130700b0042dbf9c3689mr6750552qtk.28.1708124890553; Fri, 16 Feb 2024 15:08:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708124890; cv=pass; d=google.com; s=arc-20160816; b=eXirF5ystYTkEV4USNVqpMHBHzTY1h372BcAuFrYDcsK3/vEmxRDKBU884ceMAF3gP aB1iOOg7PjDXHrWsZGoAjNXrxoNkwWD5ePPLLB2Gr+d61rg3v0Y3uybkMxaZX3BEbJ6L 6mXZkVmcgkotk4OP6o4OY6KuA4qEWB8LggIm0Z+WydhB9dhHjMwORItAComMsChfR9hU +kiex5J0Q3Dxiq3Dt3vA+AFdwSDGqJbBlrIC21sS38lgvWYWhd+5Bv94beBXWAxfwmAV LvhS+fj3zdFd2TMO93elS4xmeJvKWELfZUhTT/M5djgqtFoIKtbk6R6sBmAWGOqFM1jX uf0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q7ADwbeBXwmo7E9aTVnbzqVj7QgPJRlOcrrBDZiAmdo=; fh=hkkIxOV5X/j9LlLlSPo786d4l9qZLbnaNEniwkN0S40=; b=RL3+RKad9GlPwKUvTqkuLP+9Y7qTKy+Z3GBGcibGewUmuE1VpGTZH5g0Klb1IdZHb9 jMRgvTfpZitZGMayJKm1HYZCqwuY2yxBlx8Y+XtIpDIU1UAkIYkqdpseqMGdaT8TEGRu 2VJaIIbiU43324o+OgtJ/VIpQBkV0etcypKU6IkurnTTwk1TbdbPl5/uUYIWuPAdWOz4 pLBmOUBH4z/fsJZj9K8/9U6ngEGQa0mq6zXUHfhg9JmjhmF7t1d23vCve5KGw1WE8Oxj uuMf7lzv/DaSt15Z6SQiLjcuy6s/CbvNMWATuG7P/qckXFWgV+xUfNuMaWN+GRuGv16N 9ITw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ps4L3dEf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-69458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id oo11-20020a05620a530b00b00787188f78afsi920378qkn.383.2024.02.16.15.08.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 15:08:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ps4L3dEf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-69458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 429CF1C2165B for ; Fri, 16 Feb 2024 23:08:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AAD271487D7; Fri, 16 Feb 2024 23:08:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Ps4L3dEf" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 39BBD38DFE; Fri, 16 Feb 2024 23:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708124880; cv=none; b=ggxjUrU2uI/eAL4iSlMAC4PBilJlHJEdEXVNbwAp0IqFcWqoG3snLS07JSsVjYf6pCNYWIvvjmVk7+n5zeBRqP5QKXrrg0GXfDvyQEijoDM/gfQOkj0pGKxZ1/tYAbc26XwYbD7mJsw7qbpcB3kxw5k5h7UBMln75EUdyOYc5Rw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708124880; c=relaxed/simple; bh=q7ADwbeBXwmo7E9aTVnbzqVj7QgPJRlOcrrBDZiAmdo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KLHxhlfFONj69pD2mkf0b9zdLiYzMEPMG1dFiuHuFKQCSs+0xnq3z1Mv3ETIdtSmLx772Xp60/OrcSrTlkxSdHBHbbj4yThh38rx7mLOzT2CFtSm1cAKigB2+ferBeKNBjyWIKvfXZqpKXQLW6hGW5MsrjxS+qB7O0HAqy+JmVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Ps4L3dEf; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1708124877; bh=q7ADwbeBXwmo7E9aTVnbzqVj7QgPJRlOcrrBDZiAmdo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ps4L3dEfm8WT/rFjNO3i1cLkclFgUjDwjhKEpFI4fdjWkTmR0JyWaMtjMpYDsXY9l 75Ba7sjCDEp/va0JXt8iaCpyYlXyZrze2ZSKbd3wWQeVdtXroVEMW4DZa0IY8oye7X fE6QTQbq+Y+7VzbEjjQFzdpKsApI+dEfyJm4m/AuIaj0YrfnpCcpxT359Ujq4inYAV 3lgRo5JBA97/J4Q6asiF4iR2tpU2euJqhJi41ow2b6mPSXeYn4qrdfyxKb+L3jAsks ZmyWtTUizHFjgjvy1rgw2pHjVAWHQ+lB6xbK0Qsl4CDFn7e0zQTEgYlyE7bMSPmEta GpBTocr4QPcgA== Received: from mercury (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 3A8783782042; Fri, 16 Feb 2024 23:07:57 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id B61D71061C38; Sat, 17 Feb 2024 00:07:56 +0100 (CET) Date: Sat, 17 Feb 2024 00:07:56 +0100 From: Sebastian Reichel To: Bhavin Sharma Cc: "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , Hardevsinh Palaniya , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3 1/2] power: supply: Add STC3117 fuel gauge unit driver Message-ID: References: <20240205051321.4079933-1-bhavin.sharma@siliconsignals.io> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ksq33adg27c6w63k" Content-Disposition: inline In-Reply-To: --ksq33adg27c6w63k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Fri, Feb 16, 2024 at 01:34:11PM +0000, Bhavin Sharma wrote: > I apologize if I'm mistaken, but I noticed other minimal drivers > in the codebase. Please point me to a driver, which just exposes the voltage. > My understanding is that using a minimal driver shouldn't cause > any issues. Additionally, we can easily update this driver at any > time, as we're actively updating all other drivers. So why are you not doing it now? Adding current, state of charge, temperature and OCV is trivial. I'm not talking about supporting every feature of the chip, but just the bits that are a simple mapping between standard power supply properties and a chip register. -- Sebastian --ksq33adg27c6w63k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmXP6sAACgkQ2O7X88g7 +po5vg//XQHEu60f6Sq5WXycuGpwD2Rrwky4z2q70+qOWfZlOx02RIoQVRPpivS7 AhINrWWioIm6NeRXCKwpG+6GDCRYnn0fUjM/cIgdRG1rMBClZB2aqeJ+3VdZ51H6 f+212OtdSeKoHcblWbiHbwAJ4xr0fiV0iKxrAplJUy83l0WMykOjbAnuS5HDymXI 6JuReyWIdjG/4NfWqGAEOOw6GdQCRBNl/u/BgkWkpKA+stJUcjK7h+2NSkfHdk+y zQRX0OUI0wyHA8uMSzk6MxbbWALkvm4o9IYhY36q84iekKG4W+qa6Kzpxk2n96Nq 9bfmKQbWVEMSQz2ES2sNTjXcE+YO8LyQWZBf6D9MVtlvune4pb30nWFkIkdbd8fV YwheuZybikIIpfAmbOiSO2NbCH0l9iHaNcyyTXhpnIh9zylgely8La1EoQsDFwnJ w9zhIO/3RSMJITgAvi1nc7Z0rC2nppEMLeTV0tS3lvLU8ioiHbGR57lSMNsA7Shk 1jF2ebCFHCHG7bZLx3kPtOByJtv/Ln8UiNXQfeNJub3xikQP/ilQbGsVnqr4wly5 4gEdkXg+5kj4Wub1OafAwYAnVDAqJwVxK5RhUwZ9EK6r/GoH61nyOceby+tk7KL9 omnEO+kFeYarmfYDirMkj4k43legzBrAozWg8m5zIYL1CpjnlyM= =B5bh -----END PGP SIGNATURE----- --ksq33adg27c6w63k--