lkml.org 
[lkml]   [2020]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/2] nvmem: add ONIE NVMEM cells support
From
Date


On 05/06/2020 11:53, Vadym Kochan wrote:
>> One of the example is atmel eeprom (at24), but there might be different
>> devices.
>>
>> But can you please explain what is the technical/conceptual issue with
>> this approach ?
>>
>> Thanks,
> I just I'd like to clarify if there is a way it can be acceptable. The
> problem is that there is TLV format which might be used on any nvmem
> device which contains for example mac address which needs to be exposed
> as nvmem cell. If to populate cells via nvmem_config then anyway I need
> to parse these cells from the "target" nvmem device.



As a first step this need to be part of the provider logic to parse this
before nvmem provider is registered. If there are more users for such
parsing, we can think of adding some level of parsing to nvmem core itself.

Hope this answers your query.

Thanks,
srini

\
 
 \ /
  Last update: 2020-06-15 13:07    [W:0.073 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site