From patchwork Tue Mar 21 09:40:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13182473 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CA59C761A6 for ; Tue, 21 Mar 2023 09:39:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230229AbjCUJjV (ORCPT ); Tue, 21 Mar 2023 05:39:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbjCUJjO (ORCPT ); Tue, 21 Mar 2023 05:39:14 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51F8836463; Tue, 21 Mar 2023 02:39:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id AF84FCE17E3; Tue, 21 Mar 2023 09:39:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D98FEC433D2; Tue, 21 Mar 2023 09:39:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679391548; bh=OO5zaDA6gWw6Yo8WQeWvzqILKDsdnOqeoGNGYtZyLVs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Oj6ds/hJfqa48Lkwj+yTTqPF5GBJ2tyyUZzV1T+NVAmmgwUW81rWrVvQWsD4cuPSW fxRt6f0da841LGFKHab0jcMXRiOi7ro2LD84PFovx06dNiUbo8ZWVvAR/I/e3Xt8d5 B1Lm7zTzeBwmyjo8rsDfRbaCfwZGV300ZZHAPq/KepoPpVCV2Km6FojLUVQCGFbaIS LMYChRIDYH9i3X1GROLo96CxwPoCmOEBdNrgb7M3HLJU+/IBR9e6cKkUredc2Df1SY u4Gdmv/g/ZR1fw5nV9bGXqcAf+YdsUm448oW3ChVCu2uLmT8AIy8XvwdhoooMEAMCv GJFPiOQ3duLkQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1peYTo-0002Xy-AV; Tue, 21 Mar 2023 10:40:32 +0100 From: Johan Hovold 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, ath11k@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v2 1/2] dt-bindings: wireless: add ath11k pcie bindings Date: Tue, 21 Mar 2023 10:40:10 +0100 Message-Id: <20230321094011.9759-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230321094011.9759-1-johan+linaro@kernel.org> References: <20230321094011.9759-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Add devicetree bindings for Qualcomm ath11k PCIe devices such as WCN6855 for which the calibration data variant may need to be described. Signed-off-by: Johan Hovold Reviewed-by: Krzysztof Kozlowski --- .../net/wireless/qcom,ath11k-pci.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml new file mode 100644 index 000000000000..817f02a8b481 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2023 Linaro Limited +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/qcom,ath11k-pci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies ath11k wireless devices (PCIe) + +maintainers: + - Kalle Valo + +description: | + Qualcomm Technologies IEEE 802.11ax PCIe devices + +properties: + compatible: + enum: + - pci17cb,1103 # WCN6855 + + reg: + maxItems: 1 + + qcom,ath11k-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,1103"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + + qcom,ath11k-calibration-variant = "LE_X13S"; + }; + }; + };