From patchwork Thu Dec 7 10:16:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13483093 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 6942DC4167B for ; Thu, 7 Dec 2023 10:17:41 +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=znUgxIKZGlp4XYoFs0gmaJ7tGf6Qg4PraVj4EB6dKHg=; b=F/knDJT6z+DGaS nluX+LlFc+q2XeyRpgNPmwFoGGdwxHI3m9Vgj7in6mDkyNqHvp4f7j/3RNPbZCTqXUqWhHiAVU8K7 KAy5DJC9rhSYDGvqEXXCjpfDCvvK2iMeckaSxHGEe4DCphS45eQGXQUCO6IvWEHvEYHSkd0J6Ld+o 9uHWbibH2U5iWeM+wp8YN3pTi5+6xMpHd2mEyeuJ6valf7JEK6/pSS2lBhddCPzwa2L5pYT4uPfmg ZNpYGU3omRzhmvBawnEpFfTHRQ5g8TPI4CjkeFFdOUaaRtNb1ZeyCxlrY+oi+aNE+OMdHkj8CozFo /EVXX++H/YeaSwBiTiUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBBRR-00CSZN-03; Thu, 07 Dec 2023 10:17:13 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBBRN-00CSYu-1r for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 10:17:11 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-6ce6f4d3dafso183851b3a.0 for ; Thu, 07 Dec 2023 02:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701944228; x=1702549028; 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=b2I9/0XL0ViHhlrdNPuqjeyQxvqUWfeYLyYr4dBqwyo=; b=YPXUrluQtERCoJL/e3e3saXb1yg41HnJfnR2OkF8XAw0TD4jKgdAmNOYOIiSuN6NaY 9ZLOegzJ94wX3GRV0JwTqV93MaWcCnKYrnaHltRob28MmiZBLFDrqq69FFqLEZMNyuT7 2sb4v1ijQroLtM2It/I+As1M+CI//31Uaf07WAb+yclErUjbE71HtAz1kz2tvw+FYgOn LtlVHqrJWIXgvamrQbR8xQf/VlXgPYBb1o+DlX9R9zuA60wIyD/4rLVwfXiAfxNIL417 T8Qdvrz4KprZAhzVSjV4DjdJDbOz8Tm8wylgwzBXsPftzfKFlgCCWktQhFbcytRGDGHz bUsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701944228; x=1702549028; 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=b2I9/0XL0ViHhlrdNPuqjeyQxvqUWfeYLyYr4dBqwyo=; b=Fnl4RLYWgx72Wo/6HKLbUR7w1/15mhvRn80M17wcO67QVfFZBqRvvQwcrNkKCLHQzU JgybEffQWWpa35YGyV2pRFZisbpb80YE3OP67a5e1nDn7d/6NFKA5NXJTpLked5chHCA PJWWyjEQ/sl53gtPDQaa/VdnBkdaH/NjOSyQs0vg8SgPdBSJK1jXBOkG5xCLfysh4GJZ 6hAf2PxgYoRqeOiDkbzVf/4JaVgN2s4rtBMj5k6zRLlviA057i7hwiE6cMT+IkXl0sLG h4XZ0m4857IkznaPjqjgELDP+xj5FpS96JKhw3B5Lhfv8bv09mr7e1l6tgTvrDha/xYA 9K4g== X-Gm-Message-State: AOJu0YzTES7veZdTM4D1aVmTRlpr5CpSUdH/2enMnP5HlJHmPa7+AZWm aGnpJZia+JGhXfIpVfhDkdo= X-Google-Smtp-Source: AGHT+IF5+6fe+3qe0hS/QYxMjC4XGS/7n0ksGDgezoqivyqpXVQ4wW3coDZoAPZEplJIFh6LbwhLYw== X-Received: by 2002:a05:6a00:2d1b:b0:6ce:4c49:58e4 with SMTP id fa27-20020a056a002d1b00b006ce4c4958e4mr4727573pfb.0.1701944228381; Thu, 07 Dec 2023 02:17:08 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:492a:db3d:eb42:de92]) by smtp.gmail.com with ESMTPSA id h15-20020a056a00218f00b006cb884c0362sm929143pfi.87.2023.12.07.02.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 02:17:07 -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 , Conor Dooley Subject: [PATCH v3] dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp Date: Thu, 7 Dec 2023 07:16:59 -0300 Message-Id: <20231207101659.2496154-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_021709_614669_DBE9A6CD X-CRM114-Status: UNSURE ( 9.18 ) 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 Acked-by: Conor Dooley --- Changes since v2: - Added Conor's Acked-by tag. 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>;