IMU interfacing on jetson TX1 development board

Hi,

 I am developing an android based solution using jetson tx1 Soc. Can anyone please help me in integrating an accelerometer(bmi160) to the android source code i have. I have used the driver files from http://elixir.free-electrons.com/linux/v4.8/source/drivers/iio/imu/bmi160. I am using spi0 on jetson board to interface the accelerometer. What are the files to be edited to use this as a built in driver. Hoping for a help.

FYI, the correct URL (without the “.” on the end) is:
http://elixir.free-electrons.com/linux/v4.8/source/drivers/iio/imu/bmi160

(sorry…can’t answer the question)