I am using the ADRV9002 board with ZCU102 Evaluation Hardware. I am trying to access the gain index through the linux operating system. I was wondering where I can directly access this. I know I can directly access the gain controls through sysfs and the limits of the gain index through agc settings but I do not know the direct location of these controls in the system.
What file specifically controls the gain index in the linux system on the ZCU102 board?
Thank you for your help.
I am setting the gain control mode to SPI, which is what documentation says is needed to use this control.
Moved to relevant forum
Does in_voltage0_hardwaregain fit your requirements ?
It seems there is also an optional device tree property min/max bound that you may set, perhaps it's also useful: