AD9371 pin control mode

Hi ADI:

I use petalinux environment to bring up ad9371 transceiver ok.

Now, we want to change transceiver to pin control mode after ad9371 bring up.(default using ARM command)

Is it possible to achieve? (by iio:device file?) 

And how to do that? 

thanks a lot