[PATCH v7 10/12] nvmem: s32g2_siul2: add NVMEM driver for SoC information

Krzysztof Kozlowski krzk at kernel.org
Sat Aug 2 01:32:31 PDT 2025


On 02/08/2025 10:28, Krzysztof Kozlowski wrote:
> On 01/08/2025 16:36, Andrei Stefanescu wrote:
>> Apart from the proposed NVMEM driver, there is also an option of exporting
>> a syscon regmap for the registers which provide information about the SoC.
>>
>> I have seen that typically NVMEM drivers export information read from fuses
>> but I think having a NVMEM driver is nicer way to access the information
>> instead of using a syscon regmap and manually extracting the needed bits. 
> 
> 
> nvmem is not a syscon. Mixing these two means device is something
> completely else.


... and yes, I am aware that three FSL/NXP bindings use nvmem as syscon
already. People are mixing hardware description (nvmem) with some
purpose for drivers (syscon) forgetting that syscon are miscellaneous
SoC internal registers, not non-volatile memory.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list