Message ID | 20230719123152.309624-3-ramona.bolboaca@analog.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Add new channels for adis16475 | expand |
On Wed, 2023-07-19 at 15:31 +0300, Ramona Bolboaca wrote: > adis16477 devices support burst32 function, thus has_burst32 > flag should be set to true. > > Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com> > --- Ups... Reviewed-by: Nuno Sa <nuno.sa@analog.com> > drivers/iio/imu/adis16475.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/iio/imu/adis16475.c b/drivers/iio/imu/adis16475.c > index 243f0a91fdf9..17275a53ca2c 100644 > --- a/drivers/iio/imu/adis16475.c > +++ b/drivers/iio/imu/adis16475.c > @@ -726,6 +726,7 @@ static const struct adis16475_chip_info > adis16475_chip_info[] = { > .max_dec = 1999, > .sync = adis16475_sync_mode, > .num_sync = ARRAY_SIZE(adis16475_sync_mode), > + .has_burst32 = true, > .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), > }, > [ADIS16477_2] = { > @@ -741,6 +742,7 @@ static const struct adis16475_chip_info > adis16475_chip_info[] = { > .max_dec = 1999, > .sync = adis16475_sync_mode, > .num_sync = ARRAY_SIZE(adis16475_sync_mode), > + .has_burst32 = true, > .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), > }, > [ADIS16477_3] = { > @@ -756,6 +758,7 @@ static const struct adis16475_chip_info > adis16475_chip_info[] = { > .max_dec = 1999, > .sync = adis16475_sync_mode, > .num_sync = ARRAY_SIZE(adis16475_sync_mode), > + .has_burst32 = true, > .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), > }, > [ADIS16465_1] = {
On Thu, 20 Jul 2023 09:39:27 +0200 Nuno Sá <noname.nuno@gmail.com> wrote: > On Wed, 2023-07-19 at 15:31 +0300, Ramona Bolboaca wrote: > > adis16477 devices support burst32 function, thus has_burst32 > > flag should be set to true. > > > > Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com> > > --- > > Ups... > > Reviewed-by: Nuno Sa <nuno.sa@analog.com> Applied. Thanks, Jonathan > > > drivers/iio/imu/adis16475.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/drivers/iio/imu/adis16475.c b/drivers/iio/imu/adis16475.c > > index 243f0a91fdf9..17275a53ca2c 100644 > > --- a/drivers/iio/imu/adis16475.c > > +++ b/drivers/iio/imu/adis16475.c > > @@ -726,6 +726,7 @@ static const struct adis16475_chip_info > > adis16475_chip_info[] = { > > .max_dec = 1999, > > .sync = adis16475_sync_mode, > > .num_sync = ARRAY_SIZE(adis16475_sync_mode), > > + .has_burst32 = true, > > .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), > > }, > > [ADIS16477_2] = { > > @@ -741,6 +742,7 @@ static const struct adis16475_chip_info > > adis16475_chip_info[] = { > > .max_dec = 1999, > > .sync = adis16475_sync_mode, > > .num_sync = ARRAY_SIZE(adis16475_sync_mode), > > + .has_burst32 = true, > > .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), > > }, > > [ADIS16477_3] = { > > @@ -756,6 +758,7 @@ static const struct adis16475_chip_info > > adis16475_chip_info[] = { > > .max_dec = 1999, > > .sync = adis16475_sync_mode, > > .num_sync = ARRAY_SIZE(adis16475_sync_mode), > > + .has_burst32 = true, > > .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), > > }, > > [ADIS16465_1] = { >
diff --git a/drivers/iio/imu/adis16475.c b/drivers/iio/imu/adis16475.c index 243f0a91fdf9..17275a53ca2c 100644 --- a/drivers/iio/imu/adis16475.c +++ b/drivers/iio/imu/adis16475.c @@ -726,6 +726,7 @@ static const struct adis16475_chip_info adis16475_chip_info[] = { .max_dec = 1999, .sync = adis16475_sync_mode, .num_sync = ARRAY_SIZE(adis16475_sync_mode), + .has_burst32 = true, .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), }, [ADIS16477_2] = { @@ -741,6 +742,7 @@ static const struct adis16475_chip_info adis16475_chip_info[] = { .max_dec = 1999, .sync = adis16475_sync_mode, .num_sync = ARRAY_SIZE(adis16475_sync_mode), + .has_burst32 = true, .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), }, [ADIS16477_3] = { @@ -756,6 +758,7 @@ static const struct adis16475_chip_info adis16475_chip_info[] = { .max_dec = 1999, .sync = adis16475_sync_mode, .num_sync = ARRAY_SIZE(adis16475_sync_mode), + .has_burst32 = true, .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts), }, [ADIS16465_1] = {
adis16477 devices support burst32 function, thus has_burst32 flag should be set to true. Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com> --- drivers/iio/imu/adis16475.c | 3 +++ 1 file changed, 3 insertions(+)