How to access OTP registers from kernel?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to access OTP registers from kernel?

ソリューションへジャンプ
1,074件の閲覧回数
petarbajic
Contributor III

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?

Petar

ラベル(1)
0 件の賞賛
返信
1 解決策
879件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I would export the functions you need from the opt driver to your code in the kernel. I do not know if there is a better way to achieve what you need.

/Alejandro

元の投稿で解決策を見る

1 返信
880件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I would export the functions you need from the opt driver to your code in the kernel. I do not know if there is a better way to achieve what you need.

/Alejandro