Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2063085pxy; Sat, 24 Apr 2021 04:09:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRmwMpUm5l1oKBXQomEpJKqhHypvlhdcrfWV3opCy1Q0sJmbLkrvgKuLSfQM6jHZ2fdzZf X-Received: by 2002:a65:4382:: with SMTP id m2mr8017323pgp.354.1619262560327; Sat, 24 Apr 2021 04:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619262560; cv=none; d=google.com; s=arc-20160816; b=thl78j1dWce4h6LafRg+bEezr2MYKvRTyHNbieWy7TC+uR1rQiWl+AVLz7C6H0R/Bu h6w5Ukm+QjLI5QYqL+9G94w9a2mjI58X2h+isclf2CKfwmRFgHozalZa/Fo8vTro9yXH 1MH5LsE5Ldcj45ql6W2sVjYsMV/z3lJnyo1rKLb5n1oBaR7+1bqxTmqO3gC4wAG4u8vl cwXgZTvnM8xdr7CMe078cZXFtm6Mj8biRYqTkZbR+OxUsDLxli0zrV60Yj23z0NG5qdn /wwGQVMr4fsOu7OIHbMIMcr00dz5SxpvcRz0IyfzQ85y89WBso75o9ROedBDUn5Ve8hb RbRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n2HvHI2OzHepSWAD3Mvat5NnUhX2ATOzMyqhqXyfREQ=; b=mxa5/MlKJf72prdFnvGShZKd5FL1914lelPnkK9YZDgnSYyi99nw/rBV4dzzt7rW9f Uf3Kx83jOyBpTGPpvIJjiyxHxNEdj444O1+ymFi4sOMb2dFUY4qfHplAaKaP159QPTYr uV3XZoIPScT6X9euHuA3+WrGAk4jKrmhXxgV//U0eF9Fwd4VgSy04ivGPebHUShG/slt 739Oc5x6Xr8en0G1bEhS4OKfut64VSL0SyHv1iYyAp9Ug2TYqYNHlr5AHwXInsTgPqwU Zdq2OliuER8YAwS6lQ5jWeYRT95BxiWkMA8w39amT9/816jnYGipgLgawMcIXVfYNzZJ uACg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=nlBxAQ0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si9775034pll.377.2021.04.24.04.09.07; Sat, 24 Apr 2021 04:09:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=nlBxAQ0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235023AbhDXLH3 (ORCPT + 99 others); Sat, 24 Apr 2021 07:07:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231892AbhDXLHB (ORCPT ); Sat, 24 Apr 2021 07:07:01 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01124C06175F; Sat, 24 Apr 2021 04:06:23 -0700 (PDT) Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 0A5F422258; Sat, 24 Apr 2021 13:06:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1619262381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n2HvHI2OzHepSWAD3Mvat5NnUhX2ATOzMyqhqXyfREQ=; b=nlBxAQ0FhgmYYH+3EsT77lH3EOCvdjNbfbbaKjCfKri4HAkJGyEmNUjg7HXhF6i5JH+/0h m/OiBe2Ft8mXzwCSp0dY0e4vsAvmYOKxnuLD6YHsxSJwJ1tjvDllJmQ6U5I5aL34gYhgpu VOW0kbrwDrEp07x7pOutFxAuFRt/WyY= From: Michael Walle To: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Srinivas Kandagatla , Michael Walle Subject: [PATCH v2 4/5] dt-bindings: mtd: spi-nor: add otp property Date: Sat, 24 Apr 2021 13:06:07 +0200 Message-Id: <20210424110608.15748-5-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210424110608.15748-1-michael@walle.cc> References: <20210424110608.15748-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SPI-NOR flashes may have OTP regions and have a nvmem binding. This binding is described in mtd.yaml. Signed-off-by: Michael Walle --- Changes since v1: - none Changes since RFC: - new patch Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 5e7e5349f9a1..ed590d7c6e37 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -9,6 +9,9 @@ title: SPI NOR flash ST M25Pxx (and similar) serial flash chips maintainers: - Rob Herring +allOf: + - $ref: "mtd.yaml#" + properties: compatible: oneOf: @@ -82,6 +85,9 @@ patternProperties: '^partition@': type: object + "^otp(-[0-9]+)?$": + type: object + additionalProperties: false examples: -- 2.20.1