From patchwork Thu Dec 7 10:03:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13483089 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 2B28FC4167B for ; Thu, 7 Dec 2023 10:03:44 +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: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:In-Reply-To:References: List-Owner; bh=0CVwafpjLa6G7GCXdKCAkIm21oVw9seaJAi0FtCHu1A=; b=3wEs45JL+hAHRT t9tWpdAaigfVtyhXDSeA1TdMlIvyPdzYIaKmRWG5An0T2JCbtn1gtsreKxiQM/tXPzKtlAhlo+p0U lkMqMtbHCMkFwluT31UVjgZjAA8jwl2iIvW+nQGBAQC0VGQC7UgvU/r5Ib8CX4pKJ7xjMQ4dZQaZ7 /4r4RUe4/54T5npP34LkcTJLsjsn1LPSa8QBdno6IZDkOIMJ+6ysSNMbyRzHy/XJReXMNgMxM+3V5 3/plQBXs3ddNRyHYagC8RhyXAIWHq8zRxTxVcRnvdTb7igwpLaHHsK9doUtAtrwekWaNq5gTD5t/v 4i0uTBvyPqrjZemj/N6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBBDx-00CQhD-1E; Thu, 07 Dec 2023 10:03:17 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBBDu-00CQgD-1v for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 10:03:16 +0000 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3b8bbc9904cso107630b6e.0 for ; Thu, 07 Dec 2023 02:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701943393; x=1702548193; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=a/6NKxYPfPBd6UjlWEZ+IDHt+KKqu6eYK0FQHf+KHN4=; b=A4gNHCIU10Su5jtD2sneS/FoAJ+uxTNOF6q5rr4T/lI95hBYLl50MP/JZuhPf7d5MU DHmswwd7qyyV8LVyCXJII/mXvg3ISu3zNKo0QOpbWGWffK8di2nG7EhAQ/bTSkVRmk75 gj7XQySh1ohRCiJrjHyd1B/1s8lCTRa9Fkd7uHvb0ZmI8NLp8Gy/9pwW226XXeUHjXg8 dbfsleazGyAQp08+MzzVss5RL4eYyHfv2JLe3nqsy03NZy5SNQOzbhV/d7fH2q0Vbjce oI7qIFPF6gbVvDNNLrStpBwaox2jcgIekgt5TwfSzskDq6Z775jkhGwBSQKjC4pM+8mW 966A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701943393; x=1702548193; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a/6NKxYPfPBd6UjlWEZ+IDHt+KKqu6eYK0FQHf+KHN4=; b=wbZb6qKVTYeA4AyyEaIKkNi/nfDwhK9w62v75vna0dQ+Uyma7ZvWJ4m8Rn+FyYcgfI dJHUBXWSjnWwyoXAWOcCgzNwY1chP7RSJPRZg7+d28ldoTFvGrQwjdFQG0WhEx07ra2h CVtdr0ED/gTbR8bg65M7G41XXgnDUj1wsN9DYcRjy/zSDvTlu/h0iuRxr6gKGe0UImDi n0zojpS10XwmIwWkPlPayRGAzkNFywLFerXI1MQNU9E9pgPU+I+kibLN+a0CngzzM+6J nx+vfignZ/3CNHXQg3CiWOI6ymt9lEKieYk4v/M+yFX1K+IfGKfBU5AEOD2mejfdOxLF ACow== X-Gm-Message-State: AOJu0Yw9YTpveDEoH/9azxKnJNXlendmmTF7zLEWrFI7thYBCoCnmOGF OhBhcQFvppSTqd22uwKJMUE= X-Google-Smtp-Source: AGHT+IEyIEl4zWGvugAdqRQLKUaF7IeMFFhcBz2gO3aAaRaaqJ5WQxPoSEUK1IZOkgBs7R91kOaYNg== X-Received: by 2002:a05:6358:5925:b0:16e:b5d:43ce with SMTP id g37-20020a056358592500b0016e0b5d43cemr5036859rwf.0.1701943393073; Thu, 07 Dec 2023 02:03:13 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:492a:db3d:eb42:de92]) by smtp.gmail.com with ESMTPSA id t8-20020a63b708000000b005b4b70738e5sm781385pgf.8.2023.12.07.02.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 02:03:12 -0800 (PST) From: Fabio Estevam To: srinivas.kandagatla@linaro.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH RESEND v2] dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp Date: Thu, 7 Dec 2023 07:03:06 -0300 Message-Id: <20231207100306.2492505-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_020314_635468_B0D76200 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. 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 From: Fabio Estevam Both imx23.dtsi and imx28.dtsi describe the OCOTP nodes in the format: compatible = "fsl,imx28-ocotp", "fsl,ocotp"; Document the "fsl,ocotp" entry to fix the following schema warning: efuse@8002c000: compatible: ['fsl,imx23-ocotp', 'fsl,ocotp'] is too long from schema $id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml# Fixes: 2c504460f502 ("dt-bindings: nvmem: Convert MXS OCOTP to json-schema") Signed-off-by: Fabio Estevam --- Resending it as it was sent two months ago and it was still not applied. Changes since v1: - Added Fixes tag. (Conor) Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml index f43186f98607..d9287be89877 100644 --- a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml +++ b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml @@ -15,9 +15,11 @@ allOf: properties: compatible: - enum: - - fsl,imx23-ocotp - - fsl,imx28-ocotp + items: + - enum: + - fsl,imx23-ocotp + - fsl,imx28-ocotp + - const: fsl,ocotp reg: maxItems: 1 @@ -35,7 +37,7 @@ unevaluatedProperties: false examples: - | ocotp: efuse@8002c000 { - compatible = "fsl,imx28-ocotp"; + compatible = "fsl,imx28-ocotp", "fsl,ocotp"; #address-cells = <1>; #size-cells = <1>; reg = <0x8002c000 0x2000>;