Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp398623lqt; Thu, 6 Jun 2024 07:02:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVk7DPP+mr1Gd0m1OpHskrjsryToTOO0QKKita6QB0MCjg0FSjAuqWDTAcVDr2BxYu7Zal3iKW+quaq2yiiHolTd3+tnkSqV+Da6vffLw== X-Google-Smtp-Source: AGHT+IG8dHjtZg6H04daz1f3yRnx/5GDGUV6ZQfqEwKLyjH/cXZgrvuCban5/f1bl7kBAQPtRS2H X-Received: by 2002:a25:870c:0:b0:dfa:dee1:8536 with SMTP id 3f1490d57ef6-dfadee186camr2834636276.48.1717682529724; Thu, 06 Jun 2024 07:02:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717682529; cv=pass; d=google.com; s=arc-20160816; b=OZXvDBVp1hxtL+9zA1xB3zwFEhTDR4Eza47xLdrqlHgolN2YQqN5JHdKVJeMs8+WPO jw3frAElfTiRyjA796pKS5wd1sny+tA1m0pRENnnafvpysQjih8hR9CRTuC/W5lTcbt1 lOmcECk/wXfdKnl5ZHmvfukaKM3OsZ7xszSp8ATy0ThxC+Bw8rGbp8/kX/I5aqIh9AKy qjzey+8kPpxVYJqfO8PF47TDB2AL52xC6WuRcMmgPjn2/w7PzZD1O708C+Rda+RiYHzV C9iqm3QV5WAadaQaBrrbkxL1ANhOncG2pHfLiAl05/shAuU5KXhPWRp/WDqZwn1k3sZM MtNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=Exqth/+k9FmA2UDmjf7oc1trllf1KrAhidtEnW+PkAk=; fh=pPWTdkG4fofqDgXKxaGO9FVHEGmLhUWniLcDsj7LHQI=; b=NKMtN/lbR1UN7Q5CCcOZdLarFOqiDqktp6i94xfCmpE6C0H2Mg/y6n8fzAW3wgo6I4 g+W5iwGs2CZT5t+fTF6nVr9Xhja+I5WdnscwgRWbyk8rvMxaNZZcSlQ3LmuD1+20oruj tvM1lrcQruOkuTykTo8y7XV2WExzdoXbuU3tG7vEsjTGFJDZjcbNddG4y2pE+YyinLbh fqoqJH2bSe9gtf3wtDk7iFpXbczUYByKuzGd7buLRyyU6d6Hbwow+1m6O3GB3M8HgI+b gUx40KG5nfpBLcnsJ+iCebm900wetOQyRKNP+YJLhFiFEBgoyu/lW3EdnOw4FTCphlUk jllQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uGSpgk2S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8620-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 3f1490d57ef6-dfae53cb2fasi612243276.299.2024.06.06.07.02.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 07:02:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uGSpgk2S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-8620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8620-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 3073D1C252BB for ; Thu, 6 Jun 2024 14:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AB0B19645C; Thu, 6 Jun 2024 14:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uGSpgk2S" X-Original-To: linux-wireless@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 03E44195FC6; Thu, 6 Jun 2024 14:02:03 +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=1717682523; cv=none; b=pPhRGc3+eF02CE1hMBmAU0Izw00W2BddFeB3x6we6zmSJbTt5hF2ofO0GTAl4p9+7FE5wwKV9UUDLKM0AvEwesYEjWX+AWXurmBHrapTiKD3Fk4/G42MCXQBDdw3rMIYdK9yZ+mPrmgCls+m2lLE9RgiFfo16GFzT0fLsAQjjPk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717682523; c=relaxed/simple; bh=ivsf4NbZZPAamDEi3OCHaSjrBCmG4UqHfSgu3HZ5PWY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=uMgY8E7GdivOGj22MEvTL/nH38wYVkxLH1M+xh/FsAKW1V/jSq/f0XvfP230ZcoXNCmW+fsyIE23lA7VjvhC+CZLd90BgXe/ym0Vkf5OvCCMuowfkRC9A8D9Edd5TK6rwB6Wvhy7smsr39HPqOVXeG41O84BZ2+LSAaI2Kb9Bh0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uGSpgk2S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55343C2BD10; Thu, 6 Jun 2024 14:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717682522; bh=ivsf4NbZZPAamDEi3OCHaSjrBCmG4UqHfSgu3HZ5PWY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=uGSpgk2S9Q99QsCDrnFKgKraNdbOOhYSONYIIH2BHVK2ycaCv0j+dmU4CbWH9oBsl /J8x10c81VUUGgH+F+o5iFK8iJ1N3/hdDgSJpOL1eMQ64ggEw7IYNBeyUIg1QS0kuY Lym15z8f+QhlPxGLzLuxIEHUmDvZAvWyIa8AQ9O+MCJ4+iA9TEZTreiq6kGUHPKhy2 l5LxMFSLbsqNE1sagCmLT/7GMCy/HoZtA3CTZiOAwK5tf6EVyW4/g5jr+XaV5B9ReZ 7Bsrq9LThBfrwDEkz9kIRyRY1w8DCgbIRo9Vfe2lwE9W2LSIGgnws/KaPOes7FDA1J YXpduBI7BQwFA== From: Kalle Valo To: Bartosz Golaszewski Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeff Johnson , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, ath11k@lists.infradead.org, linux-kernel@vger.kernel.org, ath12k@lists.infradead.org, Bartosz Golaszewski , Krzysztof Kozlowski Subject: Re: [PATCH v9 1/2] dt-bindings: net: wireless: qcom,ath11k: describe the ath11k on QCA6390 References: <20240605122106.23818-1-brgl@bgdev.pl> <20240605122106.23818-2-brgl@bgdev.pl> <87h6e6qjuh.fsf@kernel.org> Date: Thu, 06 Jun 2024 17:01:57 +0300 In-Reply-To: (Bartosz Golaszewski's message of "Thu, 6 Jun 2024 15:35:47 +0200") Message-ID: <871q5aqiei.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bartosz Golaszewski writes: > On Thu, Jun 6, 2024 at 3:30=E2=80=AFPM Kalle Valo wrot= e: > >> >> Bartosz Golaszewski writes: >> >> > From: Bartosz Golaszewski >> > >> > Add a PCI compatible for the ATH11K module on QCA6390 and describe the >> > power inputs from the PMU that it consumes. >> > >> > Reviewed-by: Krzysztof Kozlowski >> > Signed-off-by: Bartosz Golaszewski >> >> [...] >> >> > +allOf: >> > + - if: >> > + properties: >> > + compatible: >> > + contains: >> > + const: pci17cb,1101 >> > + then: >> > + required: >> > + - vddrfacmn-supply >> > + - vddaon-supply >> > + - vddwlcx-supply >> > + - vddwlmx-supply >> > + - vddrfa0p8-supply >> > + - vddrfa1p2-supply >> > + - vddrfa1p7-supply >> > + - vddpcie0p9-supply >> > + - vddpcie1p8-supply >> >> Not sure if we discussed this before, but based on this I understand >> that there can't be an DT entry for device pci17cb,1101 without all the >> supply properties? But there are QCA6390 devices with PCI id 17cb:1101 >> which do not need these supplies and already work. For example, my Dell >> XPS 13 x86 laptop is one. Or anyone who manually installs QCA6390 board >> to their PCI slot and some of them might want to use DT, for example >> setting qcom,ath11k-calibration-variant. >> >> This is not a blocker for me, just making sure that we are not breaking >> any existing setups. >> > > If they are already powered up without the need for the PCI pwrctl > driver to do it, then they will work alright. Bindings don't affect > functionality. Sure, I'm not worried about functionality. I'm worried that if I there's, for example, an ARM based setup which uses DT and wants to use a similar QCA6390 board that I have, and set qcom,ath11k-calibration-variant in DT. In other words, I'm worried if you are looking at this only for Snapdragon family of boards? Again, I don't see this as a blocker. I just want to understand how this should work for all types of devices there are out there. > But if you have a QCA6390 then you have its PMU too and the bindings > model the real-world hardware. > > IOW: your laptop should be alright but the supplies are really there > which warrants adding them to the bindings. Sorry, not following here. Can you clarify your comment "the supplies are really there"? You mean inside the PCI board? But that's not visible to the kernel in anyway, the PCI board just works after I plug it in. It's like a regular PCI device. So I don't understand why that should be visible in DT, but I can very well be missing something. --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes