From patchwork Mon Jan 2 13:27:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 9493563 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D8BAF62AB4 for ; Mon, 2 Jan 2017 13:28:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAAA4223B2 for ; Mon, 2 Jan 2017 13:28:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF87B2679B; Mon, 2 Jan 2017 13:28:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20E87223B2 for ; Mon, 2 Jan 2017 13:28:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932986AbdABN2g (ORCPT ); Mon, 2 Jan 2017 08:28:36 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33772 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932970AbdABN2e (ORCPT ); Mon, 2 Jan 2017 08:28:34 -0500 Received: by mail-lf0-f67.google.com with SMTP id y21so40098955lfa.0; Mon, 02 Jan 2017 05:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qcM9dvTfeCTJbhEUrIKMqC1z4KFnEQ6TX7lQgXfVTDE=; b=eXcQ5OkJuFL07LYztzAinAxo3YVCIJggie24d56tc0UzEQ0OzV1pXXXs8kyLqV5HgC sKkKF/yun/YX5b6fk8qwHbaXgPnmsaPEAFtmbvjjyTesbReg7c0coOj7J2WwSaLaceKe dheKghXnTI1HCzTPfw4OqykiilvgIN13wn1fDU92IR94I2fjxhAj+tqhPz5PZUv3dTOK V9k6wflYyeA0IxZfmJHVDDdoDbF+x4qtV1PZDSJW4vyHYYDjdqlOr05iIavaGKlX4ty4 VYf8vIE2//XbRFh/4M7kicC9/5Z40y2GGT/BFSwEDa4A/Sl2qAgQMLdPZ1652UeAT7Vj EdLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qcM9dvTfeCTJbhEUrIKMqC1z4KFnEQ6TX7lQgXfVTDE=; b=QGl5kX7vBz/bSmPhhBwavKu3hm5chZjRNWbdcPByGeVEqCr9cZe6zyj0kfLsGo8QhI 95DXObtT+5tkSRHRzOHoF8KCBp69xOpVz8vZCRJT2Na1MVyCoEsrwULYNBhLSopcmJIL l6YS5UIPQV4MMM9v2gYYS0q52IdGM/mhc3fD0h1NR3pRvMfuv7dEKz32UbmEvKcjapYg YLhoMdJIdDiXBuWQKtFPx/enDR53x4Bks2X2pBiaCPuhSMhvQDYQ/63Fu3jKDr+7TPBI crBQCktyyGGCrzjk1d7ZHHU46Dey4NtnTgftWAUOB7ET9shNHtMuHrtkKocfKZQL/f0r EoSg== X-Gm-Message-State: AIkVDXKboJfHGkXPMh3mc8t/D6Wd1wM/woMiAGAfEDTOUgc21f3Jn614vZwuKcjW6RohMA== X-Received: by 10.25.161.77 with SMTP id k74mr16676223lfe.157.1483363712427; Mon, 02 Jan 2017 05:28:32 -0800 (PST) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id d79sm15949239lfd.46.2017.01.02.05.28.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jan 2017 05:28:31 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Johannes Berg , linux-wireless@vger.kernel.org Cc: Martin Blumenstingl , Felix Fietkau , Arend van Spriel , Arnd Bergmann , devicetree@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH V2 2/3] dt-bindings: document common IEEE 802.11 frequency limit property Date: Mon, 2 Jan 2017 14:27:46 +0100 Message-Id: <20170102132747.3491-2-zajec5@gmail.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20170102132747.3491-1-zajec5@gmail.com> References: <20170102132747.3491-1-zajec5@gmail.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki This new file should be used for properties that apply to all wireless devices. Signed-off-by: Rafał Miłecki --- V2: Switch to a single ieee80211-freq-limit property that allows specifying *multiple* ranges. This resolves problem with more complex rules as pointed by Felx. Make description implementation agnostic as pointed by Arend. Rename node to wifi as suggested by Martin. --- .../devicetree/bindings/net/wireless/ieee80211.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/ieee80211.txt diff --git a/Documentation/devicetree/bindings/net/wireless/ieee80211.txt b/Documentation/devicetree/bindings/net/wireless/ieee80211.txt new file mode 100644 index 0000000..658c721 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/ieee80211.txt @@ -0,0 +1,18 @@ +Common IEEE 802.11 properties + +This provides documentation of common properties that are valid for all wireless +devices. + +Optional properties: + - ieee80211-freq-limit : list of supported frequency ranges in KHz + +Example: + +pcie@0,0 { + reg = <0x0000 0 0 0 0>; + wifi@0,0 { + reg = <0x0000 0 0 0 0>; + ieee80211-freq-limit = <2402000 2432000>, + <2432000 2462000>; + }; +};