Changing I2C speed from userspace

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing I2C speed from userspace

139 Views
Contributor III

We are working on IMX8MMini EVK. Is there any method for changing I2C speed from user-space ? We have a requirement like changing I2C speed at run-time.

Tags (1)
0 Kudos
3 Replies

5 Views
Contributor III

hi

Is it possible to do the same by dynamically Loading Device Tree Overlays into Linux Kernel?

0 Kudos

5 Views
NXP TechSupport
NXP TechSupport

Hello Sreedevi,

Sorry no. you have to modify the device tree.

Regards

0 Kudos

5 Views
Senior Contributor II

Hi sreedevi.mohan@vvdntech.in ,

In older version of kernel is it possible to change IMX_I2C_BIT_RATE to change I2C speed (using module arguments) from userspace. But in newer version to change I2C speed we can change it from device tree.

Regards,

Radhika Somaiya.

0 Kudos