iio: logic: Add ADSY1100 Apollo SOM Nyx RFFE controller#3331
iio: logic: Add ADSY1100 Apollo SOM Nyx RFFE controller#3331mhennerich wants to merge 5 commits into
Conversation
cc967f1 to
cf2d539
Compare
Add the YAML schema for the Analog Devices ADSY1100 Apollo SOM "Nyx" RF front-end controller (drivers/iio/logic/adsy1100_nyx.c). The binding describes the 76-entry out-gpios array and the optional per-channel power-on defaults supplied through the output-channels (TX) and input-channels (RX) container nodes: adi,attenuation-millidb, adi,filter-mode, adi,powerdown, and adi,amplifier-enable (RX only). Filter-mode enumerations are exported through the new header include/dt-bindings/iio/logic/adi,adsy1100-nyx.h. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Add an IIO platform driver that drives the GPIO-controlled RF front-end on the Analog Devices ADSY1100 Apollo SOM "Nyx" daughter board. The driver consumes the 76-entry out-gpios array and exposes high-level per-channel controls instead of the raw bit GPIOs: - hardwaregain: 0 .. -31.5 dB digital step attenuator (0.5 dB step) - filter_mode: low_band / thru / x_band / ku_band - powerdown: enable/disable each RF channel - bypass_amplifier_en (RX only): bypass the receive LNA Channels are presented as IIO_VOLTAGE in/out indices 0..3 for the four RX and four TX paths. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Add a dedicated device-tree overlay that instantiates the new adi,adsy1100-nyx high-level RF front-end driver on top of the vu11p-ad9084-vpx-revb base overlay. The dormant generic one-bit-adc-dac stub provided by the base overlay is left disabled, and a fresh node is added under vu11p_fpga_region wiring up the 76 control GPIOs that drive the four RX and four TX paths on the Nyx daughter board. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Add the AD9084 device profile (.bin + matching .json descriptor) referenced by the vu11p-ad9084-vpx-adsy1100-nyx overlay via DEVICE_PROFILE_NAME. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Enable CONFIG_ADSY1100_NYX so the high-level GPIO-driven RF front-end controller on the ADSY1100 Apollo SOM "Nyx" daughter board is available out of the box. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
cf2d539 to
5ec39d0
Compare
LLM reviewThis series adds the run: 26163731542
|
Summary
adsy1100_nyxfor the GPIO-driven RF front-end on the Analog Devices ADSY1100 Apollo SOM "Nyx" daughter board: per-channel DSA (0 .. -31.5 dB / 0.5 dB step), filter band selection (low_band / thru / x_band / ku_band), powerdown, and per-RX LNA bypass. Per-channel power-on defaults can be provided viaoutput-channels(TX) /input-channels(RX) subnodes.dt-bindings/iio/logic/adi,adsy1100-nyx.hheader with the filter-mode enum macros.vu11p-ad9084-vpx-adsy1100-nyx.dtsowires up the 76 control GPIOs and includes a per-channel default template (values matching the driver built-in defaults: 0 dB / THRU / channel enabled / RX LNA bypassed). Base overlay adds a dormantadsy1100_nyxstub node.DEVICE_PROFILE_NAME.adi_zynqmp_adsy1100_defconfigenablesCONFIG_ADSY1100_NYX=y.Test plan
make ARCH=arm64 adi_zynqmp_adsy1100_defconfigkeepsCONFIG_ADSY1100_NYX=ydrivers/iio/logic/adsy1100_nyx.o)vu11p-ad9084-vpx-adsy1100-nyx.dtbo)make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/iio/logic/adi,adsy1100-nyx.yaml(run on a host withdtschemaavailable — not run locally)iio:device*exposes 4 IIO_VOLTAGE input + 4 output channels withhardwaregain,filter_mode/filter_mode_available,powerdown, and (RX only)bypass_amplifier_enattributes