[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

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.


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