Can ADXL345 devicetree program "Interrupt source (INT1 or INT2 pin)"?

Hello 

System will use ADXL345 LINUX driver and needs to program interrupt source to INT1 pin. I'm wondering "devicetree" could support it, but not sure.

Q1. Could you tell if INT1/INT2 selection can be set by devicetree or not? in case devicetree support it, could you tell the sample parameter to program INT1 pin as interrupt source? 

Q2: In case devicetree doesn't support it, is "changing driver code" needed to program INT1 as interrupt source?

Top Replies