Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ioana Risteiu and committed by
Jonathan Cameron
d54d99d0 7c873e3f

+1
+1
drivers/iio/adc/adi-axi-adc.c
··· 618 618 .chan_status = axi_adc_chan_status, 619 619 .interface_type_get = axi_adc_interface_type_get, 620 620 .oversampling_ratio_set = axi_adc_oversampling_ratio_set, 621 + .num_lanes_set = axi_adc_num_lanes_set, 621 622 .debugfs_reg_access = iio_backend_debugfs_ptr(axi_adc_reg_access), 622 623 .debugfs_print_chan_status = iio_backend_debugfs_ptr(axi_adc_debugfs_print_chan_status), 623 624 };