From patchwork Mon Jul 15 19:39:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Wildt X-Patchwork-Id: 812840 Received: from mail-wr1-f100.google.com (mail-wr1-f100.google.com [209.85.221.100]) (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 DB32B130E4B for ; Mon, 15 Jul 2024 19:39:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.100 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721072397; cv=none; b=UExKKd7af+mM8jrw9Ic+MsJsKi+i71VMUViLCXTk6PqirMnd8y6hdEfMZ5I/0+aeIKVa6fjsMUkCjmZLWG7aKpl2YlA8Soe7exENJbXkM5ZewvCahcAtcuWXhiZtHMbAP8N2DM2ow9t8NNi0YF6C5mZQ7fwBuBXuOAeJnqZmVJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721072397; c=relaxed/simple; bh=JRXyEnJ0mjfSEpHIgz2SPH8IYMLeeWfcoU69RXJFUek=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WsMP3PuRxDnSQKeLmStD884ELD8VEBI9kBfAqagq/Acr8Y6wpfYLu86XcPSqOqKTJkdqYHzhNElYZiWcaR260ygQTDtet0pba/0GCT3D4+Ffelsl9F24q00j8uwBdSkK+nKx0plV/KGMxPyIqEHqbNRNWxbfUl1a3OJjoGDQarw= 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.100 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-f100.google.com with SMTP id ffacd0b85a97d-367ab76d5e1so1433485f8f.3 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=pVndV4roJwVXQf3orn1vyhyOCyr0rUbjhMJHN6QHvVoa2z3uCX5qQL1VJsP0gqfw1+ +qsP194OEcGSI6HJBAWgnaD2d16hS/0MSgcIF455qESHWHCn5Wf4HBBw62V7MQCHhW/T /UeHsvvIgSfc9coOiCGum7C0MB+WW4ElSnd8M/pYl7I2ghiIA95fAZZu+oJxC+7MCMtH ExgOwink1h+w4bKzN6jfF7k0/JN5pnh4yx6LA+mVhVraJgUQ0V4yyJ8zNS6JuTPyO5Rd a2wxX6v6xBOY7FaYmfkOd0ucv+w3oES66OXA/udujYTN9XDlRy1pUpbW8zfA1/5zHDB7 BonQ== X-Forwarded-Encrypted: i=1; AJvYcCV7+GQ/fUX/HLL4Oe4phCv3nHeVXMMgcr5KYfIbIHt0jOJjw9/kNeqcUnVK0S7zR9NjMZ/jLldG/LvrfKaYLHxPRcfmKDuffNp6AkfShg== X-Gm-Message-State: AOJu0Yxf6lRYOy0F/BwIbiO9ZN5LHYnQmwNgu5Rd9wXff0+H4ULUNhw7 ZQE5NkkuqWJH23PW3YbJkb82D66otS1GM5R+nkJOMrag2tz0J3TDRt/QSMPT+1sx9gFrMvz2jxv l1ATAgzyglRlofIdg6wJE9YubY7haUtHa 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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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,ath12k-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 designs + with colliding bus and device ids + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pcie { + #address-cells = <3>; + #size-cells = <2>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + + bus-range = <0x01 0xff>; + + wifi@0 { + compatible = "pci17cb,1107"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + + qcom,ath12k-calibration-variant = "LES790"; + }; + }; + };