On IMX6 SabreSD, OTP fuse driver provides reading from sys fs files in /sys/fsl-otp/ from user space.
I want to read those data from kernel. I can change fsl_otp.c driver to export read functions to other kernel modules, or have my module access sys fs files in user space. Which option would you recommend? Is there a third way to access those data?