]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: adi-axi-adc: add axi_adc_num_lanes_set
authorIoana Risteiu <Ioana.Risteiu@analog.com>
Mon, 25 Aug 2025 22:13:49 +0000 (01:13 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 31 Aug 2025 12:36:25 +0000 (13:36 +0100)
commitd54d99d034093fd3a357593d9757584868537748
tree4a7503bec11ba58ac161ba701c236c5e858d2cad
parent7c873e3f04fd3e245890ddfde261f83d6aaa9ddb
iio: adc: adi-axi-adc: add axi_adc_num_lanes_set

Assign num_lanes_set in the adi_axi_adc_ops to axi_adc_num_lanes_set()
to support setting number of lanes used by AXI ADC. This operation is
included in the generic structure because the number of lanes is a
configurable parameter of the generic AXI ADC IP core, not specific to
a device.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Ioana Risteiu <Ioana.Risteiu@analog.com>
Link: https://patch.msgid.link/20250825221355.6214-2-Ioana.Risteiu@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/adi-axi-adc.c