Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3478528lqp; Tue, 26 Mar 2024 10:07:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhItBMeVEosj3NHCH4qipdIRUFrUte7OfpeMyvFxuwIx6IpC652bIepKzHaqM8S5egKzb48QMAybFYL6p+A1OjGwKi+UsF1nb1QgFaYg== X-Google-Smtp-Source: AGHT+IFVQKJHL2MmOi12gDY/wUq9CeuPsWN8L4+U3lsTMGnMgbpTyuPj069BM/ZVwisYXottuXCM X-Received: by 2002:a50:871d:0:b0:568:29f8:1d79 with SMTP id i29-20020a50871d000000b0056829f81d79mr408516edb.38.1711472868083; Tue, 26 Mar 2024 10:07:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711472868; cv=pass; d=google.com; s=arc-20160816; b=oZL8jUYyJ8RAHDzKfQQz+OfJ+5WPX8iQvKAgfhdd0XcJ8yA+0qUXtg/xU/2i5j7H/Q 9H0od7YBuCcVPmUY1flP4bkifPP4MKhrWmpLuO5RHoCvWOhfYLQPX8LDBCJGIeAa5gcS GVXh5z8GgH81nXmhAw5tR+hdnoy4SOmv9uWH/46w8mA7FgHJZYU+ZdfiffbwjcTmltDt +4TU8uP1UAbvG2Ofb5HyN5dduUbx+cFxxYVwTc7XJI/aLcJEXslsoEs9z42OWMMoudgr 6W+UNfCt0LOHQ2fVp4OK7HUkaMiW62wU+DJAH7ajgOP/3BgYlcWVOC9aiI2ZA//77ATj avxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VeOLfPMdqRqnd4YCiCJ8ZccIXxfW6lhxWbHbTlADgAM=; fh=NkYcdE44ldfGn1mkByRJL50w59R9ssOafljo+0kqp1s=; b=V6Th0+XWMawkbCadvJMZe1rT9TbEpijC/Wq5/DKcb8E8RX+V41rgxMqdzBDhqSwzwj D07ZMA6NIcYdZ+PAFSnYPsPkcNF2nV/CXH0gIgjC+xmcR/2fSCEFxGtEyy8LA5RZKEaW 8fcsQefvpDX4evQXUw1s58k3Z+gnRAiONWUqTGl0a0Nc8D+xk/NVMxjIXSdOwm0iFx2Z YEXH5SuJWYsrerd4iFkArrO3KAd0CXoOc8bAHYGJJrKsfrc46Qu7dWgv6PGs0jN3uM0w n/ppAZ1YEqeULtiN4//ChLdMKKQ+Q2TL8xJWInxfLF5Y9X0bTylKx8zLzX6R8sFfErQb D8/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f8Z0eTCE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a61-20020a509ec3000000b0056bcd7a0097si3712568edf.622.2024.03.26.10.07.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 10:07:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5287-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=@kernel.org header.s=k20201202 header.b=f8Z0eTCE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5287-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 985291F2157C for ; Tue, 26 Mar 2024 17:07:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16BFD1CF8F; Tue, 26 Mar 2024 17:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="f8Z0eTCE" 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 C90111C694; Tue, 26 Mar 2024 17:05:51 +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=1711472752; cv=none; b=GyTTmL/ZwEL3V8OzRpBT4PaRsxKJKthSslR01kpBQDSQnNVSsdbzGV/jNvD8wf4rTPHKLnYx5pF0451uE9DM3O6aNBkQCLB5zqdiatXrtYzCdM6u59QXx8SRdCSwGbxibjo9tYuJx6wU7l6FFjPWDKV517wLl+xmT7l0MJRGZRo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711472752; c=relaxed/simple; bh=71bc6Icg2W+tsc/KrncHz55w8fQK/AdKxcY+zxw842I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DYQgTcG3yMFa4SlGZnU3TJJPpf5FSc9rarbIcpWhdtGk8+sEjQaqQrTRLZCpaFA6pVkZcuiaY3s1eIAT+/hqufIua+Oe6bPll1tWgeHEmGTljbehsLmpTdSI3p/H6esehtMYkwLQSHRb5/Ml7envCt/2rjcmnow9KgmL33oZDqw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=f8Z0eTCE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 378A0C433F1; Tue, 26 Mar 2024 17:05:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711472751; bh=71bc6Icg2W+tsc/KrncHz55w8fQK/AdKxcY+zxw842I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f8Z0eTCE91cnVLMjLsMZ5XnbXj46lolCBrEa2MuMCeOGKl2oNVv8YsfvE+OcWzfiR 2zZEvqlWd85/5mlWV+X3+eev3YcTeIbNtOytfIp97MmTfdvIP4a8oe/9oP5jsqhEih KrEshn1lL9OneLTXy5A3ktgc7q0v/8hHhC+hUFQCQe22on3BOwFw+XtA/vv/IvGayB hftb7+vs2AaKRqiZXmwNOIiE5v8kPXZX7paNsjz/IcH0HAfnNg+xjjp2EiWvbaYZEf Myua/CeRUH2RRkxwg1P1O6ahhk60xu6EUI2aj/SxXWACo5VfjhGitiA4EGDc9nzM2I xLIGc7N/yvZgQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rpAFK-000000006pW-44Tm; Tue, 26 Mar 2024 18:05:59 +0100 Date: Tue, 26 Mar 2024 18:05:58 +0100 From: Johan Hovold To: Bartosz Golaszewski Cc: Kalle Valo , Marcel Holtmann , Luiz Augusto von Dentz , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Catalin Marinas , Will Deacon , Bjorn Helgaas , Saravana Kannan , Geert Uytterhoeven , Arnd Bergmann , Neil Armstrong , Marek Szyprowski , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman , Abel Vesa , Manivannan Sadhasivam , Lukas Wunner , Dmitry Baryshkov , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski , ath11k@lists.infradead.org Subject: Re: [PATCH v6 04/16] dt-bindings: net: wireless: qcom,ath11k: describe the ath11k on QCA6390 Message-ID: References: <20240325131624.26023-1-brgl@bgdev.pl> <20240325131624.26023-5-brgl@bgdev.pl> <87r0fy8lde.fsf@kernel.org> <87frwe8jiu.fsf@kernel.org> <874jct10yf.fsf@kernel.org> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Mar 26, 2024 at 05:32:55PM +0100, Bartosz Golaszewski wrote: > On Tue, Mar 26, 2024 at 4:12 PM Kalle Valo wrote: > > >> Adding also Johan and ath11k list. For example, I don't know what's the > > >> plan with Lenovo X13s, will it use this framework? I guess in theory we > > >> could have devices which use qcom,ath11k-calibration-variant from DT but > > >> not any of these supply properties? > > > > > > Good point. I will receive the X13s in a month from now. I do plan on > > > upstreaming correct support for WLAN and BT for it as well. > > > > > > I guess we can always relax the requirements once a valid use-case appears? > > > > I think we have such cases already now: > > > > $ git grep ath11k-calibration-variant -- arch > > arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts: qcom,ath11k-calibration-variant = "Fairphone_5"; > > arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts: qcom,ath11k-calibration-variant = "LE_X13S"; > > > > But please do check that. I'm no DT expert :) > > You're thinking about making the required: field depend on the value > of qcom,ath11k-calibration-variant? Am I getting this right? No, I think Kalle is worried about requiring the supply properties for certain PCI device ids, in case we have existing or future devicetrees with those ids that did not specify them or that need not specify them (e.g. any PC modules). Currently we only have the X13s controller in mainline being described by a PCIe endpoint node in DT, but it has a different id ("pci17cb,1103" instead of "pci17cb,1101" which you are adding here). The Fairphone controller is apparently not a PCI device at all. Johan