Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp161094rdb; Thu, 21 Dec 2023 05:55:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCnQnyoSZE/MiPu53Uwp8KaPAo+9t4o/l+6BQIDKKXARCd12HoTR2tL0GtAe41rkv780f/ X-Received: by 2002:a50:8e17:0:b0:553:68b2:31e3 with SMTP id 23-20020a508e17000000b0055368b231e3mr3681262edw.30.1703166959506; Thu, 21 Dec 2023 05:55:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703166959; cv=none; d=google.com; s=arc-20160816; b=OO7wX2YKkBOkKT/c7FeYP+4yW/B0gg+gEdnw1lJ/yon/OeWBm/1vPI5LOniJsFjExe 2MqFAZS6Yrshpn/aeLcStJuCj5SwnUCJh/+Za9xX7pa+htxei+HC8Ud3lBSm2HoWeDfl 7VMK23jg2+B92FvCV2OQk3OY4V9PAsH7/u5p1M0vvdM6Duqh2XYNWTzFNnXZlT5BRXnX baG7ML0+teHoFUWqppwQ2QRxhxDYFCRCYQDFQA7qSk+kG9lfsu+unLfevR0aaIfcv3xY 7xt4HOyB/Lzxg76Cu3m1XPCLeaIKHnWcLly+m0EFsJXYu1ky3mH5MdTOR9wAsuBmeVey PFsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=+G4IpIXZDkNfAYijfdIEK2DiPVk5MoCvUYEoHZOpo58=; fh=8sTXFnLlWtjlmHBUckkankfsdyKnD04r0pCcwPJCGxU=; b=I8n+H03ETa+3/vKh4wMZFA+WMLZY/zFore/Gp0XsjbxUf8EnXD6D/s/Lr/t7gf4zbx WJyDPxu/9cBNeTppSdA/TReVIhYRMW0VjKGzqsObU9Y3HRFl/xO5c2aSoQUmsRJ1X2Xg nr+hRkXqugWxXs+CfwiBPNNTeXpZODQglgKFKVPjXuBLMixrcEQo/PdwFk9leXKP9HFx Rb2lhJXIIHn8C5FGuL1tdcaBG9KV3gkyyt7UTyoQihdN0C8OSP3UV3ro+6/0iNoJDh09 KaLzlOm1I/6kJrsMfof1tsriFMyjectD6g0CpdP86U3LPZQexV+QIEQ1EdyvMgzt7JtZ vo6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=I6x0h0NA; spf=pass (google.com: domain of linux-kernel+bounces-8515-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8515-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dg2-20020a0564021d0200b005534468421dsi889115edb.319.2023.12.21.05.55.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 05:55:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8515-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=@fairphone.com header.s=fair header.b=I6x0h0NA; spf=pass (google.com: domain of linux-kernel+bounces-8515-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8515-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1F7BC1F21ACA for ; Thu, 21 Dec 2023 13:55:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EA3C55E45; Thu, 21 Dec 2023 13:45:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="I6x0h0NA" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 0F30253A0F for ; Thu, 21 Dec 2023 13:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a235500d0e1so86380366b.2 for ; Thu, 21 Dec 2023 05:45:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1703166328; x=1703771128; darn=vger.kernel.org; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+G4IpIXZDkNfAYijfdIEK2DiPVk5MoCvUYEoHZOpo58=; b=I6x0h0NA4VQ7j/UCkYIZLUEn2Duij5YT6h0yMS9xnMoqNIeM01XvH1vNuhD52A2AeF 9XXHpqHQIbLqh9myfDmaCdU2gyzDQonXswnDBMWR59w4gIosmhfvn2rdnS5mbE+CyBdG KHo/LE99RzxcGPxbn1rzP4lK23uvEo713ErsjztVVg5CPbzmd/cQb2vF+SDNZiiiLKhi +ZWJ5qpNEgJlaqNt/+gjbMCE0erazwV8CCV7AbiIC3wHb5tDIkYUo0XMA/WnNSscXVOY XSkVLrEUTKRO3K9bqlpvZFQvkNAJ2fujUGb9Ond49g+R+NBEJ8Q0WW6YSXVjps1BiDXb EwEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703166328; x=1703771128; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+G4IpIXZDkNfAYijfdIEK2DiPVk5MoCvUYEoHZOpo58=; b=rdCWlovX8W9FXYVAR2xvN7gZZ/M6ch8yTLNFsNJRAyfZlAyzx/4KTsj5kLv3FohwWG j/OcvdiGiJHYR8SL10j2zMO92EAYKEV/jsdRATY4yQY1shKmaKMnFWpMLnSuFP3LM4fl oznEN6PbZcttIdWkI1cTR9vAw5FSTpKV0r3gbaGPIoYqZZasaa50TY+Fe56qGHu95GXN 1U/pM545RShHmH0PTJ/yhz2vFzwVpOhmnXTij/sebavMJUrWNsQZqaFHjsDp6Cbdz3sb 1KNa/SMqs77XB0j7Gemw438nhdvmCYeZ4p6mVb4yjkliRD7PWGid+3Y6BNFjlFPwlPjn 46dQ== X-Gm-Message-State: AOJu0Yz/hldyJBpkTurf2n7OFal8vFPLBw1XKlJOBvYAS/J0cMuerhSn eiTOlEwx1FmNrtLkTqHjFXhoUw== X-Received: by 2002:a17:906:4116:b0:a26:8aeb:c363 with SMTP id j22-20020a170906411600b00a268aebc363mr1742055ejk.60.1703166328044; Thu, 21 Dec 2023 05:45:28 -0800 (PST) Received: from localhost (2a02-8388-6584-6400-d322-7350-96d2-429d.cable.dynamic.v6.surfer.at. [2a02:8388:6584:6400:d322:7350:96d2:429d]) by smtp.gmail.com with ESMTPSA id kx26-20020a170907775a00b00a1f65433d08sm982553ejc.172.2023.12.21.05.45.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Dec 2023 05:45:27 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Dec 2023 14:45:26 +0100 Message-Id: From: "Luca Weiss" To: "Konrad Dybcio" , "Dmitry Baryshkov" Cc: "Bjorn Andersson" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Heikki Krogerus" , "Greg Kroah-Hartman" , , <~postmarketos/upstreaming@lists.sr.ht>, , , , , Subject: Re: [PATCH 0/3] Fairphone 5 PMIC-GLINK support (USB-C, charger, fuel gauge) X-Mailer: aerc 0.15.2 References: <20231220-fp5-pmic-glink-v1-0-2a1f8e3c661c@fairphone.com> <8d042095-1e09-45cc-9762-909fe8d663a9@linaro.org> In-Reply-To: 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 wro= te: > >> > >> 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 switchi= ng, > >>>> 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 the= y > >>>> might require different quirks in the future, so limit this PDOS qui= rk > >>>> 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 happene= d > >>> 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 ca= se > >> we change it later :) I'll send a v2 with those changes. > >=20 > > 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! > > Konrad