Implement support for RK3399 efuse and provide /dev/efuse device for user applications.
This needs to be investigated after migration to nvmem framework.
I would prefer if the fuse values would be readable in a sysctl like it's done for aw_sid (https://cgit-beta.freebsd.org/src/tree/sys/arm/allwinner/aw_sid.c)
You might also want to add nvmem interface to this driver even if for now the cells aren't read by any other driver it could in the future.
There is also a clock that needs to be dealt with.
Regarding sysctl interface: allwinner driver has data cells hardcoded - should I follow the same way and add hardcoded values to this driver also? Or maybe there is some more elegant way to do so?
aw_sid was done before nvmem and originaly only had one cell I think that's why it's hardcoded.
You could just loop on the subnodes and export everything that is defined in this driver or expand nvmem so it does that in a generic way.