From nobody Sat Feb 7 21:23:58 2026 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 AABE72FC890 for ; Mon, 5 Jan 2026 15:08:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767625690; cv=none; b=GI1yAcZoB86wDN3mJTe1ma3JiZ0lgg57LySBGokyZM88wq1rVKt6R0u+j8TmrKk0Av+V/ovAEg6qzFm4k69s5IRcokhIA3cuiIUtR8nIu5A1OcVo7Y74hpZW/aQJFt6fjjjUuv9GjM2VxdyMUbOrvL8pXRPMO5n7qLakcZcmYrc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767625690; c=relaxed/simple; bh=sK0+CEa3/0lm980jOiRWYW7FRiBLHWMNCdfDPIq6EJ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=YEbtH5QX3Hzhy9zU8EkaHf8mtClmjS2igt6NWvY7KJTeCTnCaSn+Oz8siuH+9bfRr+RMQCZ//kB3Fea+zBHbXx4Oqr/c+4B/0dvQ6DX4psqL6izgOb4vJZ4hdH/fYtpvd4hZBud+eXRLF/P2P+E5NguOXeuCYNXE7PcDRYmwU+8= 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=HDUpFEkW; arc=none smtp.client-ip=209.85.214.176 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="HDUpFEkW" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2a0d06ffa2aso173164795ad.3 for ; Mon, 05 Jan 2026 07:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767625688; x=1768230488; 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=x1jKy4PLpiDv5jQtyPtMkgdBDMPguDaYeUut8IL2qu0=; b=HDUpFEkWuoBNyF+TWO317q7GmWWOWWnR4BMPLYkjJIIulXWw5dI6YkddSLBhgf4vEU e7VOxk2cozF6GNsvh+zTWWjC24T+A7o4h1yK/oWJGHowkXB8cskRybgifVRdPUJSsWxI DC0hKvxF9YjFeKNzH+YnWYprcPrr3sNGeWFqGitmClisCUPSwebWMt8i96cnvfv/f3+9 HiCi/J7QZpHEjHyUWWniPSE5v/I+f7gzA7d2awH8xLS0PLzOwm8Cs/OOyTMRTZUfndKB nY/plz3xgjPLTEv0EiozAMqVHnpmhuQyjAB55ZqO/8iRZxAquudW6c3CbfV2WxhdbfNz 8irw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767625688; x=1768230488; 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=x1jKy4PLpiDv5jQtyPtMkgdBDMPguDaYeUut8IL2qu0=; b=TykLfuR+eumIW5cDDEEBaQo5Y4dKYXaFCnxjNTMiAbTWyQS59QDimQ/VDh3LvTapJs QUt1XIwCZKuZhVjox7g6hZrqKdp3c0S5999D3KGxPTJ3zvC1sNGSEVnk+G2oNd9fNWQq KLHnLHgA7KfsWleTLoWQMew8yMfSb2/eXcgZPm6pMeRce12A6kF9826qw+8RcjFdiJrw uHEfHBqhTdJBWujqefuDR5my462YGYuWw5Duyd55sTLvIk941vCFVDKRkZdaydUBp5Js IchcfDoRzh9gkEhtpOtrkRpWh7N3M7GtzdMtIEULZLhm1XsGcNl/Nl7w0Ni08e0xAeEj xPJw== X-Forwarded-Encrypted: i=1; AJvYcCUulh2tAPDGRgTpmvZoQsNIspiPcMp7eWeoa0kViSY+UPuZjTuJzIQ1vob4dOkcbMx/NJfPslBOaLIElN8=@vger.kernel.org X-Gm-Message-State: AOJu0YyYx9UDArMwpsHZi3Q5NlTQJ6PiotUs+YPNkAwrfHVeCS9PY7lx 9epDKdXUicjLgbXn3fQE3TTRxfSVq8E9i1v6smok0xh8cfnWsydZxVKf X-Gm-Gg: AY/fxX7+7V5bzSm2TqrrxQ9tX6K80IwxtOAkoQrQSvnWFsOo4mT2wcR7vT9kQMhP+3q dlEAx2RoMzEr4/9Ar8ps2+18z0ZIDO5bNFp89SFNKaG89L2IjOB5hKe8fS+Mxesduu+ENyZMwmC cin8T1QBoc9+QvLeb43fzewS0BnqyTjoiqCCCBY1zQ88pGAkc1mIqMv+zABjFKwQwMCcaf60vUI JOcj1ykPTWsMM090nlCfKT58DGEAj0KGEoVvElRyfBtw/hTA9WkmSSQ0moHL2VwwEZs9QIOyGsJ F0XRPBjpRQtG0/+UpnEp1Onf+3Tj6jfU86oIOGrIC2ERVgBuqnPwn8V/4iC3VheJfeVHo4vWBol Qj1/Xca/jBQW626G0kxJp6JQXsU+rqO5xzGzEjP/O+h8Se8rhmGynZSvBOzvVe8TXPzjvivgx5Y 2WlnCrLqWnlNwRnN/eKkGu4P/9gN4F5pF0TdIbfg== X-Google-Smtp-Source: AGHT+IGhkCdU2DgtXw80a0qwTPN/B41vQB1JkqB9e8jnObox0EpIMbkYAzguoHeMXBySPLMGasdaPQ== X-Received: by 2002:a17:902:ea07:b0:29e:fd60:2cf9 with SMTP id d9443c01a7336-2a3e2e1e31fmr105955ad.54.1767625687767; Mon, 05 Jan 2026 07:08:07 -0800 (PST) Received: from LAPTOP-872M7T80.localdomain ([223.181.104.101]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2a3e2ab1a0esm1174215ad.16.2026.01.05.07.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jan 2026 07:08:07 -0800 (PST) From: Akhila YS Date: Mon, 05 Jan 2026 15:08:00 +0000 Subject: [PATCH v3] dt-bindings: mtd: microchip,mchp23k256: 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: <20260105-nxp-v3-1-05af634831ef@gmail.com> X-B4-Tracking: v=1; b=H4sIAM/TW2kC/1XMTQrCMBCG4auUWRtJxqY2rryHuAjNpB2wPyQSK qV3N60IunyHeb4FIgWmCJdigUCJI49DjtOhgKazQ0uCXW5AiVohGjHMk9BYERpnjUcD+XMK5Hn eV2733B3H5xhe+2hS2/XfJyWUsKXSnqSspa2vbW/5cWzGHjaf8GsqqSR+DGYjtdfOmfJcavNr1 nV9A+DUilDKAAAA X-Change-ID: 20251229-nxp-526e29da9f29 To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Akhila YS X-Mailer: b4 0.14.3 Convert Microchip 23K256 SPI SRAM MTD binding to YAML format. Changes during conversion: - Remove "address-cells" and "size-cells" from properties and required sections as there is no child node for sram. Signed-off-by: Akhila YS Acked-by: Krzysztof Kozlowski --- Changes in v3: - Changed commit description to document changes during yaml conversion. - Corrected indentation for example. - Link to v2: https://lore.kernel.org/r/20260102-nxp-v2-1-05f5dd947459@gmai= l.com Changes in v2: - Removed "#address-cells" and "#size-cells" from the required, properties and example.=20 - Changed description and title for yaml. - Link to v1: https://lore.kernel.org/r/20251229-nxp-v1-1-a415fe0080a8@gmai= l.com --- .../bindings/mtd/microchip,mchp23k256.txt | 18 -------- .../bindings/mtd/microchip,mchp23k256.yaml | 49 ++++++++++++++++++= ++++ 2 files changed, 49 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt= b/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt deleted file mode 100644 index 7328eb92a03c..000000000000 --- a/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt +++ /dev/null @@ -1,18 +0,0 @@ -* MTD SPI driver for Microchip 23K256 (and similar) serial SRAM - -Required properties: -- #address-cells, #size-cells : Must be present if the device has sub-nodes - representing partitions. -- compatible : Must be one of "microchip,mchp23k256" or "microchip,mchp23l= cv1024" -- reg : Chip-Select number -- spi-max-frequency : Maximum frequency of the SPI bus the chip can operat= e at - -Example: - - spi-sram@0 { - #address-cells =3D <1>; - #size-cells =3D <1>; - compatible =3D "microchip,mchp23k256"; - reg =3D <0>; - spi-max-frequency =3D <20000000>; - }; diff --git a/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.yam= l b/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.yaml new file mode 100644 index 000000000000..32e9124594ac --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/microchip,mchp23k256.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip 23K256 SPI SRAM + +maintainers: + - Richard Weinberger + +description: + The Microchip 23K256 is a 256 Kbit (32 Kbyte) serial SRAM with an + SPI interface,supporting clock frequencies up to 20 MHz. It features + a 32-byte page size for writes and supports byte, page, and + sequential access modes. + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + enum: + - microchip,mchp23k256 + - microchip,mchp23lcv1024 + + reg: + maxItems: 1 + +required: + - reg + - compatible + - spi-max-frequency + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + sram@0 { + compatible =3D "microchip,mchp23k256"; + reg =3D <0>; + spi-max-frequency =3D <20000000>; + }; + }; +... --- base-commit: cc3aa43b44bdb43dfbac0fcb51c56594a11338a8 change-id: 20251229-nxp-526e29da9f29 Best regards, --=20 Akhila YS