Skip to content

11 Interrupts handling - #160

Open
antman88 wants to merge 4 commits into
Kernel-GL-HRK:Anton.Degtyarovfrom
antman88:11_InterruptsHandling
Open

antman88 wants to merge 4 commits into
Kernel-GL-HRK:Anton.Degtyarovfrom
antman88:11_InterruptsHandling

Conversation

@antman88

@antman88 antman88 commented Jan 9, 2020

Copy link
Copy Markdown
  1. Setup handling of MPU6050 interrupts.
  2. Implement deferred interrupt handler by custom workqueue to handle the request, implement filtering measurements processing
  3. Provide additional interface procfs to read the processed data at once
  4. Synchronize all concurrent operations

Added base driver for mpu6050 and overlay
for i2c for auto loading the moudle

Signed-off-by: Anton Degtyarov <ad742452@gmail.com>
Configure motion detection interrupt request on MPU6050.
Configure GPIO as input.
Register handler for the MPU6050 interrupt.

Signed-off-by: Anton Degtyarov <ad742452@gmail.com>
Add workqueu to handle the interrupt request.
Add data protection by mutex.
Add data filtration by polling.

Signed-off-by: Anton Degtyarov <ad742452@gmail.com>
Provide interface procfs to read the processed data at once.

Signed-off-by: Anton Degtyarov <ad742452@gmail.com>
@antman88 antman88 added the ready The PR is ready for review (set by author). label Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready The PR is ready for review (set by author).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant