Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp195129rdh; Wed, 7 Feb 2024 01:48:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3x2jsc7z/LefcelaQ9sANWuIZsdDbTaKLzZyFaRgoiBHcTorsE1/em3N/jkjHfE3/we3K X-Received: by 2002:a05:6808:180d:b0:3bf:dcda:30bc with SMTP id bh13-20020a056808180d00b003bfdcda30bcmr6027467oib.28.1707299321981; Wed, 07 Feb 2024 01:48:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707299321; cv=pass; d=google.com; s=arc-20160816; b=sX9mOOFp79yAVDi0H96bQM3A+kW0p3jJcMgCCYj5nidFidMIWeNEBS4QyIg2ledcUD 5gcTVSPREixNaVCzQVGvZCDdtMevXagB3Sjto3koi0By2orkviRjQmXVg/0EDEC/tO5x DABRaTckT8oUeHWe8FIbbOlNaPYhI26q9u39SBOnHW9rpEtPXPXEYOwzCkH7xF69xoJ8 Tzv6UQwqBLKQgxRzQSatUShnrT84ehXYqNVArD8UYpd7SbNaBtKjppamVe3x56escgQo Dw60AcNPDvWlSdqFf/F00y93nDL7WKBgIX0/NUdI+ac0wgT30clxWC4ZFf8H/Asau2pJ 1bXg== 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=mfR0LqQt9FJtwRPiPK0Yr3l4i6AFaUfEzMTJs6m3HQQ=; fh=jvrpWLpIFG/keLYqKImrQpfklyJ1CR3eDkNrAQEEfYc=; b=lUMdJB34JoIUuRIXz0YIsZ1s6puwRJo05iuYbs4uSC0M+4mV4FgugwiFBOR0hFPAPQ y7ASmWkeo4DgbtkYQgm8byJD1tD+bIDVHc6RUpn1XkU/t0HQAhv41jUuEr8izYEPIDJK WtfEFjwBvZ8uIOyP/QwFV5OMcNKrZcGCyAdjrIFbUR72Hf/3C8JwpcYmKF8BezB0eu7p 0ep5KRJfarKhdzBDbIazpIPH5TW49j5D1WyGBGk7hdYhpTsIU3w3bgS2LkHukyN2C54c k2ipXffCuiOTv8+EXCM8dFXoZMnBk+QZ4RoTQlGlIoWUYZ94JEB89a4ya2N4T1c7Extc ayAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hxxdc8kl; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-56245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCXOazNp48ToUor2Rkvzgn2Vax9HqyaYR175toDz7G0UbUci5ApPwFmyZtF70Buvg78we/44psifQS7mqUNZRafbmnE1Loc+oOj1BlQyYA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f19-20020a056a00229300b006e04024a2afsi1200939pfe.135.2024.02.07.01.48.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 01:48:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hxxdc8kl; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-56245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 E0CF7B21F8F for ; Wed, 7 Feb 2024 09:47:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA80D22F17; Wed, 7 Feb 2024 09:47:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hxxdc8kl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A854523745; Wed, 7 Feb 2024 09:47:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707299247; cv=none; b=H9BcuogCvT8xWS0oL4atuIPBUWuWlAHCIWR4DxfUEG7DHWRyx9AdQ123C71uUI71QUiMbvG5qLb5YwXDAbC8ITnYGTkutIvpqYZd+IaW61NJlPBMxgGu3tuQGfiBNeb4Try5LDZDKC21qpEAtuSf3Hk5b1Wl230UJ4FzSDYGDEY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707299247; c=relaxed/simple; bh=3Guh8FFWdBHHjtk/64P3ZLJj+ITcekYysmUVlFzYeS4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QROWL7yS4vrQCGTn/7XzCN63XRghN/MzMnxveODzh4+i1Ievc1plF2cEd8LCrXpCpWl7w63TOC3fiHyMaS+Iw0TynWqIz7FgQXNJ+Iwyy3WN/as/RSnw4IEm1fqd5zk4F1Ajq/PXD6vUkbMSd0PlCAy3sleCKtBcUgiVk6sLy1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hxxdc8kl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85A5EC433F1; Wed, 7 Feb 2024 09:47:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707299247; bh=3Guh8FFWdBHHjtk/64P3ZLJj+ITcekYysmUVlFzYeS4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hxxdc8klnIy4ZDNB5BWD04rH+GMHbiNDBN6/hTxQc/vByYJ5XITJCX69MyWl1yYxf 0UeJc615SI12VAM1ChmwiQgVXFRgRg6ODGum5sCfsC3a07JrFwHB60n1zKwo599D5P Advs1kA3wnh04DvGL0zsveVAJSN93LbtYq6UYwz4= Date: Wed, 7 Feb 2024 09:47:23 +0000 From: Greg Kroah-Hartman To: Luca Weiss Cc: Konrad Dybcio , Dmitry Baryshkov , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus , cros-qcom-dts-watchers@chromium.org, ~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 Subject: Re: [PATCH 0/3] Fairphone 5 PMIC-GLINK support (USB-C, charger, fuel gauge) Message-ID: <2024020710-regulator-charging-7682@gregkh> References: <20231220-fp5-pmic-glink-v1-0-2a1f8e3c661c@fairphone.com> <8d042095-1e09-45cc-9762-909fe8d663a9@linaro.org> <2024010227-darn-litmus-4ddf@gregkh> <2024010205-placidly-expire-221c@gregkh> 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=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Feb 07, 2024 at 12:20:00AM +0100, Luca Weiss wrote: > On Tue Jan 2, 2024 at 2:53 PM CET, Greg Kroah-Hartman wrote: > > On Tue, Jan 02, 2024 at 02:43:24PM +0100, Luca Weiss wrote: > > > On Tue Jan 2, 2024 at 2:36 PM CET, Greg Kroah-Hartman wrote: > > > > On Thu, Dec 21, 2023 at 02:45:26PM +0100, Luca Weiss wrote: > > > > > On Thu Dec 21, 2023 at 1:53 PM CET, Konrad Dybcio wrote: > > > > > > On 21.12.2023 11:34, Dmitry Baryshkov wrote: > > > > > > > On Thu, 21 Dec 2023 at 09:33, Luca Weiss wrote: > > > > > > >> > > > > > > >> On Wed Dec 20, 2023 at 1:32 PM CET, Konrad Dybcio wrote: > > > > > > >>> 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 > > > > > > >> > > > > > > >> Hi Konrad, > > > > > > >> > > > > > > >> I think at some point I asked Dmitry what he thought and he mentioned > > > > > > >> qcm6490. Even found the message again: > > > > > > >> > > > > > > >>> well, since it is a firmware thing, you might want to emphasise that. > > > > > > >>> So from my POV qcm6490 makes more sense > > > > > > >> > > > > > > >> But yeah since it's likely that sc7280 firmware behaves the same as > > > > > > >> qcm6490 firmware it's probably okay to use sc7280 compatible, worst case > > > > > > >> we change it later :) I'll send a v2 with those changes. > > > > > > > > > > > > > > Worst case we end up with sc7280 which has yet another slightly > > > > > > > different UCSI / PMIC GLINK implementation, but the compatible string > > > > > > > is already taken. > > > > > > > I still suppose that this should be a qcm6490-related string. > > > > > > Right, let's keep qcm then > > > > > > > > > > Ack from my side also. Thanks for the feedback! > > > > > > > > This doesn't apply to my tree, where should it be going through? > > > > > > As far as I can see the dependency for the driver commit 1d103d6af241 > > > ("usb: typec: ucsi: fix UCSI on buggy Qualcomm devices") was applied to > > > Bjorn's qcom tree, so 2/3 should also go there then. > > > > > > Patch 3/3 (arm64 dts) definitely also Bjorn's qcom tree. > > > > > > So that leaves patch 1/3 which Bjorn can probably pick up as well but > > > looking at git log you also picked up some for that file in the past, > > > dunno. > > > > Ok, for any remaining ones that want to be merged before 6.8-rc1 is out, > > feel free to add my: > > > > Acked-by: Greg Kroah-Hartman > > > > If they don't get picked up by 6.8-rc1, feel free to rebase and send it > > for me to take through my tree. > > Hi Greg, > > This applies cleanly on -next as of next-20240206 still. > > Could you please pick it up for v6.9? I can also send a v2 with only > the two remaining patches (dts was applied to qcom by Bjorn already). v2 with just the remaining patches would be great, thanks. greg k-h