mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
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>
This commit is contained in:
parent
7c873e3f04
commit
d54d99d034
|
|
@ -618,6 +618,7 @@ static const struct iio_backend_ops adi_axi_adc_ops = {
|
|||
.chan_status = axi_adc_chan_status,
|
||||
.interface_type_get = axi_adc_interface_type_get,
|
||||
.oversampling_ratio_set = axi_adc_oversampling_ratio_set,
|
||||
.num_lanes_set = axi_adc_num_lanes_set,
|
||||
.debugfs_reg_access = iio_backend_debugfs_ptr(axi_adc_reg_access),
|
||||
.debugfs_print_chan_status = iio_backend_debugfs_ptr(axi_adc_debugfs_print_chan_status),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user