From nobody Mon Apr 6 18:05:21 2026 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2D603F23A1 for ; Wed, 18 Mar 2026 19:36:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773862605; cv=none; b=Bgvx490mf1SYBXGk9AGf73Nqgmq+TdM/VHNHffn2idyM+Ozw4ChQD1MWF50FSjPUb8KSgg5FJZh/FCkKUwKqm4BRl+4q1H7ru/RnzJfxie2PMYx2TdGJWHsXc7CpjSCkPxqU6Zm8VQf+N98RKmgskIoRr6qAwa8XatTOAOUctJE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773862605; c=relaxed/simple; bh=7+ZcBYjBKH1KNVjotBv5PHlvugP3RNddvC4qDfJSPmA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cnCWF16D564xG4J7n4S7gAjr3yKMi6rdhsLY4bORZPNkYKogRzSEutinewCYh07IrA4Ku9CiOA0Cfiq9TFvauCTegIkb2l6SwSYHIrt4P7I15BP+vkPAhYMKygzGjrpC8iqdOBkQRyU1dgNJXaRdBT7XHmXAOkV3vDfiWC7Aktc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iGL9RlFc; arc=none smtp.client-ip=209.85.216.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iGL9RlFc" Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-35b97ed057cso189587a91.1 for ; Wed, 18 Mar 2026 12:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773862603; x=1774467403; darn=vger.kernel.org; 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=Jo0ZToIHOtReIqQmFtNomh9r/Dahbu+dh8b0PXJD3YI=; b=iGL9RlFc5EuWyzjpoDerPkVe3SFKVgFISiggNyUsSKUZeDi5WVM18KrO9VqxLuVJQw aHUyAwQNa7VR/3RGb+9euqBYb+h48FdZJNijPNIPlE6kLgCCtSmd1WAF84xVx1Ukd6dt CVAbarbKu6jqdRCZ03YGYf1jN0EZLBRSz7in5zcXvgoNbIUZ0/H1Keo7FE7PmK7WlXPY yvGzDnUaS2LCwGBVGuPWQAEEdx63aN7mmdH9LRTW+R3fXfKqjqtjEyhoifw0GWv4CmUE lMhwHjvySrqrbaPuRxfRh5t0coecRA+POCGoUzLN8Y0nFCxqSqjVIeJhfyzyOoy3B2kR KQFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773862603; x=1774467403; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Jo0ZToIHOtReIqQmFtNomh9r/Dahbu+dh8b0PXJD3YI=; b=O3inVIZL/GgbmLYj8a8HRq40bqsdQ/dzqGJcJRZSZIPkCMKE9qfpFP5lzg/Cv1gJ8D 0bZnpi8W6rOCk+7H1+4KfEfxrX1Lelk27Y6RNTafqHnZ5gBnni3D2Fpo407Bu7dwq8mb mXie0skmMyMW0Owwg6jM+4DCRwmq5wHh+J2ElAxVhzlRBT8MAhptPvebk4epy7zsyfvm kCm1KXVqvRJK2frVRtm3fT7dv/S/HRT04CxqCKucpKPuBdVv91qSQbQhf7MthjWhjyiK CK+5TWM9kmTtMkglpbFf4Z5/5tJOYt7aFmfI3qTGUUjVrFDfb35Bs/vBZ6F08rvDOJco fmkw== X-Forwarded-Encrypted: i=1; AJvYcCWfdv9PwdECoOT2qew7Imv+RzLfLVwXMo9Ejk6A8dn958neoii8nZql7rHjKDT+xijUe9LYPrIGIDZ57NM=@vger.kernel.org X-Gm-Message-State: AOJu0YyElj/1gHQGeyP339ETcErykrTNKV6lGbF1vWlBcDDiQiame3ai r/PwC0mhnKEzJyXsufsAsJsBHUiyPqo2UDie+ECoHRyoIrO4tDCren5Z X-Gm-Gg: ATEYQzw8F7sfaoyIHnYy3b0O5vgNcqvbb3twB8q84HvSv2CPAZBeOvqxJ7G4W0lrKgo np7OXcAxbCL//QafU7EEcCRicOAdVr4AZLctGlISF2HFg8c4Qe/Nra0CrwLl0mEer+JiucB653H EomK2a0ha+mzsCRaoFMUxbv6FAiltVufOATE9rObTtoRc5gc9KVmBrlJP5Zl8PCvFukMo/LeMFt uTsfIv13RtTEDH5A80W9jnJcshxa6RoL2JxFbC0XCpcdsBYTQ3M9OyteRhCea84Cvoqu9SjAY1T LC6fUkvJ5jIArh3udzc1vldAsirNr7/mivZ0f8zimR8djmo1Q+ITv/PEdnWvUsBlJpqFKuekBsB DLhsEPM+MW0fzeEi/s1+9yHpc7RFElq4AWn4cFus+uRAF0aCa5tQuqN2m15s8zmV7sIw+LpmM99 hgqMe2FqX3Focyb1ksGM4xoAdAWlBIxQ0NjI8J0LEFo85PgJeRdjRpwQEAM/lhiZ9XT6pbVkRyS eLjaO2JQ8y5szfEmqCgAKMgny7lBYAfnIkiWOM= X-Received: by 2002:a17:90b:288c:b0:33b:b078:d6d3 with SMTP id 98e67ed59e1d1-35bb9f11b2cmr3546557a91.23.1773862603302; Wed, 18 Mar 2026 12:36:43 -0700 (PDT) Received: from visitorckw-work01.c.googlers.com.com (100.130.194.35.bc.googleusercontent.com. [35.194.130.100]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35bb9ff59a4sm1521664a91.2.2026.03.18.12.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2026 12:36:42 -0700 (PDT) From: Kuan-Wei Chiu To: andrew@codeconstruct.com.au, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, srini@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: venture@google.com, yuenn@google.com, benjaminfair@google.com, jserv@ccns.ncku.edu.tw, eleanor15x@gmail.com, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kuan-Wei Chiu Subject: [PATCH 1/3] dt-bindings: nvmem: add nuvoton,npcm750-otp Date: Wed, 18 Mar 2026 19:35:36 +0000 Message-ID: <20260318193538.246853-2-visitorckw@gmail.com> X-Mailer: git-send-email 2.53.0.851.ga537e3e6e9-goog In-Reply-To: <20260318193538.246853-1-visitorckw@gmail.com> References: <20260318193538.246853-1-visitorckw@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add device tree bindings for the OTP memory controllers found on Nuvoton NPCM7xx SoCs. The NPCM7xx SoCs contain two independent OTP memory arrays: - Key Storage (OTP1): used for cryptographic keys. - Fuse Array (OTP2): used for hardware strapping, calibration data, and derivative definitions. Each controller provides up to 1024 bytes of read-only storage. Signed-off-by: Kuan-Wei Chiu --- .../bindings/nvmem/nuvoton,npcm750-otp.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/nuvoton,npcm750= -otp.yaml diff --git a/Documentation/devicetree/bindings/nvmem/nuvoton,npcm750-otp.ya= ml b/Documentation/devicetree/bindings/nvmem/nuvoton,npcm750-otp.yaml new file mode 100644 index 000000000000..45bcf72d7c78 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/nuvoton,npcm750-otp.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/nuvoton,npcm750-otp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM7xx OTP (One-Time Programmable) Memory + +maintainers: + - Kuan-Wei Chiu + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + enum: + - nuvoton,npcm750-key-storage + - nuvoton,npcm750-fuse-array + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + otp@f0189000 { + compatible =3D "nuvoton,npcm750-key-storage"; + reg =3D <0xf0189000 0x1000>; + }; --=20 2.53.0.851.ga537e3e6e9-goog