i2c communication in uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i2c communication in uboot

1,477 Views
mathew_k_t
Contributor II

Hi,

I have an LCD module. I would like to initialize the LCD from uboot over i2c. I'm using imx6ull based custom board.

Are there any existing solutions available to do that?

If not, how I can get the i2c access in uboot?

Thanks in advance.

0 Kudos
Reply
2 Replies

1,426 Views
igorpadykov
NXP Employee
NXP Employee

Hi mathew_k_t

i2c example can be found in pmic initialzation (function power_init_board())

in uboot-imx/tree/board/freescale/mx6ullevk/mx6ullevk.c

mx6ullevk.c\mx6ullevk\freescale\board - uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,426 Views
mathew_k_t
Contributor II

Hi,

I have read about i2c commands in u-boot. Can I use that here?

Could you give me an example of "i2c write" command with -s(bulk of bytes)?

0 Kudos
Reply