From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=68.232.153.233 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796024292; b=bCufngsp227dNu7mAV98ac+goppPvFG1l1EUEPE95O179pqXLiIOhjYaNs4Ui1GOVZuU gZMQmlT5x8tFquNu5NpQ+WYh0DsBzYwq8SP4mREghod0/2D98eaV4ZpbC3vyeYpyubiyO lcldKMay08mdXSlBrlm5T2vfJxVtP17SuWEu0xsuvyC+k80Iz/Bl7J6R6q2cVJTg0V9t1 v3ygQL4aH8m3wo9YPz9Q/SX27Si+sVrRRY+v4ItW1Su1z6TbjJVRf1LPJ9PQuoG74wKhT 7rUe7NiOvnyk6s26mcd/1mlJdEh7PH4ICcF9kTd6ul7dhV2KwB7SL8mlR3hEKPlKVXg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796024292; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-Amp-Result:Received:Received:Received:From:To:CC: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=VBTF2W9pPzjw10zOzS7dHTxuRGxLvSu4sJjvOS08hm8=; b=f/SnzuhRHGhLQauhHD7HatP5XpaNQKurwTpPIsFhwQIRIuOi9HBTFyg/VsG4AroM6CsF SJY/vCraHK632gaqFoWRTIFNuG6yDA6vSLAlGG5lrWQ/3ipR3HMaQbu1v+YNgSWtqzEt4 BdgTjSgO8Mh3/pd54ha7O0f9+5NYuQBx9YJsA/aWnM7f1K6Ac0OwhcwppJt8kM6zVRWix mTz4/hlQUmh5fP2Wxf67yw+NkxP3xR/5tMvVhivbORFQnrLZuky6fTVjCDuyQHXlaqPOP FSJ/8TErHGTLjd0lWDF/GOgFztyB+TcOt918LAlFLLrIMj2oaqBDZG092EGdSCF9LFw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=zSgkXPQK; arc=none smtp.remote-ip=68.232.153.233 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9748E606A31C; Mon, 30 Nov 2026 07:38:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9748E606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=zSgkXPQK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1796024291; x=1827560291; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZbNAFzSIw3R2cm7Wm2v5oyHJUBSuXKlXSqen3A0swWY=; b=zSgkXPQKirotBGECqHh9MLQNzWbLFc3K/J9E6zCVa+tgqlG4uezGPb3G PmdLVnOPBV17RQdBafLCAFEgvHXBVlafQkxEVjOxkA/MVDY5hVR8s91yu ElkY7hBIF+ru+n9I7dKQ7ED6vf88Oq0bl0nmvDJ9fzIqSNo8H9xMhF0vF RSPYCA0N1Ql8SUAESBsBEy5whOeXMU/d44p0B63jW+8gbuFYW5+lKO1Ln MPXJ8E7U6ihqMTNrEtKwddHhja5EnvDyEzRXfZ/nkW+xgFb+V673zizva jW3SeekrvBuRJMndI+pUm9Kpsk/G1BTx11PCvVCCxxbrbIH9G1JfNNJAt Q==; X-CSE-ConnectionGUID: 450i/v6XRiepx8PwVwZA+w== X-CSE-MsgGUID: fjk5BxZQQXKs2+E+TFJgPQ== X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="78054975" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 30 Nov 2026 00:38:04 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Mon, 30 Nov 2026 00:38:03 -0700 Received: from che-ll-i67131.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Mon, 30 Nov 2026 00:37:49 -0700 From: Manikandan Muralidharan To: , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: Subject: [PATCH v11 1/8] dt-bindings: mtd: jedec,spi-nor: allow the SFDP to be exposed via NVMEM Date: Mon, 30 Nov 2026 13:07:24 +0530 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Add an optional "sfdp" child node (compatible "jedec,sfdp") that describes the SFDP as a read-only NVMEM provider via nvmem.yaml, so its contents (e.g. a vendor EUI-48/EUI-64) can be read through NVMEM cells. Reviewed-by: Linus Walleij Reviewed-by: Rob Herring (Arm) Signed-off-by: Manikandan Muralidharan --- .../bindings/mtd/jedec,spi-nor.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 587af4968255..d7e659912b4a 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -103,6 +103,22 @@ properties: spi-cpol: true spi-cpha: true + sfdp: + $ref: /schemas/nvmem/nvmem.yaml# + unevaluatedProperties: false + description: + The Serial Flash Discoverable Parameters (SFDP) tables exposed as a + read-only NVMEM device. This allows standard or vendor-specific SFDP + data (for example a factory-programmed EUI-48/EUI-64 identifier) to be + consumed through NVMEM cells. + + properties: + compatible: + const: jedec,sfdp + + required: + - compatible + dependencies: spi-cpol: [ spi-cpha ] spi-cpha: [ spi-cpol ] @@ -122,6 +138,10 @@ examples: spi-max-frequency = <40000000>; m25p,fast-read; reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>; + + sfdp { + compatible = "jedec,sfdp"; + }; }; }; ... -- 2.43.0