Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6545391rdb; Tue, 2 Jan 2024 05:40:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHotRYLZPzIj+yiREVgScnuXB6kRBIpUNHVokjcBUB1LH6OPwIwKgUR73wIab8IQc9SFIbQ X-Received: by 2002:a7b:cd89:0:b0:40d:38cd:ad5d with SMTP id y9-20020a7bcd89000000b0040d38cdad5dmr8643683wmj.167.1704202844407; Tue, 02 Jan 2024 05:40:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704202844; cv=none; d=google.com; s=arc-20160816; b=idKgSgTdq/fok/DfpOZAj629N0jw8wmfoY/XlhtchR+vMuFd3O+rskTtj5yABx9OG8 CZsIiDnRHhW2G0YKif3jIauReXMbmI59Rjg1Bln9g8gfFETyQOMyqFQAnWX1zkJm3oJB oRQXVlyAVjOCinSxk6iXKkKNtdO2CPC/318otpQwzRf5o3r7Qqda7vuKmHX0KIusXbbh hlGZceeER8RAg/zA470mnREI85YjEwjUs78iuRCmWMDf3pUdFGbsQo1b10FTm0FmT6IM QCpa9rx3d2MLFpYm7qgVUTKuNKsHjxguZA3fMpnWN0Yu3Y5z/FY4RaCwDzFbUmNEkd5T ZiIw== ARC-Message-Signature: i=1; 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=yw1eZQLQF8tCNGj3FmK65V653PqydRwi+YDu+OErLVY=; fh=hJYyrKIqukXRYvYPpPCbtKyIEAasId1sgOgaDvYQkME=; b=LeUnl9doNcz4SqYqxWb378nYSIQ5tJVZYmOMT7csUVcwAD/2dGaCSIao879EgvcF5h ucxAKPSoH40K8bvKHTMF3kacNW54Dj3acNECY9XorQvWPvZO/A7Uu69YxL6wHI4n1H+x +HrOeQSVro1uTVtHMviPOSDyX/3rexhqP+NLToo7ctLqCK8c4Yt0je5m2HTW5cHJzzP3 KcdS/BmMW69giyknW2iCzYffgJXoJRASL/jZ7XB1gSnKXw/ffmfuxK+QHxvI2/0r2Wmn hKScvgRok1ZNmnVjUJjzA/DBDPLaPnLhTc9+BqQhA9o8EY/cZznmj4zHD7eh3gXKJrlV 4HWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TbYiPl8f; spf=pass (google.com: domain of linux-kernel+bounces-14428-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14428-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t26-20020a17090616da00b00a234a34707bsi10219153ejd.556.2024.01.02.05.40.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:40:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14428-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TbYiPl8f; spf=pass (google.com: domain of linux-kernel+bounces-14428-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14428-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 24D991F22990 for ; Tue, 2 Jan 2024 13:40:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6739A1426C; Tue, 2 Jan 2024 13:36:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TbYiPl8f" X-Original-To: linux-kernel@vger.kernel.org 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 7978D15484; Tue, 2 Jan 2024 13:36:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C823C433C7; Tue, 2 Jan 2024 13:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1704202602; bh=FSztAPSp18hRIvcIXlZbHuCTeEbkrO6MtZYrXTy2w7A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TbYiPl8ftIQ6Nco6sWfs9j9B+kbUTfCEUknrXaIVoBI4LYsYcwF3sjQF6z7tanGfZ 0M2dye7EDRX2MGH7ztZw6/Bi2teOKKE+S94PoHJ6NdLdsPHdSaTwIOF/uezyLTxJ6G uMYEeQDFicu6t4Njyv03e6qfIORVYUFrS/3v5Phg= Date: Tue, 2 Jan 2024 14:36:39 +0100 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: <2024010227-darn-litmus-4ddf@gregkh> References: <20231220-fp5-pmic-glink-v1-0-2a1f8e3c661c@fairphone.com> <8d042095-1e09-45cc-9762-909fe8d663a9@linaro.org> 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 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? thanks, greg k-h