From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21104C25B76 for ; Wed, 5 Jun 2024 12:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ucQO5tSR+UUnqX3BARACo1yN9MzAT61u2WtozQUoIJg=; b=jRsiV8cjkRJC9mV1GL0MMR4fHp vqe8fg/Cgn5tGCLjYKmzK2v0NLK7/KUFr1UzMUD7311kUkA3G7HZUPi+LUWccJyd9UartxB7eN4kQ 7SoKWCQs6BrOEFF0Jbj/S8pULhDOYMQXFRgM58GU0tLSU03gBXNzKyb8shdalQrEj4E62+rLa+Llt HIksPSBZq6bPr/p6vDz5fWxyZd/eW6qk96fZrd66oB725guYX/9PK0WGABiPUtHetwuKyGE4wKSwo hw9TRUuHwpCv8KNWuldGh+QZONICMWzZOVMNBkRpZdCGgs1j1HWyVkn5rxhULMEp/7m8mFdDnNHeU O+lUY2vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEpdt-00000005xYZ-3sDS; Wed, 05 Jun 2024 12:21:25 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEpdr-00000005xWp-1eLY for ath11k@lists.infradead.org; Wed, 05 Jun 2024 12:21:24 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4210aa012e5so21172125e9.0 for ; Wed, 05 Jun 2024 05:21:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1717590081; x=1718194881; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ucQO5tSR+UUnqX3BARACo1yN9MzAT61u2WtozQUoIJg=; b=LJiCy0JAovA6LNGeMEYd49Ij3EFsJBFG/ICxSsIbGGQ8EbNXIOkq8xubhvccFOFbo4 lV6p03peGi2nSWfS3AasMGNO3YQ+D8ZrnYN0blwdaWLKVAs1/5FMGhXTULHZu01zqPmR A85BRhrOQ8oqeiMBbqVLB4z8LIDn4sgWCSFEPO1H4qHna6f+eHv+RCEokzvoHJTsUcQ5 9b6WzaQjlM3asit7BxTcK4tPf6SqhTrvw+XsM6YlKj4P7wA6GVH1HuDre33O+uR6PqCW uKRcmyCloN4IzDG3cs8hUbdxLcC0oRudvlNr1X9gS2LCGUJLw/NhLpKlwjZaSteRDOCd g0Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717590081; x=1718194881; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ucQO5tSR+UUnqX3BARACo1yN9MzAT61u2WtozQUoIJg=; b=vEkGXy+4V4a7Y8YC+crfQAxbGg+7C/xE5sFOdRCjgdz30cgnlbNsiODG2mmTRMZI1T epMf5Cv9e5+Va4TrWqP49NJBnx1oSjD27Nl9GU23zkmjtMwQd+OdACM+Thexarf0L/u5 NepHBPln2Jm0bkJ8OxTIlau7rsmxGaFefYXLOQY8HvcFm9UYxZzhZ2buAjfr75c/qugU qqhiBVK7+yw2p5bVs4mCIpNd+3T6jlTmfEXpTqVIEZS4k2zTAcMiYdWzZhJlAKZinL3x Zyd3T7uljbtFEfFze0iotDj3rB202KQjt3JOhqFIfWPSu/Lfacn/3J0uE3HFkm8+AeJD RjVg== X-Forwarded-Encrypted: i=1; AJvYcCVtlIZnwnskFoTHFqtZE+Q89FCUZdbh0lxWOSsi42F/0c9brWckV0PGKhqDttsZvRzYiiodPA+wOqGgowHptMmmjFnGKH1smzybOw== X-Gm-Message-State: AOJu0Ywg58Dt6FTRMAta4YWB4CtOhRKJLgLIQWCo8MXlfCFoKUo0Rc4F /PCRa50dPaiqYRongmJRqXNPygG+L3DfTNjyO1KIZWSmcYooXOSJZ8p3QevgRVk= X-Google-Smtp-Source: AGHT+IEzV4+qPAdbvBIVSDh25Kg43lXFdrbrVxygpt/spQBQn6auoyHk/Hs/OfBTW0kfE6X67LA+9A== X-Received: by 2002:a05:600c:46c4:b0:41f:b0e7:f299 with SMTP id 5b1f17b1804b1-421562cc205mr18573495e9.9.1717590081264; Wed, 05 Jun 2024 05:21:21 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:75a:e000:d3dd:423:e1eb:d88b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4215813ce64sm19634485e9.44.2024.06.05.05.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 05:21:19 -0700 (PDT) From: Bartosz Golaszewski To: Kalle Valo , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeff Johnson Cc: 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: [PATCH v9 2/2] dt-bindings: net: wireless: describe the ath12k PCI module Date: Wed, 5 Jun 2024 14:21:05 +0200 Message-ID: <20240605122106.23818-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240605122106.23818-1-brgl@bgdev.pl> References: <20240605122106.23818-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240605_052123_506691_12489B24 X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath11k" Errors-To: ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org From: Bartosz Golaszewski Add device-tree bindings for the ATH12K module found in the WCN7850 package. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Bartosz Golaszewski --- .../bindings/net/wireless/qcom,ath12k.yaml | 99 +++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml new file mode 100644 index 000000000000..1b5884015b15 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml @@ -0,0 +1,99 @@ +# 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.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies ath12k wireless devices (PCIe) + +maintainers: + - Jeff Johnson + - Kalle Valo + +description: + Qualcomm Technologies IEEE 802.11be PCIe devices. + +properties: + compatible: + enum: + - pci17cb,1107 # WCN7850 + + reg: + maxItems: 1 + + vddaon-supply: + description: VDD_AON supply regulator handle + + vddwlcx-supply: + description: VDD_WLCX supply regulator handle + + vddwlmx-supply: + description: VDD_WLMX supply regulator handle + + vddrfacmn-supply: + description: VDD_RFA_CMN supply regulator handle + + vddrfa0p8-supply: + description: VDD_RFA_0P8 supply regulator handle + + vddrfa1p2-supply: + description: VDD_RFA_1P2 supply regulator handle + + vddrfa1p8-supply: + description: VDD_RFA_1P8 supply regulator handle + + vddpcie0p9-supply: + description: VDD_PCIE_0P9 supply regulator handle + + vddpcie1p8-supply: + description: VDD_PCIE_1P8 supply regulator handle + +required: + - compatible + - reg + - vddaon-supply + - vddwlcx-supply + - vddwlmx-supply + - vddrfacmn-supply + - vddrfa0p8-supply + - vddrfa1p2-supply + - vddrfa1p8-supply + - vddpcie0p9-supply + - vddpcie1p8-supply + +additionalProperties: false + +examples: + - | + #include + #include + 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>; + + vddaon-supply = <&vreg_pmu_aon_0p59>; + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; + vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; + vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; + }; + }; + }; -- 2.40.1