Is there a device tree setting to bring the board up immediately into the low power sleep state? I currently am using a startup script to set the state.
Using a Zynq device with SPI control mode.
This can't be done through device tree. By default, the ENSM is set to FDD or TDD_RX (https://github.com/analogdevicesinc/linux/blob/master/drivers/iio/adc/ad9361.c#L5159). If you have the option of rebuilding the kernel, you can try to set the desired state in the ad9361_probe() after everything was initialized. However, if you do this, I'm not really sure if ad9361_post_setup() will succeed. If you try, let us know the result.
I'm not going to bother then if it's hacky. It doesn't save me much doing it like this vs running the init script a second later. Thanks for the information.