[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65df8099-28a0-fe95-57fc-11c9e90af835@linaro.org>
Date: Mon, 27 Sep 2021 11:12:32 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: John Thomson <john@...nthomson.fastmail.com.au>,
Vadym Kochan <vadym.kochan@...ision.eu>
Cc: Rob Herring <robh+dt@...nel.org>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, Robert Marko <robert.marko@...tura.hr>
Subject: Re: [PATCH v2 1/3] nvmem: core: introduce cells parser
On 21/09/2021 06:50, John Thomson wrote:
>>> Currently I can test only on at24 devices. From the:
>>>
>>> https://opencomputeproject.github.io/onie/design-spec/hw_requirements.html
>>>
>>> "
>>> Each ONIE system must include non-volatile storage which contains vital
>>> product data assigned by the manufacturer. The non-volatile storage
>>> could take the form of an EEPROM, a NOR-flash sector, a NAND-flash
>>> sector or any other non-volatile storage medium.
>>> "
>>>
>>> I am not aware about other nvmem devices which are used for existing
>>> ONIE supported boards.
>>>
>>>> As long as you represent this parsing function as some library function,
>>>> I do not see any issue.
>>>> If any exported symbol is available for this then any nvmem provider
>>>> could use it.
>>>>
>>>> --srini
>>>>
> Hi Srinivas,
>
> Can I note here that I would like to parse
> TLV data from an SPI-NOR device to NVMEM cells.
> The same general use case (getting mac-address from OEM data).
>
> Was planning to base my work on this series, as well as
> https://lore.kernel.org/all/20210908100257.17833-1-qiangqing.zhang@nxp.com/
This series is for post-processing nvmem cell data before it gets to
consumers.
Are you referring to parsing nvmem cell information (offset, name) in
your usecase like:
https://opencomputeproject.github.io/onie/design-spec/hw_requirements.html
Or
Are you referring to post-processing nvmem cell data ?
--srini
> (thanks for pointing that out Srinivas)
>
> Cheers,
> -- John Thomson
Powered by blists - more mailing lists