Hi Jeevan
seems one can use I2C2/I2C3 ports (MMA8451)
i.MX6_SABRE_AI_DESIGNFILES
SCH-26662.pdf p.13
I am afraid there are no gyroscope examples but one can reuse MMA8451
driver, refer to attached Linux Manual Chapter 37 and
sensors porting guide. There is MMA8451 example in SDK:
i.MX 6Series Platform SDK
: Bare-metal SDK
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------