From patchwork Sun Aug 11 15:17:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13759765 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 67220C3DA4A for ; Sun, 11 Aug 2024 15:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=nOrrFPO2+Eu1RsdiiDnsQDZT+Eoua4cGMzFbuz7CsgI=; b=XrN615iPuLJhTscS8s10bYHR5A yV8bK3WZ99tzlOGx/qTxGwLfiWq2wFwGVHJ/gOA3JgWFVGFOgClnNGGa0FUmx8oIDH3Ht4bnM6YGU hetySDNrShvlA0VjrSrseBwADUau+slPAXEr7KXd8c3dnI/wG85/sP30atC1DviX539NOoE7MGoWu M7nwGgrFMv5DgXw2O/O98wI4dtclOU1YjEi8VJutvGvI8flXR7YbccyYgFXXNpZ7R6+qrtcsUu/BO wsjLbby2X9VS7fAl+iEBolVrl4CziVR4ri/Wa/qWQWVNIfB7KMPFtis42AhSwQwR8riq0IgFbFfSJ bChMkY+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdAKs-0000000FjCx-01Ee; Sun, 11 Aug 2024 15:18:22 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdAKH-0000000Fj7F-1AZ5 for linux-arm-kernel@lists.infradead.org; Sun, 11 Aug 2024 15:17:46 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5a156556fb4so4153612a12.3 for ; Sun, 11 Aug 2024 08:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723389462; x=1723994262; 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=nOrrFPO2+Eu1RsdiiDnsQDZT+Eoua4cGMzFbuz7CsgI=; b=p4QYXQxCsJ9mJu3c2n59mW57eazNqU4rN64/JS4RvnF+yluvdB3Q7kzPzXOQ+oRCuQ NfN0NT1NcV5/s+HXw7x1Cnz3eJfrFhsIN4IVmQPOUYFEizOm7B9+VDkEbQTd3bKG1S0i YAhoDMQusFClkJz3qtQwdp5dKd/NrwL8kkZEZdWsQpoZsvxuMO2EsVDmTPETVrM+P+Ln 5OpfwJAIjypoe77DuYOUp3FG8EDR0ART4iadXhbEJXaTuU8oT1MCdOwGWg9sN7krljV1 1uWy4zsgkQFFFvIAhHJciFAQ62CMhsDUwvp9AyiQLQNkBMRmSV8vO0rHQcgK0XEQNid8 Xk2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723389462; x=1723994262; 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=nOrrFPO2+Eu1RsdiiDnsQDZT+Eoua4cGMzFbuz7CsgI=; b=vdGNnTJlcA838izU7othkQ4CK6MhSNvRZ6pmQ60GzKIfAZvD0LXmP4/vCTSXahAkBa IfUTQJOPNmwOTiUKVFrbEX4z22I/CeECqHM6WINoazt9C0I6afQMB8E8lgO+1uZIvUh+ KnZp8hAcIOJOfEwU+r/ydE4ARF4gYuFIKGBu2UsaWq7Zh3ycRYHMGnkBgneMF9v+c2Ey PrSIvj3qGmRLfm/S2TTy2frYh9P0w1vD9Jtxie11yvNRdaSb+T7YZixZcTLpubBCxZwq wmL0ynq93Fjk668LaLM2/6QJ3bXjSpCkYP9u1Fov/9muenEgDruPxmEFdK/16FYn6Vyh GskA== X-Forwarded-Encrypted: i=1; AJvYcCWbY9I6ce5Hy8K062Cv2M/xrTKE0B/VLB5UVBVxONc0xb08KKVveAvYsDZTnuM28iHRC5Bjo/1J/fzyQt7qw6w9pUxhe/kALfTJCkiLVqU00m8W4Kk= X-Gm-Message-State: AOJu0YyCfRIheeU4/PAoq6vxa8lfUNgdAjrSseaSMAxsAWdORlN7byCj 95h6JjXFVUyhNOST3NCcG5QRY4xdxhfXIQdlaS0ZLja8DA+TIVC3RxyyoqR5R5A= X-Google-Smtp-Source: AGHT+IFMkuh2pshcMEllN4JDzZBehDboH1YV/ev7+K4CsgIw5JNm3uxhpSKfKT45jnx67W0QXEExTw== X-Received: by 2002:a17:907:6d11:b0:a7d:3672:a594 with SMTP id a640c23a62f3a-a80aa67acbamr477098766b.61.1723389462194; Sun, 11 Aug 2024 08:17:42 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80bb0904f5sm157030666b.18.2024.08.11.08.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Aug 2024 08:17:41 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Fabrice Gasnier , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: nvmem: st,stm32-romem: add missing "unevaluatedProperties" on child nodes Date: Sun, 11 Aug 2024 17:17:37 +0200 Message-ID: <20240811151737.106194-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240811_081745_358273_304DFA3B X-CRM114-Status: UNSURE ( 8.37 ) 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 All nodes need an explicit additionalProperties or unevaluatedProperties unless a $ref has one that's false. Fixing this for STM32 Factory-programmed data binding needs referencing fixed layout schema for children. Add reference to the NVMEM deprecated cells for the schema to be complete. This fixes dt_binding_check warning: st,stm32-romem.yaml: ^.*@[0-9a-f]+$: Missing additionalProperties/unevaluatedProperties constraint Signed-off-by: Krzysztof Kozlowski Acked-by: Conor Dooley --- Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml index 92bfe25f0571..3b2aa605a551 100644 --- a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml +++ b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml @@ -17,6 +17,7 @@ maintainers: allOf: - $ref: nvmem.yaml# + - $ref: nvmem-deprecated-cells.yaml# properties: compatible: @@ -32,6 +33,8 @@ properties: patternProperties: "^.*@[0-9a-f]+$": type: object + $ref: layouts/fixed-cell.yaml + unevaluatedProperties: false properties: st,non-secure-otp: