Regarding porting guide for AD9364 to android kitkat

We have ported android kitkat (linux kernel version- 3.0.35) on imx.6 solo processor.  The spi lines are coming from processor to ad9364.  I need to configure the ad9364 through SPI.
So the queries goes like this:
1) How do I integrate the ad9364 driver with above mentioned platform?
2) How do I configure ad9364 ? (As in userspace program or at kernel level?)

AD9364 is used as slave 1 among the two slaves.  As Iam very new to this, if I get a porting guide for integrating AD9364 driver to android kitkat it would be helpful.