Change I2C frequency without device tree modification (Apalis iMX8)


is it possible to change the I2C bus frequency either programatically or generally in the linux user space (on the Apalis iMX8QM)?

Best regards,

Hello @mweber ,

Yes, you can change the frequency of the I2C directly from the userspace by writing in the registers directly. But this is not the recommended approach. The recommended approach is by modifying the device tree.If you still prefer to change the frequency directly, you can find the registers to write to, by referring the manual or the device driver.

Best regards,