From patchwork Mon Jan 23 15:12:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13112511 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71EA7C54EAA for ; Mon, 23 Jan 2023 16:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uCyo9Kz/jWYYql1Kpdv14NBnxszzsoyAxxGg29Cdbhg=; b=R/IPUm5+MXgYo5 PrGxugpXnmqxRrxSDyaHLVDFg6uZK68Cg2iBysyJyIYe6ZNxjps89gCo019296sG/DpQJoSsFz+uO NdtGX4U6Woc3zlVpfLQ2AFeHDE1Okj2iQVqUXFpzVg9HZFpItgE90pr9XzBHDCdaRvFqav2CSXHN8 ms1jYlRMwbfc7DrDd2TNxuuUVcmqSp7i5kRnalUtfG3B1sc1SMpe2A2eXhrKC6i7XQ+IxO8FHdNYS 9VxjjXZBR+rJcvYC4SYzjK0DGD8eMNQsQBUgkF5oup+IAOGszC0SNuezwyZoN2IHFReuFU9hmHJxA F1JJHli3KOkO56aDhHBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJzZf-000VKJ-EW; Mon, 23 Jan 2023 16:21:36 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJzHQ-000Oqv-M4 for linux-arm-kernel@bombadil.infradead.org; Mon, 23 Jan 2023 16:02:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=b5LLyL4NM9RFy872x3bTzHa5dSLMasbi37/mYNx6DCA=; b=la7zdeoOEirTN3JVOg2OX3wjI+ V8daxDboi0xEwKy7Fl8d3SNfEhBJwI4c5Bp8pZ3K21wptk6Td4YLOUTYG588Z6E54qqM7nUkDG6Td /wkfXQkMkAOJpGpjUuwJ+lsrJOSh58xvzeNOV5ks9W5uZ8oAbcbvSFf58YILy2px28CI6vC15N04f abZxsTiOlE5cRIVyPbcC+LJuhCW6J+rTs7XNFIyZrabbxBlKaiR8e6L72eZRrISc9IoxCYQRjArOt cBaMyvkcfpK8B0IwoMd0UPVHnO4ulMOS5/zbtq7MxSPUoJk6DqjrNcB9MQrrHLimAgfeW5906ecmv Ul7bmAjw==; Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pJyV8-001ZDJ-2w for linux-arm-kernel@lists.infradead.org; Mon, 23 Jan 2023 15:12:53 +0000 Received: by mail-wr1-x431.google.com with SMTP id d14so7435703wrr.9 for ; Mon, 23 Jan 2023 07:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b5LLyL4NM9RFy872x3bTzHa5dSLMasbi37/mYNx6DCA=; b=YNHH8XRTX/01S31iQXYst52wcTTzbNbPtyQX8SbuGG5qAnPY1IAqJCxowByc5NAiIj EVn8g39hWWoxqwFSvp+seTBUawYQXnNdYFG80ce8+U59d80Q9psruK3xc4Ch80Q9YQ2K 7nLXo8JaD+hoq87mrhJnw9b9r2JkD5hpoExRj3QchU725f9quBfOmlP3QFCp1yrmlIh+ yN0fT+2BIch3oSwCfldxTIrUFhydcgT/dWrzIQtWy5fZU5RDfkbqSugyevH04iBrUfo4 KkH+FZ5UVdtouXOh29sg6LYwdfy4Y6E8tyFQT+bxnvnvq0tiMvWZprOXXi1+E/vda0cB kxKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b5LLyL4NM9RFy872x3bTzHa5dSLMasbi37/mYNx6DCA=; b=aDl1aEj9U4yK/Ww5PHDEMMTxX6awpks+LVjy9NqVxdfaXnmQcZ/Y1Pakly9ApnK0sQ 2WNLHUhRfY6I7sRCCbp0NGvjinJl0ayCM2O1E84NvKELoqC4RTzoHCLc5FYW8J7OzQoC tATsTOkuY2ZKPZm93yNsbintQ+1pnNRGU1tx6WRKImzy/d8gBNu6HVbYc6T/cvlw9Qrx iV1Kooy3PHmePqbhDtax6xFd25uyphcYvNZ+oBRaFfI3seE6LFAyPlh7IWEmT2y2CL7A aMagnliaIEYfVGF06Owl46mbkD0KFW1I/zWrfJ2pxlivI7vdpUUt5JfUFlMT30uLC+h6 XZAg== X-Gm-Message-State: AFqh2kqwUM8M2H0TO9YrxkDR0a/oXBl3hZwEiWHlkuGW3CBhf2MrmDvK K5dH1DQpCSoZB+zWKcB6yHVzqQ== X-Google-Smtp-Source: AMrXdXsQsitf8BzeJXaPtKrY+OeCwfG0Ax0tXdx3cyfdOVAR+FOLMjW3bN2wF/BNgF4woch/VT2ctg== X-Received: by 2002:adf:ce90:0:b0:2bb:edc7:504 with SMTP id r16-20020adfce90000000b002bbedc70504mr23324176wrn.26.1674486798260; Mon, 23 Jan 2023 07:13:18 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id n1-20020a5d67c1000000b002bc7f64efa3sm34737922wrw.29.2023.01.23.07.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 07:13:17 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Palmer Dabbelt , Paul Walmsley , Maxime Coquelin , Alexandre Torgue , Lubomir Rintel , - , Vignesh Raghavendra , Michal Simek , Chester Lin , Fugang Duan , Magnus Damm , Geert Uytterhoeven , Pragnesh Patel , Le Ray , Peter Korsgaard , Tomer Maimon , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Cc: Krzysztof Kozlowski Subject: [PATCH 04/13] dt-bindings: serial: correct ref to serial.yaml Date: Mon, 23 Jan 2023 16:12:53 +0100 Message-Id: <20230123151302.368277-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230123151302.368277-1-krzysztof.kozlowski@linaro.org> References: <20230123151302.368277-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230123_151251_286146_77CE3C66 X-CRM114-Status: GOOD ( 12.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The serial bindings should reference the local (in kernel) serial.yaml, not the /schemas/serial.yaml. The latter comes from dtschema package and is a small subset of serial bindings. Usage of the local serial.yaml allows typical properties and children: xilinx/avnet-ultra96-rev1.dtb: serial@ff000000: Unevaluated properties are not allowed ('bluetooth' were unexpected) Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/serial/cdns,uart.yaml | 2 +- Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml index 876b8cf1cafb..0c118d5336cc 100644 --- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml +++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml @@ -10,7 +10,7 @@ maintainers: - Michal Simek allOf: - - $ref: /schemas/serial.yaml# + - $ref: serial.yaml# properties: compatible: diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml index 2f4390e8d4e8..6f65e9a81c29 100644 --- a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml +++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml @@ -63,7 +63,7 @@ required: - xlnx,use-parity allOf: - - $ref: /schemas/serial.yaml# + - $ref: serial.yaml# - if: properties: xlnx,use-parity: