cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
40 Views
Registered: ‎01-27-2019

write a driver on u-boot based on i2c

Hi all,

I need to configure si5341 on U-boot, before kernel startup for prepare clock pl part.

I tried to write commands in a variable and added on bootcmd U boot. It took about 4 seconds to confige chip! its too long! and I cant change it in future.

I want to write a driver on U boot for config this chip based on device tree. all registers need to be read from dtb file and dtb file can be changed in kernel with dtc app.

Anybody has experience of writing driver on u-boot with device tree? or a source for study?

thanks.

0 Kudos
0 Replies