From nobody Sat Feb 7 22:54:49 2026 Received: from mail-wr1-f99.google.com (mail-wr1-f99.google.com [209.85.221.99]) (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 D64886E61B for ; Mon, 15 Jul 2024 19:39:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721072398; cv=none; b=AQkfcglVbcN0Nhte6vKYoy14S8mKPzbWuc9Nvju0ThClDGBcbj89tnHC3kn92NVvwJjK4QWczY7xKswYiPEvKG2f1fD9Un2mStTgVY/oca1RmMIItaVXBIM8fqAC+lNIUyuwoyV1swimGn4Irl7sAfXkxvgTFmCvGiWbfHVOP18= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721072398; c=relaxed/simple; bh=JRXyEnJ0mjfSEpHIgz2SPH8IYMLeeWfcoU69RXJFUek=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YUx/ptfXlv1bPA9Dq34v6kzk35bliaFSAIfzWC2fmcraL61yxzl99/CEQ9WkeMuo7FhjkYazPt6uXOytwjD/02muk0ZpPYVE3e2K+s1K7hWmduwZxR2hkfJfZ3Df3/57WUJyRrkYxaWk9+BNiR17BMkjMHC9uPpVcNzw/K0ym/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=blueri.se; spf=pass smtp.mailfrom=blueri.se; dkim=pass (2048-bit key) header.d=patrick-wildt-de.20230601.gappssmtp.com header.i=@patrick-wildt-de.20230601.gappssmtp.com header.b=ZIhBCJET; arc=none smtp.client-ip=209.85.221.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=blueri.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=blueri.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=patrick-wildt-de.20230601.gappssmtp.com header.i=@patrick-wildt-de.20230601.gappssmtp.com header.b="ZIhBCJET" Received: by mail-wr1-f99.google.com with SMTP id ffacd0b85a97d-367ab50a07aso2956428f8f.0 for ; Mon, 15 Jul 2024 12:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patrick-wildt-de.20230601.gappssmtp.com; s=20230601; t=1721072394; x=1721677194; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zIJJSZ5zXb6reW5ZOR7y5RdjZLHn9rxRGf86Ywf5dXU=; b=ZIhBCJETa230+y1Prs7gn4lNKxLL2dIfVOfAHy6+ST7bTfR57pxrAbGe/BOp9nblE8 mNXY6mkHAOD0qCNhcvqdTRPHTBL0FYKIikcCThvNSMyMb4cIX5KmWIF40mtgcMPcIuou epLMKIG4ibvxF5Y+SfuQZkhYHK1teQ75j6+CTiSQajw85Q1nK1TNOge0eaPvO3S95xkE EhfXLdBhz9ritwXCwfj8EtN65IOISkRv4n2DMp5QlBX1RsQ4QtHE+VOuQ2eHpKgzTr+6 +ku3t0dfrKJy/NwxWWPHefop8jU/dP3KAoujjCLwrLtp85+hvTnCz9ENY7l4DK9wVa7b wy4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721072394; x=1721677194; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zIJJSZ5zXb6reW5ZOR7y5RdjZLHn9rxRGf86Ywf5dXU=; b=fvANSzJegSC0RNQ3kasZVxGhjWQnVL7mxdv2DL25JkYjpczx1QqAzNhIZ38RG/h5mu hEvdsowYPDj78R3AQjRE88Cesb09/AY3ucDx9bepP4fCmOuicKGdGzA0+k6PRR1R63NI 1i+IsBP9FdV/JIeaR0bnQV+s6XFJFiJJzAHqCr6iBjPT+r7D8zscnzBD43pP8Uz99rP1 S8VbhiDDjGO/ZP+EfIlrmydGs1qKUK2lbiJscr8f86pGH6y8BIElO0wTD2k7FOGaqj8G DlRZsKPllB0aMFTRODVvU/PH9j+GfbaTOSUlpPtvqmadIe2hMbEGe+zrn9z6W62gq8Zb Rjlw== X-Forwarded-Encrypted: i=1; AJvYcCVqqqxfu2gMIofpkVNibo7ddyUcWa7oVLoEq++RBiepcOxg1eL4mAgaQWJIwYjtPo3SWfK97On4VKRdEryuPIfwDCreEJmpxzjHrQmO X-Gm-Message-State: AOJu0Yy5khDEsiEBq1MmZj890ENCKgHbvzjs3l+HvdhX5ZJPbVr32XPk S41tQrGpZdN3GFQWHZPHvkKqsGNzznIKYX1+1bE3dAbm5tDvtdEfo9g0tG77h2qVzMfO3R21a33 JcoeHEXYlBof+omD+7xuy+nlbIenfGlCn X-Google-Smtp-Source: AGHT+IGkqNqCiQxG41zDKYbkTdSlXJZZoAudeVBFDGw/b+9Y2AmFQ5YiElW2hfka2NCp5svkdW/CdnXD3jFK X-Received: by 2002:a05:6000:2c8:b0:367:9988:7300 with SMTP id ffacd0b85a97d-368240be7b5mr521329f8f.45.1721072393982; Mon, 15 Jul 2024 12:39:53 -0700 (PDT) Received: from windev.fritz.box (p5b0ac4d1.dip0.t-ipconnect.de. [91.10.196.209]) by smtp-relay.gmail.com with ESMTPS id ffacd0b85a97d-3680daaaac4sm156928f8f.19.2024.07.15.12.39.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 15 Jul 2024 12:39:53 -0700 (PDT) X-Relaying-Domain: blueri.se Date: Mon, 15 Jul 2024 21:39:51 +0200 From: Patrick Wildt To: Kalle Valo , Bjorn Andersson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , Steev Klimaszewski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Patrick Wildt Subject: [PATCH 1/2] dt-bindings: net: wireless: add ath12k pcie bindings Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add devicetree bindings for Qualcomm ath12k PCIe devices such as WCN7850 for which the calibration data variant may need to be described. Signed-off-by: Patrick Wildt --- .../net/wireless/qcom,ath12k-pci.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/qcom,ath= 12k-pci.yaml diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-pci= .yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-pci.yaml new file mode 100644 index 000000000000..8f18868ee726 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-pci.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2024 Linaro Limited +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/qcom,ath12k-pci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies ath12k wireless devices (PCIe) + +maintainers: + - Kalle Valo + - Jeff Johnson + +description: | + Qualcomm Technologies IEEE 802.11ax PCIe devices + +properties: + compatible: + enum: + - pci17cb,1107 # WCN7850 + + reg: + maxItems: 1 + + qcom,ath12k-calibration-variant: + $ref: /schemas/types.yaml#/definitions/string + description: | + string to uniquely identify variant of the calibration data for desi= gns + with colliding bus and device ids + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pcie { + #address-cells =3D <3>; + #size-cells =3D <2>; + + pcie@0 { + device_type =3D "pci"; + reg =3D <0x0 0x0 0x0 0x0 0x0>; + #address-cells =3D <3>; + #size-cells =3D <2>; + ranges; + + bus-range =3D <0x01 0xff>; + + wifi@0 { + compatible =3D "pci17cb,1107"; + reg =3D <0x10000 0x0 0x0 0x0 0x0>; + + qcom,ath12k-calibration-variant =3D "LES790"; + }; + }; + }; --=20 2.45.2 From nobody Sat Feb 7 22:54:49 2026 Received: from mail-wm1-f97.google.com (mail-wm1-f97.google.com [209.85.128.97]) (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 C2E1D137930 for ; Mon, 15 Jul 2024 19:40:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.97 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721072449; cv=none; b=uJgY5BWHiAN3QGDnvYHe8mcYVYj89vg9GVxI9jWy1i8p6o2hJ86J9GKu9VXgzLF5R+R/r+DyPlrn6ejzuIt+jW40viITIPtZakYiQJjg1ZGaL5qNy8Q8cd9Rv9ep3y1YlGcK3G8Ymq/zFrvpPs02wiOxfaNvG3lVBoypWKCrlcc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721072449; c=relaxed/simple; bh=sbRViy5ykjGgKnUq4j3VvRTeZAYlWQyPTNp4p8FLHfM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=D/MABmkICVWV/PWPiMbSeqKzmh0vMP1X3ksJrDqw3B3xI7M/MUUDqmBtYNvkKj1864/oMOlTFn7caNq5s1eULArDTqbfy27/SlYkC5BMkTX/pN8Caf8ntSsdYrp1KE4pYYs2pMuBPRyxkisOZEn4zNnaWWFBosl9+xlQv8GyoxA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=blueri.se; spf=pass smtp.mailfrom=blueri.se; dkim=pass (2048-bit key) header.d=patrick-wildt-de.20230601.gappssmtp.com header.i=@patrick-wildt-de.20230601.gappssmtp.com header.b=u4Q6oS1T; arc=none smtp.client-ip=209.85.128.97 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=blueri.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=blueri.se Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=patrick-wildt-de.20230601.gappssmtp.com header.i=@patrick-wildt-de.20230601.gappssmtp.com header.b="u4Q6oS1T" Received: by mail-wm1-f97.google.com with SMTP id 5b1f17b1804b1-42797bcfc77so32574145e9.2 for ; Mon, 15 Jul 2024 12:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patrick-wildt-de.20230601.gappssmtp.com; s=20230601; t=1721072445; x=1721677245; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2WC0w3uJ35BJMQPZT5UQFIOkEjF8xfPSTQQ0MU3kBU0=; b=u4Q6oS1Tm7HDnl3xaqZ6TQQps3RJs6bZ8w3AOW2wM31f1DpzMCil7bdrnhGkiaGeVr +L+SvtLU+eQcsdSzwXNHQml3Pi09r+TTP9JnguK6Yd8Q2WEKgpP8Kg5ArZlwrHVdhNNp vKqQ9GOgl3N26kyHcwKaCvXRrrlcWEJW9zE87f6FLhkqIzOqjIIXd42ZV4Xxh7huVC5g PRnxIAYjPvpm1QO5ZAqDjnghrX02J6U7GA0TQHl7dXeu8yQtjk1UjXSzqCv7YabDcvY+ TT7UdZ5rcuzrp26SI9rRTBjmy2016+cyqDRJegHF94vx+uc/W9m7+cV9MLGcCUdILl/b XjWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721072445; x=1721677245; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2WC0w3uJ35BJMQPZT5UQFIOkEjF8xfPSTQQ0MU3kBU0=; b=teAxG7qM3dYbufA2l4tZZaoGfrBdVbEAO7gtG8c96HjSVMCqxWWZREsmI1bhwlLwGF +7C12ALbLMarV/pBpaLSPu87/BGy3hnVOF8SEUi2aQ3HSWiwX7EsV1BEQAPC5u1HMIuk mNq1+wNYSuwOD3j9lETDKY8Nik8XeTPs+iJoSIXf+nm9dcHHZx69VwrAGRiB6lQtiEFT VcN0bJ+5HBFWbS6ivw8V4nxh7pCJoN3sHW84AgSRnfZOuHK4HkbAIQySDv4LpDIzNWNS ylmylAFvlLfBXqRI4hfiX/486pS+NEwfVDRfcIXNZZ2dbl4w30I/XXgljKpzvvBzg5U0 19ig== X-Forwarded-Encrypted: i=1; AJvYcCW5S2kVQ69CrRXOcC0bPSjx4Prd/rvvRl27FwYJpdcAV6xPJlceOfBhjuaGjELKIltHMx/qoOTrit3TBrZpWYi/Uscg5CsNOTi1yzO/ X-Gm-Message-State: AOJu0YzABNDsNRXm3Uoth8sXHHOKFDz3L71UNsRbrAPiXHMc/z0KE3IM HcrxbSLe3ND/874d8j2G6VOquEiZku1dMpBOULYnKahh2HL5hj1iWWyG231C6E1dJZXMe4X/tJE tTgYcWnCBWSdmaF19LpdlS6lO7xMy2C8R X-Google-Smtp-Source: AGHT+IHYO9brQgD8jRZ+FVHI8vi7M0jjEb5Rm3a/xbi7wAtWHpnQrPsVjRB8ZE5/LyluQM6Hzqs2kSSCTHe/ X-Received: by 2002:a05:600c:698e:b0:426:591d:adb6 with SMTP id 5b1f17b1804b1-427b88ce8e1mr3798075e9.35.1721072444845; Mon, 15 Jul 2024 12:40:44 -0700 (PDT) Received: from windev.fritz.box (p5b0ac4d1.dip0.t-ipconnect.de. [91.10.196.209]) by smtp-relay.gmail.com with ESMTPS id 5b1f17b1804b1-427ac069f43sm1763625e9.12.2024.07.15.12.40.43 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 15 Jul 2024 12:40:44 -0700 (PDT) X-Relaying-Domain: blueri.se Date: Mon, 15 Jul 2024 21:40:41 +0200 From: Patrick Wildt To: Kalle Valo , Bjorn Andersson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , Steev Klimaszewski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Patrick Wildt Subject: [PATCH 2/2] arm64: dts: qcom: x1e80100-yoga: add wifi calibration variant Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Describe the bus topology for PCIe domain 4 and add the ath12k calibration variant so that the board file (calibration data) can be loaded. Signed-off-by: Patrick Wildt Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Reviewed-by: Manivannan Sadhasivam --- .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 9 +++++++++ arch/arm64/boot/dts/qcom/x1e80100.dtsi | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arc= h/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts index fbff558f5b07..f569f0fbd1fc 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts @@ -635,6 +635,15 @@ &pcie4_phy { status =3D "okay"; }; =20 +&pcie4_port0 { + wifi@0 { + compatible =3D "pci17cb,1107"; + reg =3D <0x10000 0x0 0x0 0x0 0x0>; + + qcom,ath12k-calibration-variant =3D "LES790"; + }; +}; + &pcie6a { perst-gpios =3D <&tlmm 152 GPIO_ACTIVE_LOW>; wake-gpios =3D <&tlmm 154 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index 7bca5fcd7d52..70eeacd4f9ad 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3085,6 +3085,16 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, phy-names =3D "pciephy"; =20 status =3D "disabled"; + + pcie4_port0: pcie@0 { + device_type =3D "pci"; + reg =3D <0x0 0x0 0x0 0x0 0x0>; + bus-range =3D <0x01 0xff>; + + #address-cells =3D <3>; + #size-cells =3D <2>; + ranges; + }; }; =20 pcie4_phy: phy@1c0e000 { --=20 2.45.2