From patchwork Sun Feb 12 12:16:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 55908 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1886686wrn; Sun, 12 Feb 2023 04:43:49 -0800 (PST) X-Google-Smtp-Source: AK7set+slKdECv4OCh10TI5LbmMY5boE7FV+5s9WG0ng5oZx4PhSQ3f3WkCBMoEd8yS5rsnDNKBO X-Received: by 2002:a17:90b:190e:b0:231:1a74:60a7 with SMTP id mp14-20020a17090b190e00b002311a7460a7mr11144490pjb.11.1676205828877; Sun, 12 Feb 2023 04:43:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676205828; cv=none; d=google.com; s=arc-20160816; b=xz62YqPdRppZwsnZSuSNGOtEoIm8Fmfy2Y1qnZ7P+uoQnmpP+Ir6KGfB7vRvr8BE2g NGcW72yjktDu/2JZKrF8bm5WSptA0tpwtktisbx+i7eRnl4pZUbUOx/idUq0VgFq8AlQ /RAjzoP83TkY6k+yiEZGyGaiMjSpCoYFEkjAAXl1x+9HIUonBoDhPbyYqFHCM7YUMH96 ee2J2DHER2hDzfnvU/BDiQlr1BycVLhivFYqDFiYRChEGglGh9BFosbw0kHi1x97iAdm h9c/2dh4n31rT1TykX8YW4EnPS4JVpnrdahn7zOr3zJsHS2ts13X391DCQe9lB9Ceofc dkzQ== 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=wTHezoBXWX1K3aGf9fKLz6cxjFAUeKCqlDNUdJ/Y2E8=; b=SS/TsuVzyY3WxdfnaTz6wPLoL+7/0BD0K4xuXmF0i29RGC3mabAuSbA5is/hUQtb3n A4V0Y15mozTy5r7t3maXLnYrkiTRF/Aj2cRTnShcY+lvCBBqtlB5tIxLcprYq4uJfoEk 44W18I5niiCWMalakYJ/UDPs2Z9rCHRmt31St0+o0RBBcxw3riE2bRkR/1QKUBl/Ud3w rZyJLUpuxQ6ewn30iY8lU36noCAr1h8oPM3T5bgukwhBdhCJYkvrhp7aVFdMEjDokEpA 2CEvn5E7jGXcJxQi4KZcxM3YPnCBpWVBXlZ+V/CjVQ2sJfn/nZrxmMjQTbgs9CX0uobT lIxA== 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 k14-20020a637b4e000000b004fb924c6aefsi2417084pgn.243.2023.02.12.04.43.36; Sun, 12 Feb 2023 04:43:48 -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 S229619AbjBLMQl (ORCPT + 99 others); Sun, 12 Feb 2023 07:16:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjBLMQg (ORCPT ); Sun, 12 Feb 2023 07:16:36 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4638E10A9F; Sun, 12 Feb 2023 04:16:34 -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 A702E26F76E; Sun, 12 Feb 2023 13:16:32 +0100 (CET) From: Janne Grunau Date: Sun, 12 Feb 2023 13:16:31 +0100 Subject: [PATCH v2 3/4] dt-bindings: wireless: silabs,wfx: Use network-class.yaml MIME-Version: 1.0 Message-Id: <20230203-dt-bindings-network-class-v2-3-499686795073@jannau.net> References: <20230203-dt-bindings-network-class-v2-0-499686795073@jannau.net> In-Reply-To: <20230203-dt-bindings-network-class-v2-0-499686795073@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=?= , Dinh Nguyen , Ley Foon Tan , Chee Nouk Phoon 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=1118; i=j@jannau.net; h=from:subject:message-id; bh=ovshDuNDGC464wNETrmVoRhcUISyfcSallBxPCefdv4=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuQXN+alx3CxLI9rfcnzdlVo2Kd/120/62z43rp4tvDjA 9uXMd3i6ShlYRDjYJAVU2RJ0n7ZwbC6RjGm9kEYzBxWJpAhDFycAjCRKxcYGVo+Nn9T+74grP+U uoHg2Rdb37GsEXnLd2eN7dKEyIeLunUZ/in8fMH7j2dh5ZTtPd+P6uwXY5N/8N1Cu7LQfGfe9Lx 9elwA 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?1757629202991032970?= X-GMAIL-MSGID: =?utf-8?q?1757629202991032970?= Instead listing local-mac-address and mac-address properties, reference network-class.yaml schema. The schema brings in constraints for the property checked during `make dtbs_check`. Signed-off-by: Janne Grunau --- Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml b/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml index 583db5d42226..2ce50b57c096 100644 --- a/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml +++ b/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml @@ -72,15 +72,12 @@ properties: "Platform Data Set" in Silabs jargon). Default depends of "compatible" string. For "silabs,wf200", the default is 'wf200.pds'. - local-mac-address: true - - mac-address: true - required: - compatible - reg allOf: + - $ref: /schemas/net/network-class.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml# unevaluatedProperties: false