From patchwork Fri Oct 13 14:19:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 152592 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1927723vqb; Fri, 13 Oct 2023 07:19:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHyIbkGKO/ll+MK/u7pbgaVqGUDHQ2x+Vk3OVN6qjai0fccPXl94kjgLevtVWMeXDqk6J3B X-Received: by 2002:a17:90b:1d87:b0:27d:2261:73e4 with SMTP id pf7-20020a17090b1d8700b0027d226173e4mr4320467pjb.2.1697206797318; Fri, 13 Oct 2023 07:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697206797; cv=none; d=google.com; s=arc-20160816; b=jSfqLxkAvI9hHHRP1scDL8/DI6ctMvnzKXng6MUpPKKRZaLJfy/i3KmsZZ2YR3TMdm QWwFU6hVKZYGTPRCBVG8YEF6IDTX/2BapJgmoBKXnrSEvVo+Rmb5cDsAFoFCKdnqFIRy s68IZLdaZKorTWZxRZccW3ITr9PbPZetyw6ckYCZnb2BHgEsR0JOr+JQTTUJo+978dlG E5bqvf3e30vik+SFsXPRcG0+Jhf+sn3TR/uiZ58i1MpGty1UeUT/h/zxFdzwhPqgpQqX bldC0wqaL8VvU8x3hEmwBNLlzC5X5YB0hB7hceLbDUJJjlnBCKRZ3MKUCsJgGOgxSbIh q11g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from:dkim-signature; bh=9wNEH2MA8M1s/Qr4YPOBRw250B9hQqRc12JjWQy+lKU=; fh=VMCZnIQaCU4pkoBwVmskDKaTUsCNxL1ek+dzim0+uzY=; b=SgP9lekS/FSPlnxqtvv21Lo8rnZTFzhI+Jzbvw63ocuPskAxxJzOb11EVji+zhuyYZ vkluZjk5cEHSvoqbhxi5dLIsYMF5FqBqYD8nq7tXVgYmE+pREnTq3AJLVTUKypBtUrXQ 9kLqwxp4Xta6miujyjE49tcDHN3F80BXj7t7RPJYEoPF+Qy0eVN4lAFNbfbykBrH5HdN Dfrmepbe8psgk9hPR9CHv+xBuDNtTdsm1n+idYQv26QDNcDhB03B77IciMwHjr/e3kGY EsXsPp4WWjHgMscqihc1UjhGulgLydDyM+qgIAi/OuPScZnKWHtKJxQ5ZMul8pk+ZbwJ DJ+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=KjFBWQNB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i18-20020a17090ad35200b00268178130a2si163616pjx.60.2023.10.13.07.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 07:19:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=KjFBWQNB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B782981E5545; Fri, 13 Oct 2023 07:19:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232109AbjJMOTf (ORCPT + 19 others); Fri, 13 Oct 2023 10:19:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232024AbjJMOTe (ORCPT ); Fri, 13 Oct 2023 10:19:34 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E2F2BB; Fri, 13 Oct 2023 07:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=9wNEH2MA8M1s/Qr4YPOBRw250B9hQqRc12JjWQy+lKU=; b=KjFBWQNB7Dh3C35ghq7bBGStTl liPjFDolBJLU3aLnlbT1hWCjm2f79tkHfQk6Lb4LvLp579iML++RpV0kEiEixAYJ319qtYVDLJlmD rDh2vHfYNWGMdHhQbTBAhq3fr9gh4/faUPlHDgMws1fQWHbI8xvoJcvC4bA6EL5gAuDM=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:40430 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qrJ0j-0005Ve-8e; Fri, 13 Oct 2023 10:19:29 -0400 From: Hugo Villeneuve To: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, hvilleneuve@dimonoff.com Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, hugo@hugovil.com Date: Fri, 13 Oct 2023 10:19:24 -0400 Message-Id: <20231013141925.3427158-2-hugo@hugovil.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231013141925.3427158-1-hugo@hugovil.com> References: <20231013141925.3427158-1-hugo@hugovil.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Subject: [PATCH 1/2] dt-bindings: serial: sc16is7xx: move 'allOf' block after 'required' X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 13 Oct 2023 07:19:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779650314201968235 X-GMAIL-MSGID: 1779650314201968235 From: Hugo Villeneuve The 'allOf' block should go after the 'required' block according to DT bindings best practices. Signed-off-by: Hugo Villeneuve Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/serial/nxp,sc16is7xx.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml index 207dae3d0ffa..5dec15b7e7c3 100644 --- a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml +++ b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml @@ -70,16 +70,16 @@ properties: minimum: 0 maximum: 1 -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - $ref: /schemas/serial/serial.yaml# - - $ref: /schemas/serial/rs485.yaml# - required: - compatible - reg - interrupts +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: /schemas/serial/serial.yaml# + - $ref: /schemas/serial/rs485.yaml# + oneOf: - required: - clocks