From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07D8AC44500 for ; Fri, 3 Jul 2026 05:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Message-ID:Date :Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0mtq3LN+KWBSW9lTL9C9FcS9noZX2XKjwf2oyxhAxxI=; b=ncoLqOU8g0eyUA0H28EqM1zTAO Oo/yLF7Wldl6dpXcFZLgoa8BbNJ2vcATDQtyl+wRlO3IUz33wYPV+tsALKO32K3kcgq09r6tD1/hG EJE1BvDg+sT35NGm/KbI8BVBssGHpGShXzo9WhFGRDc1QDYMNQfBo8L/iKCIzwhOyYVR7hZIOW1m9 52gJNUHyYFcC7sISNseYgoput6FFa3LgHaXn81tsSZ9jevDPD+h6rIU6+wypgUVOxOggwCUpfAU0K LjaMwFtmw3GCjmJUEH2SBmrdkLbIv//Tl1OQyy2CGSpPKeftg2Ds4d8dthHKY+DjTA8hmNrJ9Po8/ EDK/XBDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfWbr-000000065wn-28VT; Fri, 03 Jul 2026 05:38:43 +0000 Received: from smtp9.infineon.com ([217.10.52.204]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfWbo-000000065hq-3EHu; Fri, 03 Jul 2026 05:38:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infineon.com; i=@infineon.com; q=dns/txt; s=IFXMAIL; t=1783057121; x=1814593121; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=0mtq3LN+KWBSW9lTL9C9FcS9noZX2XKjwf2oyxhAxxI=; b=UvxqtB1OMPXO5bgVZVjJG1+/3l27xZZqLVc9Ar45KPNhWT2chWDsGDel c5RemGgX/rPiEGP7ktsU9QaDiIotM780zLHq9nE5stAl5Ojwx5cMqueGr o7ml7lNAsm0L/oTUfxuFfP9qdvtIgvW4nqJe5AivBOYzPSgOyj9hF8l+a A=; X-CSE-ConnectionGUID: xeHXl9QGQGy8HVZGWnHucA== X-CSE-MsgGUID: wWH+KjveQ/qycSHEfAysPg== X-IronPort-AV: E=McAfee;i="6800,10657,11835"; a="99571517" X-IronPort-AV: E=Sophos;i="6.25,145,1779141600"; d="scan'208";a="99571517" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO MUCSE812.infineon.com) ([172.23.29.38]) by smtp9.infineon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2026 07:35:34 +0200 Received: from MUCSE815.infineon.com (172.23.29.41) by MUCSE812.infineon.com (172.23.29.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Fri, 3 Jul 2026 07:35:33 +0200 Received: from MUCSE815.infineon.com ([fe80::b54c:c0bd:546c:c9be]) by MUCSE815.infineon.com ([fe80::b54c:c0bd:546c:c9be%12]) with mapi id 15.02.2562.043; Fri, 3 Jul 2026 07:35:33 +0200 From: To: , , , , , , , , , , , , , , , , , , , , , , Subject: RE: [PATCH v4 3/7] mtd: spi-nor: sfdp: expose the SFDP as a read-only NVMEM device Thread-Topic: [PATCH v4 3/7] mtd: spi-nor: sfdp: expose the SFDP as a read-only NVMEM device Thread-Index: AQHdCHJjppL/9AvAjUSdTTDRPCeZfLZbR6Aw Date: Fri, 3 Jul 2026 05:35:33 +0000 Message-ID: <8f3b422e0b7749b2a47b14a585dd0a0c@infineon.com> References: <20260630092406.150587-1-manikandan.m@microchip.com> <20260630092406.150587-4-manikandan.m@microchip.com> In-Reply-To: <20260630092406.150587-4-manikandan.m@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.161.6.196] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260702_223841_134549_B7535CB5 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, > Register the cached SFDP as a read-only NVMEM device rooted at the > flash's "sfdp" child node, exposing it in on-flash byte order. This lets > NVMEM cells reference any SFDP data: a fixed-layout for parameters at a > known offset, or an nvmem-layout parser for vendor data whose location > must be discovered at runtime. The device is only registered when an > "sfdp" node is present in the device tree. >=20 > Signed-off-by: Manikandan Muralidharan SFDP is exposed in sysfs (e.g., /sys/bus/spi/devices/spi0.0/spi-nor/sfdp). Why don't you just use this existing entry? Thanks, Takahiro