Re: [PATCH v2 10/10] iio: adc: ad7606_par: add ad7606c chips
From: Jonathan Cameron
Date: Sun Mar 30 2025 - 14:08:45 EST
On Tue, 18 Mar 2025 17:52:18 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:
> Add lookup table entries for ad7606c-16 and ad7606c-18 chips.
>
> Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
Applied to the togreg branch of iio.git which due to timing I'll only
push out as testing until rc1 is available for me to rebase on top of.
Thanks,
Jonathan
> ---
> drivers/iio/adc/ad7606_par.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/iio/adc/ad7606_par.c b/drivers/iio/adc/ad7606_par.c
> index e33b07ab5eace4b78e7cf39ee7e8d9379c9f73e7..634852c4bbd2c531d6c0e02d2f1e62db9008cad9 100644
> --- a/drivers/iio/adc/ad7606_par.c
> +++ b/drivers/iio/adc/ad7606_par.c
> @@ -222,6 +222,8 @@ static const struct platform_device_id ad7606_driver_ids[] = {
> { .name = "ad7606-6", .driver_data = (kernel_ulong_t)&ad7606_6_info, },
> { .name = "ad7606-8", .driver_data = (kernel_ulong_t)&ad7606_8_info, },
> { .name = "ad7606b", .driver_data = (kernel_ulong_t)&ad7606b_info, },
> + { .name = "ad7606c-16", .driver_data = (kernel_ulong_t)&ad7606c_16_info },
> + { .name = "ad7606c-18", .driver_data = (kernel_ulong_t)&ad7606c_18_info },
> { .name = "ad7607", .driver_data = (kernel_ulong_t)&ad7607_info, },
> { .name = "ad7608", .driver_data = (kernel_ulong_t)&ad7608_info, },
> { .name = "ad7609", .driver_data = (kernel_ulong_t)&ad7609_info, },
> @@ -235,6 +237,8 @@ static const struct of_device_id ad7606_of_match[] = {
> { .compatible = "adi,ad7606-6", .data = &ad7606_6_info },
> { .compatible = "adi,ad7606-8", .data = &ad7606_8_info },
> { .compatible = "adi,ad7606b", .data = &ad7606b_info },
> + { .compatible = "adi,ad7606c-16", .data = &ad7606c_16_info },
> + { .compatible = "adi,ad7606c-18", .data = &ad7606c_18_info },
> { .compatible = "adi,ad7607", .data = &ad7607_info },
> { .compatible = "adi,ad7608", .data = &ad7608_info },
> { .compatible = "adi,ad7609", .data = &ad7609_info },
>