Changing I2C speed from userspace

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

Changing I2C speed from userspace

1,975 Views
sreedevi_mohan
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

1,841 Views
sreedevi_mohan
Contributor III

hi

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

0 Kudos

1,841 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Sreedevi,

Sorry no. you have to modify the device tree.

Regards

0 Kudos

1,841 Views
radhikasomaiya
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