Hello, I am currently trying to use Seeed Stdio’s Axis Digital Accelerometer(https://goo.gl/trxNGK) which uses ADXL345 accelerometer. And I am writing this mail to get some advices for writing a device tree node.
All of the examples I found on the Internet are to write ‘user level’ application that controls this chip via I2C bus.
But instead of controlling it in the user level, I want to use the Linux Kernel’s ADXL34x device driver (https://goo.gl/wxGzDC) because the purpose of this project is to get an experience of using existing device driver.
So firstly, I am investing this driver’s init and probe functions to add an device tree node to describe this device.
But the problem is that whereas user level examples doesn’t use interrupts, I need to describe interrupt pins according to folliwing articles:
But Seeed Studio’s examples seems to not use interrupt pins. Actually my board doesn’t requires connecting interrupt pins to the BBB mandatorily.
When you look at the red box in the following picture, you may notice that we don’t need to connect INT1 and INT2 pins to the BBB.

So my questions are:
Best regards.
Heecheol Yang.