[PATCH v5 1/4] iio: adc: adi-axi-adc: add axi_adc_num_lanes_set

Ioana Risteiu posted 4 patches 1 month, 1 week ago
There is a newer version of this series
[PATCH v5 1/4] iio: adc: adi-axi-adc: add axi_adc_num_lanes_set
Posted by Ioana Risteiu 1 month, 1 week ago
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.

Signed-off-by: Ioana Risteiu <Ioana.Risteiu@analog.com>
---
changes in v5:
 - improve patch description
 drivers/iio/adc/adi-axi-adc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/adi-axi-adc.c b/drivers/iio/adc/adi-axi-adc.c
index 2d86bb0e08a7..20bb59c24acf 100644
--- a/drivers/iio/adc/adi-axi-adc.c
+++ b/drivers/iio/adc/adi-axi-adc.c
@@ -617,6 +617,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),
 };
-- 
2.47.2
Re: [PATCH v5 1/4] iio: adc: adi-axi-adc: add axi_adc_num_lanes_set
Posted by Andy Shevchenko 1 month, 1 week ago
On Mon, Aug 25, 2025 at 01:51:16PM +0300, Ioana Risteiu wrote:
> 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>

(Hmm... weren't there tags in previous version(s) for this patch?)

-- 
With Best Regards,
Andy Shevchenko