Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp401373rwd; Mon, 12 Jun 2023 15:43:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6NnW05JI9+TVrPKH+wkjK3OsGg3cxVA11YYxZzrYSCDjwniH9uob/tSoag+CQok0SJRsvW X-Received: by 2002:a17:907:2ce1:b0:977:abac:9635 with SMTP id hz1-20020a1709072ce100b00977abac9635mr12469699ejc.20.1686609786825; Mon, 12 Jun 2023 15:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686609786; cv=none; d=google.com; s=arc-20160816; b=SLX2cxLXvesgTpWnw/2nKMpaTIkjA82L/RXPUVAfVp7J/5E5OnQZS7SCeKN/wdGDth ktfBAKWCqw0waFdzpKiWPzrBGLAlHAJ9R+yhhfbWZ7rEWOm5QP1oPRrDujJbWZSkwAsJ /kFopbHJn3pOSZSU3T8yYh8KsP3uROvWYnM5KRK6SjQCWf+jH1RhxndUKDeb6Y86DpnU KX/q4NPGl+IOHfye9ikdNdfGUxGW1XTkExwWQzKVl+lH0lxQdvevRwwpj05gnVOj5EHI qnXRhT0Ytd5aZvhAFiL1yXUU/F6jW2vCMLpVxFVU6lQl14pGd2RMLIoOUPIAh1mwD0TL e85A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=6oDYSi4AAt3j4FTvSIH05i6/Zp5laYZavZVmGFVtXFA=; b=LCfoA7TYHoBSM8egWVk6IE/VsralCSbXuGOO9b+8p0/XdMJc/ONXWmFqfO+x/Cs8CA h5zALkbDCpyHDkQ0L/FI7WuSGOwrTz/2bQNTbV9oW0hjWBZAqPqEg+wJ/d2csofTZwsD 6UhiiPHM/IqmZdBJNczSjt7MpTwgnHRy4JMgTLmAmUYdcvFBOdesmmMotC2EO/NHqNRB a+hyGvrpRiOtdJf6nKh/MmdpKpgHI2I8nl1qCMoUVo25nAgBZPkpuWTLlNyHan7ERIKD cFlW0tWHkg7/I2Vdhjhjk2CZKZnP5iYSHM45Se2XiqnvRRy9TxQb2M4+feclq87CQ5Z4 XRlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a1709063a0d00b0097375b44ceasi6192285eje.230.2023.06.12.15.42.46; Mon, 12 Jun 2023 15:43:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237126AbjFLWWC (ORCPT + 61 others); Mon, 12 Jun 2023 18:22:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232956AbjFLWWB (ORCPT ); Mon, 12 Jun 2023 18:22:01 -0400 X-Greylist: delayed 13747 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 12 Jun 2023 15:21:58 PDT Received: from 10.mo581.mail-out.ovh.net (10.mo581.mail-out.ovh.net [178.33.250.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FA0410B for ; Mon, 12 Jun 2023 15:21:58 -0700 (PDT) Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.4.98]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 5A2FC2504B for ; Mon, 12 Jun 2023 18:23:27 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-7pw2s (unknown [10.110.115.83]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1950F1FDC7; Mon, 12 Jun 2023 18:23:27 +0000 (UTC) Received: from RCM-web3.webmail.mail.ovh.net ([178.33.236.78]) by ghost-submission-6684bf9d7b-7pw2s with ESMTPSA id U53TBZ9ih2ThsQEAYGFhMA (envelope-from ); Mon, 12 Jun 2023 18:23:27 +0000 MIME-Version: 1.0 Date: Mon, 12 Jun 2023 20:23:26 +0200 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: Christian Lamparter Cc: devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, kvalo@kernel.org, f.fainelli@gmail.com, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org Subject: Re: [PATCH v1] dt-bindings: net: wireless: bcm4329-fmac: add ieee80211-freq-limit property In-Reply-To: <288fc9a0db6c292bc132e828611c41785b075078.1686486461.git.chunkeey@gmail.com> References: <288fc9a0db6c292bc132e828611c41785b075078.1686486461.git.chunkeey@gmail.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: rafal@milecki.pl X-Originating-IP: 93.159.183.33 X-Webmail-UserID: rafal@milecki.pl Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 7106398739039759254 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeduhedguddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhepggffhffvvefujghffgfkgihitgfgsehtjehjtddtredvnecuhfhrohhmpeftrghfrghlucfoihhlvggtkhhiuceorhgrfhgrlhesmhhilhgvtghkihdrphhlqeenucggtffrrghtthgvrhhnpefgueelueetteefueehhffhgfetvdegjeefleffuedvhfeuffdvheegueevuefhleenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeduvdejrddtrddtrddupdelfedrudehledrudekfedrfeefpddujeekrdeffedrvdefiedrjeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorhgrfhgrlhesmhhilhgvtghkihdrphhlqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdifihhrvghlvghsshesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2023-06-11 14:37, Christian Lamparter wrote: > This is an existing optional property that ieee80211.yaml/cfg80211 > provides. It's useful to further restrict supported frequencies > for a specified device through device-tree. > > The driver supported this since ~2017 by > commit 0f83ff697356 ("brcmfmac: use wiphy_read_of_freq_limits to > respect limits from DT") > > This property is already being used by: > arch/arm/dts/bcm4709-netgear-r8000.dts > > Signed-off-by: Christian Lamparter I've already submitted patch for that: https://patchwork.kernel.org/project/linux-wireless/patch/20230602135925.14143-2-zajec5@gmail.com/ This patch isn't needed anymore. > --- > .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git > a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > index fec1cc9b9a08..44e5f6677289 100644 > --- > a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > +++ > b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > @@ -15,6 +15,9 @@ description: > These chips also have a Bluetooth portion described in a separate > binding. > > +allOf: > + - $ref: ieee80211.yaml# FWIW: This isn't enough without changing additionalProperties to unevaluatedProperties. > properties: > compatible: > oneOf: > @@ -63,6 +66,8 @@ properties: > description: Name for the OOB IRQ, this must be set to > "host-wake". > const: host-wake > > + ieee80211-freq-limit: true FWIW: You don't need it here with allOf. > brcm,drive-strength: > $ref: /schemas/types.yaml#/definitions/uint32 > description: Drive strength used for the SDIO pins on the device > in mA.