From nobody Mon Jan 26 22:49:50 2026 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 1B1A6329E5C for ; Mon, 26 Jan 2026 14:53:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769439193; cv=none; b=eKCCxOulT8PWn+k0vitAfEO40Wm/O/tiDTGQ4NSyj41rtsQooWfXUbsZrfpg6+7574I68NqRa8/DosxXf9fdiV+OnU2/WJV9IKrSGMzEM9qT8lsSFhX9vY1RyN8bNeOLgvoDdeGkhXe4xQRKB03RmJmK6ktqWcHNN4Nb6kYRMV4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769439193; c=relaxed/simple; bh=FbgWorkVYAARgSVoRiW3gh4NDJIBVt6Kze/Ky/1SgJw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=guqwoq8yLpnDYJiMD8yMj5jt4hMr8s5vZis+URTjgsBfnnu3mUEF6iAKYWlTibrQamNbZC9giGm88XL6RFnex/h94iPJKFyG2oLQ5cPCM5HUTPT/ucR6fdaYf92kW4G7NpfrQH5ZU0VZxgCwM5BY9nwSnI8yz6Qm5Qwllo3hr4I= 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=TUZ/hFVa; arc=none smtp.client-ip=209.85.210.175 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="TUZ/hFVa" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-823075fed75so2450066b3a.1 for ; Mon, 26 Jan 2026 06:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769439191; x=1770043991; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=TVvbb9+hZF/9C3/NVKPJTsfvF9X2aKso7Sjvx8952EU=; b=TUZ/hFVaHMBLH1qwnc4S6cQ2t8eaw2VF99VcRp5DuBZPpTlVNdTXfnxRNUaP05o+Et 3WdyF7YwDKONBCTjBv8ytDJAW3ec8EOoEtqKqVXSbEzNDkbfSmpOisLu4BZhES49KhcG kvoENI+B1av/uxBYH4ugF7h0paQyZM1UvakLSTqJFRmn0akEIgPnAwIkvVHxN65+2ckc cNz5nxPb+XDA3HDoYT4ZTao6IOjj2sgR7WDvHBCaxTNhvq6e8z9gIU5ChTEkdTv9Ym30 6N9+SXnxB9i+u6YqIxXvwOd/9xaVshTESEUWXLNCUabKMZkSLAWDQ+KSR2yGAji016W0 N+PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769439191; x=1770043991; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TVvbb9+hZF/9C3/NVKPJTsfvF9X2aKso7Sjvx8952EU=; b=g5LQ6yTu4UZniYkRn+ewfFHQbu6Xh9F58Pm6A1zt3dZsm4vZ4zZhRuHy2aXk3MB6yv EBuxkHZFGE2zmwP5J5Fk3VUjZE8rTLD4mDWCQBrAKa7KsNAnGxAgbUTxTiyGTD6cvxpL ZME/BrTuNPjvg/W8RZgUupqhqg7W1OVTpFq6EbrOKcaK++b0Jp6MqRYDOTeaz26SAh4W bYhp+gkuYbOjYqmDD8MuvTLJfPGYX7gk4LyL/UG4ymd3fv9AON1W8N5S5fszznYGYXLg v5poKJvK+2vWLFmn/VKIFfwtqydZLiFZJM7h3dAk5mVOtkWRHOCHva5N25QXnReM+iWa UnbA== X-Forwarded-Encrypted: i=1; AJvYcCW4ar5y+5EVV99Co2qiLlvk1M9HSnD8rgS+wTzRrsbQCpSrnuPiZuOVaufJwVqHrz2b5SkB/TwzvEdTgaM=@vger.kernel.org X-Gm-Message-State: AOJu0YzdUKls8iZ5TZHt9F8evrXbT3veGAAnhArlFLYHPNvs56iYo84K woRnJsCzfTWbghbBsM6CpNSo6ibX7npv8pbIodXvRXNa/kDKCxiCHa4w X-Gm-Gg: AZuq6aKrTHikoRnjx5IOFQTi6/rB9zD+sE0d+HTuisWEfHnXhK3uMOK/YHNdEfngE/T J7bP1X+4QD1qPweQH+Q6HTLwNOeUieS+zucaBmmakl+YiHEXsEWFucwPLIXlwse4urpYn1hjmao 0gvGT/VOHyAwhLH9eaBW9xrM/lmwhHyPV+CsZKDAtO8aiNcivl+Pk+saPf7TMakNvRchEUfr2Ze AwGlNbBI1Co/ywPjKLvXmZq6kfPYCVn5dBOmKFZrN6D9ghiwZkzOBKwfvPwqhbjm8psilX8K+UF 35yxqiuYrebL/vLh0ZN65ZCZqSzs0QnzUU8N1ad3gs7giLympaAwXZsz1XZumyEu8elT8u04Bu4 gb9Cwng2yZl75dJcGXo+1cokOI2Bcq0rGc7G70ntKWVoKAB/glJnRIEU6N3+iRTsaCQCXEfTqIY EeUPXjTghFCXdc6LtAgp0c3cqGKSnNOGGcweo= X-Received: by 2002:a05:6a20:1446:b0:37c:b74c:d8c7 with SMTP id adf61e73a8af0-38e9e5b9a78mr4248473637.22.1769439191326; Mon, 26 Jan 2026 06:53:11 -0800 (PST) Received: from LAPTOP-872M7T80.localdomain ([122.168.71.68]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-c635a141fc4sm8490754a12.8.2026.01.26.06.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jan 2026 06:53:11 -0800 (PST) From: Akhila YS Date: Mon, 26 Jan 2026 14:53:01 +0000 Subject: [PATCH v2] dt-bindings: nvmem: nxp,lpc1850-otp: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260126-lpc1850-otp-v2-1-bdcf08901d9d@gmail.com> X-B4-Tracking: v=1; b=H4sIAM9/d2kC/1XMQQqDMBCF4avIrDsliVi1q96juLCTqQ6oCYmEF vHuTYUuuvwfvG+DyEE4wrXYIHCSKG7JYU4F0NgvA6PY3GCUuShtNE6edFMpdKtHZqpsSaWqDUF ++MBPeR3avcs9SlxdeB940t/155R/TtKosXnYtqqtbaltbsPcy3QmN0O37/sHDucjuKYAAAA= X-Change-ID: 20260121-lpc1850-otp-eec5d3c3072c To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Zapolskiy Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Akhila YS X-Mailer: b4 0.14.3 Convert NXP LPC18xx OTP memory controller binding to YAML format. Signed-off-by: Akhila YS Acked-by: Conor Dooley --- Changes in v2: - Add "Vladimir Zapolskiy" as maintainer. - Remove unnecessary description for the yaml. - Remove "#size-cells" and "#address-cells" from the properties and require= d. - Link to v1: https://lore.kernel.org/r/20260123-lpc1850-otp-v1-1-8bd957dd9= c98@gmail.com --- .../devicetree/bindings/nvmem/lpc1850-otp.txt | 20 ----------- .../devicetree/bindings/nvmem/nxp,lpc1850-otp.yaml | 41 ++++++++++++++++++= ++++ 2 files changed, 41 insertions(+), 20 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/lpc1850-otp.txt b/Docu= mentation/devicetree/bindings/nvmem/lpc1850-otp.txt deleted file mode 100644 index 853b6a754644..000000000000 --- a/Documentation/devicetree/bindings/nvmem/lpc1850-otp.txt +++ /dev/null @@ -1,20 +0,0 @@ -* NXP LPC18xx OTP memory - -Internal OTP (One Time Programmable) memory for NXP LPC18xx/43xx devices. - -Required properties: - - compatible: Should be "nxp,lpc1850-otp" - - reg: Must contain an entry with the physical base address and length - for each entry in reg-names. - - address-cells: must be set to 1. - - size-cells: must be set to 1. - -See nvmem.txt for more information. - -Example: - otp: otp@40045000 { - compatible =3D "nxp,lpc1850-otp"; - reg =3D <0x40045000 0x1000>; - #address-cells =3D <1>; - #size-cells =3D <1>; - }; diff --git a/Documentation/devicetree/bindings/nvmem/nxp,lpc1850-otp.yaml b= /Documentation/devicetree/bindings/nvmem/nxp,lpc1850-otp.yaml new file mode 100644 index 000000000000..a0cdf083267d --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/nxp,lpc1850-otp.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/nxp,lpc1850-otp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP LPC18xx / LPC43xx One-Time Programmable (OTP) memory + +maintainers: + - Vladimir Zapolskiy + +description: + The internal OTP memory in NXP LPC18xx and LPC43xx microcontrollers + provides a dedicated non-volatile storage area designed for permanent, + one-time configuration and data storage. + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + const: nxp,lpc1850-otp + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + otp@40045000 { + compatible =3D "nxp,lpc1850-otp"; + reg =3D <0x40045000 0x1000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + }; +... --- base-commit: cc3aa43b44bdb43dfbac0fcb51c56594a11338a8 change-id: 20260121-lpc1850-otp-eec5d3c3072c Best regards, --=20 Akhila YS