From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp9.infineon.com (smtp9.infineon.com [217.10.52.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 408943B1EFD; Fri, 3 Jul 2026 09:21:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.10.52.204 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783070499; cv=none; b=W0k164qS1042XNKVOiISXy22x38cf5opSmy48eDgoVPd95LLYdRjYB63CQBu76X9LHZ+e7FAgvBSY7+qbwul44MHHUrT7vp+WTYeuYeGsl+vmFkQMQa93z9lMr5E55hMnUOxrEO+SmRAgiUoOrYZqDRcUKg0g1EtZQHj4R0mQPk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783070499; c=relaxed/simple; bh=Ybh09U61n8vr7U6hIUEp2ScYPAHtOMLi9dOZJ/aT9j8=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=uRxMDMDeb6upN4f+s6BWjQertkLFVwwb9vlAtoEGK+znWEFryd3tm1UcbSaXGmr9IW0rEVAkNzU4G8y+TDGj/giSvqLpTdRH7m7ins4pYXyyW1I5YeImtNypo8CNS8uJZpIngazbBZK+6Z5RsZKOgFffm3wB+0hdVH8mn3kAxzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=infineon.com; spf=pass smtp.mailfrom=infineon.com; dkim=pass (1024-bit key) header.d=infineon.com header.i=@infineon.com header.b=f22ast0h; arc=none smtp.client-ip=217.10.52.204 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=infineon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infineon.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=infineon.com header.i=@infineon.com header.b="f22ast0h" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infineon.com; i=@infineon.com; q=dns/txt; s=IFXMAIL; t=1783070497; x=1814606497; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=Ybh09U61n8vr7U6hIUEp2ScYPAHtOMLi9dOZJ/aT9j8=; b=f22ast0haFXdOLGqa+qXeZQLSJDEB/F8/i3vA4qiaPvn5P9evEy09C4c Y2UPHeB1Meqd0dYoVKfbzoSpmv7FMFsGgVaecFQgn/lEbXqLDtiMpdEXr GD9ntYuCHcTDH90yY6RebjOVtdZXAiCmcCRBA7bUq5xRttiOet0AQeLDs 8=; X-CSE-ConnectionGUID: z8Qc26ctTJuCzOFVy9AyBw== X-CSE-MsgGUID: sKhdcObXRGidQmNxVFF2yw== X-IronPort-AV: E=McAfee;i="6800,10657,11835"; a="99599774" X-IronPort-AV: E=Sophos;i="6.25,145,1779141600"; d="scan'208";a="99599774" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO MUCSE803.infineon.com) ([172.23.29.29]) by smtp9.infineon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2026 11:21:35 +0200 Received: from MUCSE816.infineon.com (172.23.29.42) by MUCSE803.infineon.com (172.23.29.29) 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 11:21:34 +0200 Received: from MUCSE815.infineon.com (172.23.29.41) by MUCSE816.infineon.com (172.23.29.42) 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 11:21: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 11:21: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/9AvAjUSdTTDRPCeZfLZbR6AwgABBQ+A= Date: Fri, 3 Jul 2026 09:21:33 +0000 Message-ID: References: <20260630092406.150587-1-manikandan.m@microchip.com> <20260630092406.150587-4-manikandan.m@microchip.com> <8f3b422e0b7749b2a47b14a585dd0a0c@infineon.com> In-Reply-To: <8f3b422e0b7749b2a47b14a585dd0a0c@infineon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 > Hi, >=20 > > 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 let= s > > 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. > > > > Signed-off-by: Manikandan Muralidharan >=20 > 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? Sorry, sysfs is for userspace. Please just disregard my previous comment. =20 Thanks, Takahiro