Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp280992lqr; Wed, 5 Jun 2024 06:06:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwAKsD++ox2EUHFO8VtXgzSDAgNFcqSAPOWK1snoHaSKOWhUJ3YNgJpuq5flugl36kBw02B+xIRIcNEHVfsfp2uGtzDO3L4pKOI/DiZg== X-Google-Smtp-Source: AGHT+IGYOZzlXxaGxT8tEZ2qWOGKp5ahbJdLLmAgOw2dXylQvh8ng6sUc8IK1ryG3219Sxc6UX5k X-Received: by 2002:a17:906:2604:b0:a68:b557:76f5 with SMTP id a640c23a62f3a-a69a0000b8fmr156407866b.69.1717592811569; Wed, 05 Jun 2024 06:06:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717592811; cv=pass; d=google.com; s=arc-20160816; b=A+ePV09eot0ipJmtOQ61JtwIG+QPg9jkYT84jn8M1BAxhBxP3oTLsF+bbZuDboMF6E q8x+yDTS5zCAuJFR/O3utJ6EwiQJ/77Ci8JSwpVILoLg6vAFACamMFAsWf9BI1oM5QLp GAssA6dkUG3HfRXYQrI/mU3gtc8nCpj6utG1Dkymq1wabrRVMkVENCWEvX2tArBZPYlu x0khi0ZLirO1NLQTa8KFdWb5XSYEnst2gV0V1y5GLK8OLgHfEcVVvTVA2LCdcaJGEnVs bzkm4PARlKx7yWxcR3M70Bbvae5GpZ1v7wRT76ebNQG848GAdEWhL+qFRNpJHzBOxL/n Cfqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ucQO5tSR+UUnqX3BARACo1yN9MzAT61u2WtozQUoIJg=; fh=r+wsH7WsiziLyQ+2E4EAJYDTDZ+O2s8DsJeK+gtjDFc=; b=PKjYmiDup3ToWmf/I/q6+OgUrv2ZOTepfTJ0i6EG4CExOm9SHFVT3Sem7hJZwtmjpH adOc0iM8W/+oiPQmH/HvZzsUARCSL0YKWsx/luv9RGbwCfJZo9Qff+AGUXazMEr1qvCX F82KKF6uv/mhmw3FPrZ8LSz4rCZSFHISsRV3ToejySe9wrTrgQRPRkdkpmuSuiX7nE3v nsqfhvGld1qrVX9DNEVH/JhurpqfYgXr4k1Pl0HbPNm+karQVnzyF5pMxbpsq21rizkX CXku46UNnt8Irmw6D1NK6nn3ckb8qtrB1jVPMElfbnNWnJzQQhx9YaKJoT0vrZKHkru7 icCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=pJunJXQP; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202589-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c72b50202si6499166b.488.2024.06.05.06.06.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 06:06:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=pJunJXQP; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202589-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202589-linux.lists.archive=gmail.com@vger.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 AC7471F2C2BC for ; Wed, 5 Jun 2024 13:06:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 694491BBBDC; Wed, 5 Jun 2024 12:21:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="pJunJXQP" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 C5DBF1BB680 for ; Wed, 5 Jun 2024 12:21:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717590084; cv=none; b=KcI5F+SvZZFdARvM4P0VcDTtSCa8qO31LLPdvWXIVgjkAuUdw+zYFOjBLJMBu1RfEqxREPmG7nRJAVVSX9eBD2m3D0tSQjZQkFPzbIu3ziEV9klWgt9fICC+RCmgSx+nhT4/r8DFYAg3LZfKKt10lu9H2o646wdokCBEQIMlfwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717590084; c=relaxed/simple; bh=iSIJRYQoDeifOwpk0peo5NpP3jgdrZqBKDhv4/ZqD2I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=btqxsNO5qBJZRd8VfvsVcx7Nlz5Nu6TPIGS2zGlwukiAhNV7PNb0Cp2YgckqwANPoTmg1nHDTPCGthcTt11iVXC7BR9RhMzUz9rfSdXJ+pFOvw1LQ9zuFzbEY09g/BWFPDkA61R1bZ0MLa0rsvK2Dl7gB+9j5ltXzIAnSRlSf8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=pJunJXQP; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-42158db02c3so4106675e9.2 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=vger.kernel.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=pJunJXQP4hVXQEKfh779jvRcQGK9mw8RgdSfKpcU+3st17ilRZfgAahYsUl1oEwHJV kM17NTI244Di86qs65Ti/KY6dCesbpxpo1KTA5uVo+xFAsvvjYLG6+e05BQNusR1vGog SbVXaL84A/iLRi/aJubPamRiXgYpjYcR13QG2K510/1y3m+yHfwXLUJRGkXtR2SXCcoV Vhbfd1+Du18hO6GMYvSO0GyU6RtGlAYKDQEBO8THWhoE2t3IvfTzeATT+3Ql+nBj8G+q CC7kU/tFHL/V/XQn895/iOy7zY72CF0bnh43gFKcu52kZQx/+A+xy2Q8nxp2p5LMAqzE 96Gw== 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=AqYgMGaz4o362nAhEI6uch0v2a0XLfBI1Q79H6dtorbMzocLHhzSLtM0LZDhNJrTEJ uP4EU0tleY4du8+lvlncBWDU/SyvYLPMI55NYL9efCgG24RaCEZhfSBQFJRgtfv3/Fge BhseoRC9vnHP4S1HGGzPdFH36g7LWG2e0mr5yS11vGVK+G20Zz/xeRYZLRzDVmFaVuqI HJUN2xYBZ3rmzzQOxSWXU5O7wcOmHsLjvQvNYn7z+h5zfYpn6iL95XfY+g6h7YICkKs6 ax7Oj2ekpUiOfmN6NFkNgsgGYsxnxkcBEz3DaITp6XZXwippKBpQZXZTWe8gIE8KS3yd FMWw== X-Forwarded-Encrypted: i=1; AJvYcCUmVVyJFMHpalViv3vF1anTolUsPhLdXE/WlWevgp/kB+cb8A0NTSVVYHlEGN4ryCpmF0zSlldF2KvGpTxVTXqjxUgGt1aGhMz3eFa3 X-Gm-Message-State: AOJu0Yy7SK121dNXL5VgT+Ee+cCtsr8rSfa+NDH95//ir27VrTCu2vwG ZB9dKxIkwL2aBoiUImCDZSM+AB2DBjOib83wFnGcdxpQohKIPuf/OXwfYq5NroM= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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