creation of i2c node

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

creation of i2c node

494 Views
samikshadubey
Contributor I

Hi all,

 

I am working on imx6sl sololite processor with ltib setup. And i want to check a register value wiith i2cset and i2cget command.when i run any command of i2cget or i2cset it gives me below error.

Error: Could not open file `/dev/i2c' or `/dev/i2c': No such file or directory 

 

i2c node is not created in my /dev directory.

I am attaching my board file also.

Can anyone please help me out.

Original Attachment has been moved to: board-mx6sl_evk.c.zip

0 Kudos
1 Reply

437 Views
igorpadykov
NXP Employee
NXP Employee

Hi samiksha

please refer to imx6sl-evk.dts file and attached Linux Manual

Chapter 35 Inter-IC (I2C) Driver

linux-imx.git - i.MX Linux Kernel 

try nxp official bsps described on

http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i....

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

0 Kudos