Received: by 2002:a05:7412:d002:b0:f9:9049:d2ea with SMTP id bd2csp74412rdb; Wed, 20 Dec 2023 04:32:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFc6Rb7DvZuNyfdVBziuZYRXHPHVOic27TRRDdtUBZsFYjuLvs/M/AGLz/sM9qI5vfh5lWj X-Received: by 2002:a05:6e02:1e07:b0:35f:6607:28e2 with SMTP id g7-20020a056e021e0700b0035f660728e2mr21501025ila.29.1703075576206; Wed, 20 Dec 2023 04:32:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703075576; cv=none; d=google.com; s=arc-20160816; b=dv3KJYzJvV0ZZenjwK3WJKtApQHju3JvnjAV56TgVlPUlvBaxBwL9Slrq5E0FdTb3B DXcTSQSL9VYP+NJFuQ2l9aX+1B/l19tBI/vylOcQR48TLRboCPTHeMzQm8Ov//pUwbcL m0Drz376Lno4CD3NhuP8/lrM8OqzI4fHJdp+8WUwiHOw1iettY4YZDVPwHLB4NspaVNe lCLCANm9h58tSxwssC9kAzty/kvlZEonAuJX+FS/vt71Tp1ClxcON4ATlvLQeurfEcRW cPacUINiSmIzOWUP1BGOv1fy6UMgxmCP9Cy+cFHEmU3idHGWXNsb75kMwyr1E4y31uO0 ukWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=tu7ffZ92sPLeyk+eGDbM7u37bu69MZYvieXsbHFoatg=; fh=2ZAcl5qFRcNg1SFvtd8e9qnBCtV94fiIVAIS7EsQ9Dg=; b=rPlsdfjadTCfbH6FohLXoG+UOTp5dGcLlVWMuDCZT1QWL5RfbIJtOnZ6ITlJ1RI5Yf PULzXuNJbMAd51IKCHsJQ99xKWfpcK1EvrXE5eAK0Jo167V79SyW4a9fX8CSp/ktHpiA o3KckizdbUV16HogzB0pPScbqNI8sHlZnYfvITBIbvDzXrEiAwPCIlTE8QwdkK1URFld BMDMxnnEXVP4RCCLLrg9S08UfYARonXja1kx++pb71lgWaPUfoj6m10BpRbAfB7WLKkP qflqawxZm6n5eflS1aYWeej/PfzG8eoZav78gps2zid81CaCcZC10YrSCB4viPE+Cy/l 0qSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IduhJkVI; spf=pass (google.com: domain of linux-kernel+bounces-6896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r130-20020a632b88000000b005c6faf0a669si19606396pgr.285.2023.12.20.04.32.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 04:32:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IduhJkVI; spf=pass (google.com: domain of linux-kernel+bounces-6896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6896-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C87F5287AFF for ; Wed, 20 Dec 2023 12:32:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F70924B28; Wed, 20 Dec 2023 12:32:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IduhJkVI" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 D0B2C25541 for ; Wed, 20 Dec 2023 12:32:40 +0000 (UTC) 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-f43.google.com with SMTP id 4fb4d7f45d1cf-552d39ac3ccso1315576a12.0 for ; Wed, 20 Dec 2023 04:32:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703075559; x=1703680359; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tu7ffZ92sPLeyk+eGDbM7u37bu69MZYvieXsbHFoatg=; b=IduhJkVI3t4Unf9ucRIQO1NTr7r8qOFJZ9yLrOSoEGbWhSl7jV0EQ1UHifFXRjj9i8 N3gtDKyZ7r2Yg2jeV06t/B9BmCQLazHF0SMwp6/dL/xy6cSGyM9rULs9O+cBimdOS2Pk Yn96lNY4W1Zzr3DDJq0fw56s10+WraaAECSE/TeBIaWGilnellfHF1O4z8OFezOy/zst L8640jJPa5vNHl67ca3wTOGKBWt2sybs6XyOLiXO4QOK53L9xHXbK2x6/aQSqT0p/TL3 /hzS1yMoY7vMpYs8Dh8uc3PHinzmGVGTez06++n6OvrvfF2wv3rvZQl00tjYJedkOwH9 CofA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703075559; x=1703680359; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tu7ffZ92sPLeyk+eGDbM7u37bu69MZYvieXsbHFoatg=; b=ob+JSEzGmEtY4GlYJACfw/+0sDWk+WG+9iJMrk+GhkQjQSNrRkLCp4+SiFc48d8ekj 7bWrAEvNzaNd/uOs+hIocjl+iD+Bqnwm4uGOaRhvMxjpV8bf62eU09KkhCaZmHsmJ+hJ 4EpcEYhJPSn56ZJs+0HBGU06AWLb42nu/Kvlc4HVwPNG0A+nZKeeOBXtPxXOEoFLL9Fx X7B4J4x2/B8cHLjmhVy8MSyHqkLTRljyr2EKZE9JziKC5KAwWF/wnaLXwcZ8hkCXOhPY gk8WO2kZBcG+Sxeul7iPaZXv6JIVfs4v5b6Uj0ShuludYbCpDXB2L7cfFeLPTFfYJcDx 1RFg== X-Gm-Message-State: AOJu0YyYPOqu6Oq8ssLpKId//x+DNvW6+q2mFFyq3XCheirx8A91jWhT vq5VNK4KnZKjcBQR8uXrIMZ12g== X-Received: by 2002:a50:d698:0:b0:54c:bb9c:4b88 with SMTP id r24-20020a50d698000000b0054cbb9c4b88mr2847545edi.5.1703075559111; Wed, 20 Dec 2023 04:32:39 -0800 (PST) Received: from [192.168.199.59] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id d12-20020a056402000c00b0055344b92fb6sm3393899edu.75.2023.12.20.04.32.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Dec 2023 04:32:38 -0800 (PST) Message-ID: <8d042095-1e09-45cc-9762-909fe8d663a9@linaro.org> Date: Wed, 20 Dec 2023 13:32:36 +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 0/3] Fairphone 5 PMIC-GLINK support (USB-C, charger, fuel gauge) Content-Language: en-US To: Luca Weiss , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus , Greg Kroah-Hartman , cros-qcom-dts-watchers@chromium.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <20231220-fp5-pmic-glink-v1-0-2a1f8e3c661c@fairphone.com> 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 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9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KL1lXGXeRM 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: <20231220-fp5-pmic-glink-v1-0-2a1f8e3c661c@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 20.12.2023 11:02, Luca Weiss wrote: > This series adds all the necessary bits to enable USB-C role switching, > charger and fuel gauge (all via pmic-glink) on Fairphone 5. > > One thing that could be made different is the pmic-glink compatible. > I've chosen to use qcm6490 compatible for it and not sc7280 since > there's plenty of firmware variety on sc7280-based platforms and they > might require different quirks in the future, so limit this PDOS quirk > to just qcm6490 for now. > > If someone thinks it should be qcom,sc7280-pmic-glink, please let me > know :) IMO it's best to continue using the "base soc" (which just so happened to fall onto sc7280 this time around) for all compatibles, unless the derivatives actually had changes as far as firmware goes, I *think* CrOS doesn't even have PMIC_GLINK? There are however WoA 7280 laptops which totally should have it.. Would be nice to hunt some down and see if they report different stuff to what's there on android firmware Konrad