-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: sensor: mpu6050: adds samplerate divider setting #84452
drivers: sensor: mpu6050: adds samplerate divider setting #84452
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teburd @afontaine-invn please take a look
4ac7c74
to
01e6004
Compare
Sorry for the long wait, work got in the way. I did my best to move the sensor specific settings from Kconfig to Devicetree. However, there is one thing I'm still somewhat unhappy with and I'm hoping for suggestions: |
01e6004
to
666e8eb
Compare
666e8eb
to
033e0c0
Compare
Moves the MPU6050 accel/gyro scale settings from KConfig to Devicetree. Adds a new setting for the MPU6050 sample rate divider register and transmits it to the sensor upon initialization. This helps to reduce the interrupt firing rate when combined with the data ready trigger. A default division factor is provided which ensures compatibility with existing applications. The MPU6050 sample application is extended and used for hardware tests. Signed-off-by: Tilmann Unte <unte@es-augsburg.de>
033e0c0
to
5b7b3d1
Compare
Moves the MPU6050 accel/gyro scale settings from KConfig to Devicetree.
Adds a new setting for the MPU6050 sample rate divider register and
transmits it to the sensor upon initialization.
This helps to reduce the interrupt firing rate when combined with the
data ready trigger.
A default division factor is provided which ensures compatibility with
existing applications.
The MPU6050 sample application is extended and used for hardware tests.