From patchwork Wed Jun 14 12:32:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonard_G=C3=B6hrs?= X-Patchwork-Id: 107950 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1234496vqr; Wed, 14 Jun 2023 06:06:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pCt9nU07u4B982h0JR2AfWDK14o+tDzKzxq9NNQOKP9IH/UQ7TD6KWGA1K8MdgrK5Xv3u X-Received: by 2002:a17:907:25ca:b0:94e:4489:f24d with SMTP id ae10-20020a17090725ca00b0094e4489f24dmr14252042ejc.61.1686747966818; Wed, 14 Jun 2023 06:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686747966; cv=none; d=google.com; s=arc-20160816; b=wY9opX0JqCRSfh4ooFf614ppHnFs5Svj1Z0RuM1q62IQdczk97DTi1393dnO+JVf8R q1gmjCGcmFgQrwouobZeC+wVc8I44e4jiAU4rd/T+C93kt5UMCIfvbbBeg9R8puZKgZi Nkd0rknH2uwBSJlWJeVN1Ko5xL8ByIuBE61RQJrY035GN53VLZBwl1PCmSqomQfL/E5B xVbV4k7jcPUeNFT+QcttIpKcoBQ5s3+CHfXi0Ro1c180xncKiSL7eSCRnB59n1Z4iXVX 32vMZFWXJhooO8uJaFz3qex8gGGOBb4BjPmzKrqPoRlgxZZk2DZBqVHDjmPg0zCEY4wZ 2yzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6GNoax1IMqtRoei0wQKI70EdstPiIccV8xhRxxtkiFs=; b=VBifM+Qqoal7VhT+oyH9l/hM29CgiVLfia6hFOhRSvHxuJMYNGXG8oNth0LZZCfR+c Xj3XjYbpyfZuglwS+5uqct2Zt87PV1L7upuEwH8AKYEvoCSRV1PNBnl7RYGNyUnllIaJ UiZCtbjhWrPmHhrK9MS1D9UHSWjBzdAtRdUQXqTaSR0lw3CstbEPCQLXrvMzzSB14jvE 3uoNDU1Heup/9h//u4Uk+Q2Dz9nMqXbC2T3bGzoX7/TGuqx16ZYhL2FmB93GFrxMBMMN yg6YuyiYWKTT2wInje8X4B+PrhuHePufdMY+ytaRy+T9suc6lc5gDv3POfIc5GBtg3xM 3qTw== 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 la8-20020a170906ad8800b009745635eee3si9435561ejb.143.2023.06.14.06.04.49; Wed, 14 Jun 2023 06:06:06 -0700 (PDT) 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 S244666AbjFNMeF (ORCPT + 99 others); Wed, 14 Jun 2023 08:34:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244377AbjFNMdo (ORCPT ); Wed, 14 Jun 2023 08:33:44 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 129962698 for ; Wed, 14 Jun 2023 05:33:25 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q9Pg9-00017X-S0; Wed, 14 Jun 2023 14:32:49 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q9Pg7-007LpW-60; Wed, 14 Jun 2023 14:32:47 +0200 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q9Pg6-00HUKF-CO; Wed, 14 Jun 2023 14:32:46 +0200 From: =?utf-8?q?Leonard_G=C3=B6hrs?= To: Conor Dooley , Rob Herring , Alexandre TORGUE , Krzysztof Kozlowski , Chandrasekar Ramakrishnan , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: kernel@pengutronix.de, =?utf-8?q?Leonard_G=C3=B6hrs?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties Date: Wed, 14 Jun 2023 14:32:18 +0200 Message-Id: <20230614123222.4167460-5-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230614123222.4167460-1-l.goehrs@pengutronix.de> References: <20230614123222.4167460-1-l.goehrs@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: lgo@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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?1768683436069169885?= X-GMAIL-MSGID: =?utf-8?q?1768683436069169885?= This allows the usage of properties like termination-gpios and termination-ohms, which are specified in can-controller.yaml but were previously not usable due to additionalProperties: false. Signed-off-by: Leonard Göhrs Suggested-by: Rob Herring Reviewed-by: Conor Dooley Acked-by: Rob Herring Reviewed-by: Chandrasekar Ramakrishnan --- Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml index 67879aab623b5..76c5024b6423e 100644 --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml @@ -128,7 +128,7 @@ required: - clock-names - bosch,mram-cfg -additionalProperties: false +unevaluatedProperties: false examples: - |