Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1086335rdb; Fri, 16 Feb 2024 05:08:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUQFmqNp15GqZzyztnRCYBifJnkxOvCA/jy7l9oojpyb1Q1ifLSp4mcxZBQf9FGxdyVqbC0Lbpcew91NcSNqIco8073ypX8O7ow9O1HZw== X-Google-Smtp-Source: AGHT+IGQIdSt0KO8cvRmgBdv3pe6skXBs5JOSBjfeNcrzqXqKzsSub0TSKV6n1JVWq5ZF3NqKNlW X-Received: by 2002:a0c:e0d2:0:b0:68f:2ac1:99fe with SMTP id x18-20020a0ce0d2000000b0068f2ac199femr3863982qvk.45.1708088932336; Fri, 16 Feb 2024 05:08:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708088932; cv=pass; d=google.com; s=arc-20160816; b=keiH6S6G68qZk+8b5G23LAZVxjYiwtyGYk2DNB5Cx+qkTRI/DNpvJHtwUV7yUpWzXZ XWnVvrDawlB9KtUBNe4k9LW1LPM/vPm1a00/pOYh73z/WWmit1xzRpzYuN6+6Qs3BsKC 7u5uP7IZ/sLeVMqYRHUKoMZPYA/wcbFEQu7h/IuZI7NYBVVR6mfEPUy2DiRHcRuBjjsc U7sB5gqpNrJUq28DJx2+4RZS37TcwICTYU+3hqr3iBwYW0uw1r7COxtBtNH1gyJfut9R vlcWVTq1km1/Uoy9tqY3UGJ0qFTIe1nTSCF3eEa+GgxBFQoNyrN1Rgw1xAx+9iv7/LMi RorA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=PHl5R1/F8u0/SnHeSmWOc2YsyhnFxuAOA6HDgfKBd/A=; fh=8hVz/6EKCFSanPAaDw4Y6A/rP2Vlw+7Mj5IPKjqtdMc=; b=j9kFwvDaM/X4YFoOFPYyVG7PESHMUogFyGrfETvjx5KTOC33jVajgKDNKYNmhftqip NbW68sD/0qcHhVMVUiER/5VJtxP71u4HmmdwdFVe0Z9+5II7YHOPqomSnmXRZmaQi0WO 9wtJNfvAzPjvIb2G/WOifnyLbSEWqqEB6w/kujzJ8zdbXe6pg+84ewLd6IVbLcyTaegP /WoW6iLNBDpaXIZaANZ33EMYWUilyMDoyEDdHmnp4iVwXc5ha3q0eNN9gEpF/rXlxa4B 5yh6U+Mhe467OU5/puH+ZhUiQg6zZu6cXdUAdmYfTxwItKbFo7IppFrYf03NxS5bQXVM xlNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e9bxg2u3; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68617-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68617-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id iu10-20020ad45cca000000b0068efbf238f1si3888696qvb.473.2024.02.16.05.08.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 05:08:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68617-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e9bxg2u3; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68617-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68617-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0D6A41C21C0E for ; Fri, 16 Feb 2024 13:08:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B33331292F3; Fri, 16 Feb 2024 13:08:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="e9bxg2u3" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D53A1292E8 for ; Fri, 16 Feb 2024 13:08:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708088923; cv=none; b=VbU5Pkp2YD3CfWJOG232/VdKAxVRo8XH8M6IwI/P2nMwjgSquNdzp4/FvNOtMwIFxyOZ+IxAiXXmGCog0C2hMmyZXnSEvho17UP75TU9vhckQTS+GpyhSWFMBRtepE/sJgUpldd1PDSdoDVsdUkueWozDQx5HV8fp5K47LO6tWI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708088923; c=relaxed/simple; bh=5stQm1VFF8J3lI10UYod/loGVvF9YOBClkjxcwe+2OI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gA5mFZWQG/yrEtq1okR2LhzOXAqMA0FK9P/fDw93OCIEnHvpkQbi9AOmgA6lCoOalI0bQfjCWr9+zxURj6SE+Yc3JdX5cC4Uc1pwTUPNvlx4SStZPWGjV7b/PlQ4FkXfYbJjSGdfzuWaLHfbLJVTwu8vZIEoezWemFvl/G+yV6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=e9bxg2u3; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-55ee686b5d5so886122a12.0 for ; Fri, 16 Feb 2024 05:08:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708088920; x=1708693720; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=PHl5R1/F8u0/SnHeSmWOc2YsyhnFxuAOA6HDgfKBd/A=; b=e9bxg2u3kwvWHKXKyIuGlVtJIXl/zQWztxtE8CoSjT7kGMuLgA4+2HGAxK1p3ncRwO BMHfmHzqiVslMyLJAwE6eodYYehui6ZvVOGB40ATxJXwGM1u6ggJ9N8TmtgorYAa0wMp 3jKcD5A8Zf5T5KOkb7Lib5fwoFmSR+6C/c5j1f+SJAPJQ63+Es6dZAZva2WVTJvZCF79 JfoVErx1nh25zwf3wzoXByA2qIpr1AFB4eJelLvb2G10FoofibTVQZUBQTLcfN67UmDg I6KZ3VtMKTyvPj1uhjdcuszZn12WV13G62IgROFahYpnUX2qg+xlJKGIBKKSd/Qbjx8e ImVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708088920; x=1708693720; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PHl5R1/F8u0/SnHeSmWOc2YsyhnFxuAOA6HDgfKBd/A=; b=BoZ/93HMgMTvmMjawxtK6UMGr45auk4yDrLhNFCEhOOnF8aL9NU2qgxaSJ1jR2Pzb1 LCkbLQRaU5R4vqiLo+hy7Qj6y23CKMntSqJA+/3G47s2gfyWvIW4iMS+pWtsXm9DpQ1I v7a2unbVfBe3igxps8IioNR9EFUlPiJvF96ZlQBTYQBCnMYZcsuKjbbw8/dzJYH9RDX9 QXGd/K3HiTJviOqNNM+nggjpHtz/7115y0FOi2NaFvd6y57H4M1TkfdoznpYKDyHiVT8 Gf8hpbks1rhgHIjVBtFegs4ZBoSQn69GJALlOPEPGJPkr/4dqGIg30acnhnNFyPX8ld8 FjwA== X-Forwarded-Encrypted: i=1; AJvYcCUVgO1w3sCWHAZnzdjLAIt0/F0EgPgY5nVWOrNcsDFZHCNjOeHGbFMRD1nnyvB6ljV99rHD3/GPHPRXyGB7h9TAdGkMDFGoCTDt8mhF X-Gm-Message-State: AOJu0YySEtY75cMk8Pg9/WdVWY5mME3qAXmVz+kDnevJPgcmk2DvPBZJ AsGSkNngpgcUGTSUOaXhhHi6WXWBpdH8i5LQz61EBHZoFjUutyn86mlU6TEs+4w= X-Received: by 2002:a17:906:3bc7:b0:a3c:8d9a:40cc with SMTP id v7-20020a1709063bc700b00a3c8d9a40ccmr3706271ejf.7.1708088920163; Fri, 16 Feb 2024 05:08:40 -0800 (PST) Received: from [192.168.192.135] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id fj17-20020a1709069c9100b00a3de1ee1027sm478262ejc.133.2024.02.16.05.08.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Feb 2024 05:08:39 -0800 (PST) Message-ID: <69aee03c-efc4-48d1-8260-9dde8393ca0c@linaro.org> Date: Fri, 16 Feb 2024 14:08:32 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add fuel gauge To: Raymond Hackley , linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , Nikita Travkin , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Joe Mason References: <20240216124639.24689-1-raymondhackley@protonmail.com> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5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5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240216124639.24689-1-raymondhackley@protonmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16.02.2024 13:46, Raymond Hackley wrote: > From: Joe Mason > > Like the Samsung Galaxy A3/A5, the Grand Prime/Core Prime uses a > Richtek RT5033 PMIC as battery fuel gauge, charger, flash LED and for some > regulators. > For now, only add the fuel gauge/battery device to the device tree, so we > can check the remaining battery percentage. > > The other RT5033 drivers need some more work first before they can be used > properly. > > Signed-off-by: Joe Mason > [Raymond: Move to fortuna-common. Use interrupts-extended] > Signed-off-by: Raymond Hackley > --- Reviewed-by: Konrad Dybcio Konrad