From nobody Sat Feb 7 08:45:06 2026 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 BF5AD2D47EF for ; Fri, 23 Jan 2026 15:19:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769181604; cv=none; b=E2SLoEvF9V8fGlfxm2A1uRAkDQcdZyR159Mw8m7YAav5UwEFca8NSNJPBjlo+M1+xOajA03PYr+gy4c8HXYAjbPQWKVvRSQXSi9SfwalqvL84lXv++HTCR/tyEUtOGVVSoG0Iy8afBDp2ys1IRahf/gf73OP4T65+36UMdjAyCc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769181604; c=relaxed/simple; bh=BSZ1MDE8wxCXd7EIJh9BUUuqyCo90gHzf1ChmuvIVq4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=h5m+PSWFy+J1ivFFJHf6kV03KBCbN68wFWXyMV9OLuy9UzR4WSzYET3WLlxROpKCoB2xq3Enpr5V9nbD4FUwCnME3W4/D0R+rx8ZIncx1rIMdXF5MqpnRVuAxP9Ty9I3CW1igdUdn9kRvzc3Fm12xNa/pEG8OykOVQ25iOEI128= 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=huZrbUX8; arc=none smtp.client-ip=209.85.214.170 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="huZrbUX8" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2a76f90872cso12416695ad.3 for ; Fri, 23 Jan 2026 07:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769181593; x=1769786393; 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=H6hhkgAe0intcEq/enp1QU3shhPSkOOO7s/1htAdYgE=; b=huZrbUX8RGdeyTyqlKl5NTIrPDmuAaDzwt87vLj7Xe+yrEB37ADLwWEqoR2bYapkXP D9jL0kh+ido+zd4HKLGM3ePmZmxjZokYrkwdaIR7MLUDiDzw9ympeMIAlqS6OztOSNru MjSW7Ipch+jfF9w1awFuCTdPFl0Y/Oof1arETgrVL2whvUUPXqlr1g6sTCu6RFXL/H/6 yC140Up3qUYnsFLHeenn0G95tn2/zB8iuvdIRRa5srk6Ho8xNre8A4l5IUY+aYT4VDhD YCz/9rJVXOnlzfpC6xj/WxM/JbXMI0O6LGQQOo+OlXrXnphY0//0W7fkK80hJ2yBImd0 Tn3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769181593; x=1769786393; 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=H6hhkgAe0intcEq/enp1QU3shhPSkOOO7s/1htAdYgE=; b=aJLnocjy4b2cWpJ+fS01OCNg6UxugRmFGx/xq4X3DS37kZR4QVAhgDPN74KyTWDJeM VXHT61AnvoCYI499mzPNTxdyZcSsNqZqSjP0AXMSTk6o6/Z7WQF+Y1mY9aewC8c4lFoB 5ie+zMdnk/iF8VNY6eNw5laE5Zso+czijHSeF3eQ9N2EFFQBTPCByUg5A4FQZzuPqo3M dzLQLweC3Z1Y/xPvqmgEujp4smowbGAIGv1RxIfBvBllNBrE7PAAAa5jX2q3c5TejHCB utBhn6E/HqARiQI55/HAgU1S4uFHSRXHaS09IkLP/1rwQeGif/HhhdR8DrHSB+ARsFup F7Ew== X-Forwarded-Encrypted: i=1; AJvYcCWWYTD7IwtFejSpVuPxv7myfSFYHBYiWpSARXA0uV1yYwxhtxRjN6gnmIt5qvh4DwrJaByUlbRAoMaUbRY=@vger.kernel.org X-Gm-Message-State: AOJu0YyixOIPtxNbrgKbP2YzYSoi+RfR5+pJmq5rGvtQ6tswsQtCDaIl uhNk07O5dbFr2K90aTRWI7sdJrRVwKaEPR4+A58Ctsvd4bS1OKuABiEI X-Gm-Gg: AZuq6aKdXUxJzXFQPi9uhiO0pDrOqztuBZwh/KrfT7wDBDW0aHi8odpOYC3Jpwg2f1t LYdbtvMvOKdYy9de4odeyksctp1Rjy6G0Bo63877QhVg/dcRQmlAIRm+/XHpi63pNisvdvagLyB kAkNegiSf3g4RGX2k4lUy25zcR7RbaF2yhzTEhsiFfdQXt6nWUF1IVjxxBWb3eeVQWYnRuUl8XM 0VNMgnfNQHiFEzdUJ98SW3MfrJ0VhSTGVdKJTEFroFfSMWwmedPKJGyx54LuXXOyRIX4efsi7TS c7qrzYlPSjFPE0tnBBwojBhabElR5Z6S6w01NlqBVnzAU4gfCnktwMKCvy8FfkAnkXMB98lwGEi UyTFBVnmcrYZ6DTtZVKNPoOL48KGWn8Fv+4No3nfpH3KMZ5ipQVzGieJIkkgi5I3seIWKgVA1/D SwE++PKjLUqaTXyTVXmYyzfisCXR+hscIm2vrQnQ== X-Received: by 2002:a17:902:ebc9:b0:2a7:8486:fe65 with SMTP id d9443c01a7336-2a7fe57115bmr24829855ad.22.1769181592874; Fri, 23 Jan 2026 07:19:52 -0800 (PST) Received: from LAPTOP-872M7T80.localdomain ([223.181.117.144]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2a802f978adsm23475575ad.64.2026.01.23.07.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jan 2026 07:19:52 -0800 (PST) From: Akhila YS Date: Fri, 23 Jan 2026 15:19:47 +0000 Subject: [PATCH] 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: <20260123-lpc1850-otp-v1-1-8bd957dd9c98@gmail.com> X-B4-Tracking: v=1; b=H4sIAJKRc2kC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDQyND3ZyCZEMLUwPd/JIC3dTUZNMU42RjA3OjZCWgjoKi1LTMCrBp0bG 1tQDga1h7XQAAAA== X-Change-ID: 20260121-lpc1850-otp-eec5d3c3072c To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley 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 --- .../devicetree/bindings/nvmem/lpc1850-otp.txt | 20 --------- .../devicetree/bindings/nvmem/nxp,lpc1850-otp.yaml | 51 ++++++++++++++++++= ++++ 2 files changed, 51 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..d37e928e7a35 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/nxp,lpc1850-otp.yaml @@ -0,0 +1,51 @@ +# 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: + - Srinivas Kandagatla + +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.The OTP controller manages write + protection, programming sequencing, and error detection mechanisms to + guarantee reliable and safe permanent programming under software control. + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + const: nxp,lpc1850-otp + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + +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