From patchwork Fri Feb 3 13:56:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 52540 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp869067wrn; Fri, 3 Feb 2023 06:29:15 -0800 (PST) X-Google-Smtp-Source: AK7set/J0zfs/wvInfrKqMuwO+5x4Bl73mH2pRDTki/P5v0hcpplbCFE7AX16q9H4SeiC6ld4785 X-Received: by 2002:a05:6a20:6709:b0:bd:b81:2bc3 with SMTP id q9-20020a056a20670900b000bd0b812bc3mr9346867pzh.2.1675434555211; Fri, 03 Feb 2023 06:29:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675434555; cv=none; d=google.com; s=arc-20160816; b=n73yQzNoGop3CBtAhQwkPAb6IQQir8Y+tpXf1DE+N8TXR8zKVIuATIJZCjg6Iva/Wy ZwqgCHaQ2pAEyo9cnulCci7jUYbw5kopjlbQ918Ps12ik48wZ8jwnu+21IlYB1jJlFI7 40ntRfY119KrIZqq3QRnDRxOnvvsDBm18NNVxMMhAMFHQmaZOWjJxpzQnheC+kqV1HRJ haz+arbXOKAyJB9sj0UHnhydNqnEkWqyMmz+qiLY+hEt4ITy78JHfa92kgUh5cEAaPZa ufT1FlLKymZcOjFct/ZFxCDzrkJx2qmBHYzF+MVO+P9d/ERdQMIzhjqyGqTV0JRDnsT7 bWPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=qqXFGzVon5wX6q6W/owxvV1+CN/rkxPVU/Cw2WnwhTg=; b=PimWjtrZiGdHo434QdBt/rc17LFXLglwr/2oAGXdUqnAcqnrCtekl37P61KZd05tUt 2qRREBPueSV9vSPeumj/TJERe9SnWiqUyXet1fB1cJPEwDaIaGJvjNv9hehyTKtr/6JD jby1YB+pMGTBJwFqREP+13ZPp/o6rP/gqCRxsSniJNuAlGiXspn5hqtA51k2jImSYsRL LrKZVatRr4sNmz9zN2OCP7afzzv2519nbHFUMNRouXlT6rlj3hd27AyTf5w6IlfSn5uU NQbZv/Ry1e/l2zhw+ZO1zWmGHnk0w8YPfOPGtxrDIZybiiLguKUwSYr626KWO/za9nWQ E+Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w14-20020a637b0e000000b004789ac3a1acsi3011256pgc.207.2023.02.03.06.29.01; Fri, 03 Feb 2023 06:29:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232580AbjBCOZs (ORCPT + 99 others); Fri, 3 Feb 2023 09:25:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbjBCOZq (ORCPT ); Fri, 3 Feb 2023 09:25:46 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4072C6278D; Fri, 3 Feb 2023 06:25:45 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 0133826F704; Fri, 3 Feb 2023 14:56:33 +0100 (CET) From: Janne Grunau Date: Fri, 03 Feb 2023 14:56:27 +0100 Subject: [PATCH RFC 2/3] dt-bindings: wireless: bcm4329-fmac: Use network-class.yaml schema MIME-Version: 1.0 Message-Id: <20230203-dt-bindings-network-class-v1-2-452e0375200d@jannau.net> References: <20230203-dt-bindings-network-class-v1-0-452e0375200d@jannau.net> In-Reply-To: <20230203-dt-bindings-network-class-v1-0-452e0375200d@jannau.net> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Mailing List , Kalle Valo , van Spriel , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, Janne Grunau X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1073; i=j@jannau.net; h=from:subject:message-id; bh=hIczjgZ3j0WKhMWdXkOeVhlbmC36N4y+R9jOPHgn32g=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuS7QhO4fPPWehkeKeScrxe+LtBjz/xSpw/ZS/7fyJIP6 rNcGMndUcrCIMbBICumyJKk/bKDYXWNYkztgzCYOaxMIEMYuDgFYCJtBxkZWhfvzUtOlPz4+q9J sPry1dJtP3IE9N5Ilc+uuLbQ4BvnWqAKteccIQb28jst3shlHDpWfULjPjcvv/89fg9Hl97GH1w A X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756820464179475957?= X-GMAIL-MSGID: =?utf-8?q?1756820464179475957?= The network-class schema specifies local-mac-address as used in the bcm4329-fmac device nodes of Apple silicon devices (arch/arm64/boot/dts/apple). Fixes `make dtbs_check` for those devices. Signed-off-by: Janne Grunau --- .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml index fec1cc9b9a08..55b0a21acb96 100644 --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml @@ -116,11 +116,14 @@ properties: NVRAM. This would normally be filled in by the bootloader from platform configuration data. +allOf: + - $ref: /schemas/net/network-class.yaml# + required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |