Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp383376lqt; Thu, 6 Jun 2024 06:38:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlkdWH3e9XLyDORek1km4AcapdnZz2FmysbVfy5XNLOPZlWOPhWsQs6vv3tR6fs7zuNs5PLQm0QJw9B0PGA4xXj8Q8wTmauAChZWBzXQ== X-Google-Smtp-Source: AGHT+IG/rlyOJvdrhd3K9Jkue5tVDmNZ0xT1z0EDdFzsO9rmIijHrD713McSenXhmhhzEuQ2AmPY X-Received: by 2002:a05:6214:3d0b:b0:6af:41c0:f23b with SMTP id 6a1803df08f44-6b02bf2283bmr61594566d6.17.1717681091141; Thu, 06 Jun 2024 06:38:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717681091; cv=pass; d=google.com; s=arc-20160816; b=wtE8GV8DoxA4xVI5P+fWECK4Ha3O3phkwaxm/+eNHs7N23PokS0/+VOVgosGyYXu8o XDTveozrimrcrkz3RRqY4oF6pqu4sbILrBxH2QhYaWFReN/Qk9IF0ZM0U6YLxECteM2B 6gJ88znhHFjjRClCzBvAh7o4iK2pNQyli9EABMmhenzBb80YoPgq5+xaxhwxfF3najmc VAip2fmw8v4gcfcu2LzK4FYZpgymN+/wF+Q/yYp7D8yP1tyiw2i0hFMliLk+AZe3OcD0 Mr4XE42pGGcRlnfzGnfeJBuK3QeeqCPWn/uP8D8Z+//57JZ2r2dwC2RyhJ7Vm8VeHwCo 7fCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=/BoBiv/oTzAdR1lIG+yWj+SGvl2JhVkHcJoQ9lqvUrc=; fh=0b9Id1az/l7IEXflBcHRMLDQvkfcCcjLE6pJbrZCarg=; b=ZTY0n8At1mN35gmJo9PB+cVCnygHktD5wTmdmUAG9QMztouYB+BUnwCGtmkIp+FNpt 6AOjrMLgOT80PXHJkXOI84kbwMmXVM8mUofLk0lwxtr8bkG/kLnqsI0WodMIu/lpkfCw LDrwdlI9XzvumjQG4TtVudFIuClDPokt6uMbZw1O+xAqyC3jQyMJGsQ8EVNd3DiE18zZ yZFhASZ+aRC8GuA1NlMmh+esnSlZX1+aXCyVR8oPvwyq3zzEfU/MGhthJQdvzlhBQQDL kaRU245QSV/qtPNThNen+2UjT+wyTW8KnlK+pWQhFfKl/P5Ofb8hmf5BBBero2yB5sIP U5JA==; 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=GXwFajWW; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-wireless+bounces-8618-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8618-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f967d66si15036056d6.255.2024.06.06.06.38.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 06:38:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8618-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=GXwFajWW; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-wireless+bounces-8618-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8618-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BBDF71C222E0 for ; Thu, 6 Jun 2024 13:37:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 941AD19642C; Thu, 6 Jun 2024 13:37:53 +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="GXwFajWW" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 E5DE8195FD9 for ; Thu, 6 Jun 2024 13:37:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717681073; cv=none; b=t+Tuszao0/uEUjPRLU1cO17rvP9J50LUqlWo67EEzaemtq4KNB+T8DT7KG/8rqO2CZkhvKVwYQ1LVbBMijomUUdDCe1uLHBhyf5+t7Nb88Zi2UKCqRBoVnoTVUENa9yTejPnkQjGiyyk/qcDbZorQSFp1QkeFXMLlXA79iAdb4g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717681073; c=relaxed/simple; bh=zjZtV8HA3Vhf3+SRpbRkKIxbVSf+NUfL0NIXTkLvKoA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Bw33oMfzGTsJRlOG1yqry2wSg5zEbZfCbBBsULzfMfSAI3st9X14bNk54CR83dTttXd0JqOLq4svv7s6r7akPbspRlMxlcWMH9067g07Lw9AqAPuLtfM9SsIDsCg3L8fKb98W+RmYpAU4Us4JPjWkUTZB6Ee+nai+x+XG/AymrY= 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=GXwFajWW; arc=none smtp.client-ip=209.85.208.180 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-lj1-f180.google.com with SMTP id 38308e7fff4ca-2eadaac1d28so2662381fa.3 for ; Thu, 06 Jun 2024 06:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1717681070; x=1718285870; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/BoBiv/oTzAdR1lIG+yWj+SGvl2JhVkHcJoQ9lqvUrc=; b=GXwFajWWpKkS3kcer4HmUXrpVPlzwLgFtMKG8/A4+csjCpvixF0Ty1Ad/oj77qN2Me JO87MMU494Bx0vFZ24lJf4KCnqgfrhl6A9C4kmxo16oa+jyp46+vjdzdRVoK/K/bhR9q fAma7enWuOIpiUF8pFO0uL6y56UCKzLkVLaKr9dv0sWg03QanZjRtgrQA66RnFrg6rLa zX8nytyo/ElyipZNPeu628jGgmYDY+rCTreuivwY9HE0TrAYGDQ0Gmqrlg2PMA4OkT+b t8/KfqsLrcj0BOBo8CzT17GOjZALZWK0+CoX5Z6OABaK+90n4ItgJV1v4L+7mY+UM8wj Wang== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717681070; x=1718285870; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/BoBiv/oTzAdR1lIG+yWj+SGvl2JhVkHcJoQ9lqvUrc=; b=eiV7xpa1sdn2+EPOn07jexIqd3/0YpE8p2ecesozQ3/9Ss/48p+v2tIAOFNTCC820d gTMJ8q+uDfnywHMWvLy9jkXyQmvztvGaTvcgR5WD6CwS2lI6SdavstDwBpkRylgEzFSW O2thXtQgExAB9nwzstDfuehwXSyXpdFxy1waZAPQi0LtlFr2YuR+sBi9SE5OyDv1138u rJw0mqZPWmDHsS6DYWImLp9K8CjCsoxtASRqEUTYOdX7N15IK/U4DYAEqjcuaVaoBIC4 oitj+pwXE69oA0JnCtek9AL3E2Ryfu3vjXizgheI7K8be5KXLYgYethlvgUMjzAIO69J obCg== X-Forwarded-Encrypted: i=1; AJvYcCVasBBn7DB+8/WttCwJn0CyUKp8StlKK5viN6vzH4S/LdvZay5bvtdyB5fVr7e693UkQ2ypZQCjaJQm8AllhWlfnrTBPqNkqgMITmcmZsY= X-Gm-Message-State: AOJu0Yyi//JvzXtIL6eqZvaOCqW5IFZS4X/ySY4S19NEy3gPF8nby2HQ o6jog2kufsdNzbh3RLXEpFUlqGDAvj3lPyJ7IDgJFR3pNKEDmjTfqLnOFgk/PNSJs/0WOFd1flY gx2mMDgUygsRKCb7qtOIvjoo7UcOPgwtp9odVL1ETm58oTX9yclg= X-Received: by 2002:a2e:8802:0:b0:2e5:67bc:739 with SMTP id 38308e7fff4ca-2eac79f22cbmr31439811fa.2.1717681070058; Thu, 06 Jun 2024 06:37:50 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240605122106.23818-1-brgl@bgdev.pl> <20240605122106.23818-3-brgl@bgdev.pl> <87cyouqjou.fsf@kernel.org> In-Reply-To: <87cyouqjou.fsf@kernel.org> From: Bartosz Golaszewski Date: Thu, 6 Jun 2024 15:37:39 +0200 Message-ID: Subject: Re: [PATCH v9 2/2] dt-bindings: net: wireless: describe the ath12k PCI module To: Kalle Valo Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeff Johnson , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 6, 2024 at 3:34=E2=80=AFPM Kalle Valo wrote: > > Bartosz Golaszewski writes: > > > 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 > > Same comment here. To my understanding there are ath12k PCI devices > which do not need the supplies. But I guess we change this to optional > later? > Sure we can. But "pci17cb,1107" refers to a QCom variant and it always comes powered by a PMU so these supplies really are required. Bart > -- > https://patchwork.kernel.org/project/linux-wireless/list/ > > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpa= tches