Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1612646rdg; Sat, 14 Oct 2023 09:04:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFV4pDZfqRnUT7yijnT0R0o6Cfn8Y/MLHHyfQprjDSieTi/8Nt0IJzwHD3MWwbRrRKQeGLQ X-Received: by 2002:a17:90a:d186:b0:27d:2638:ed06 with SMTP id fu6-20020a17090ad18600b0027d2638ed06mr6469707pjb.18.1697299470139; Sat, 14 Oct 2023 09:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697299470; cv=none; d=google.com; s=arc-20160816; b=BIDq0kwxH6tV/bLFVLVmB9gZg1E92EDKYTTVPzzTPRPhm3FudBA1jsK2O8oLx3H8V4 mCAcFT/cwPsDJHNh6r1AhMuyEDJcH6tr6W/uJ9EaL1dzcw9Ug3E9aeCKvXvhBznjNfjE MH9sQSSaP1cdVymbZuBLBn8lWnpRXXjBdgQanF1chTIZUX9Y4BLkZh5GOc8/aFY3g27y zPT+zidFY2CZxDIFg/bfav4td1W+V/0z/AaArLdd3aIc7AahGM1bvkM8EfoKnOA5GTPv e4z2T/WpFJr7BR0rW1Z6rBH7xvG6SsVg9iTwhS44RBvfwf/1fDHT5MlOFJs7xAuEYGi+ 6idA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=v0tYPhTjVnZkxEoS7UFF5oo6sarb51W1BlJhG/OioDk=; fh=gt7kiq1I31I6JaLFOOXlR3vYP/DlsP/HRVxO24XhkVk=; b=tgsGCCfU+DiDkJCmPXemE31nAPvHai8dKmodMfat6Lpqi1WepjrSEXuc1KbEKoZnBy SBbKCIADDlvjG8kWP/KjNexs8qAekCaNOP/2jT1plzgmkMh3JCCDsaq1Jmt3CYuVMWAJ 2X2ssTtwtbv7hhg26YmVGlbFAsP3TWojx8nxzB68rsYA8ZOQI62WzLx251mTiI5ihHPm rQFSA/T3m2S+oCVpu32CVMeDIIpD35OcsKfJCQWnplQ/VkXp8tL0QmRjpM5R7N64c9bT LY4Kb5ZLn5EPCOCo12fmjPoe/I6AekW+Efq2RizuXoM+KtNHi71omkvJsYvmAK1Z7hHB N1jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i3O7siAf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id oa17-20020a17090b1bd100b0027b0aac2191si2756129pjb.15.2023.10.14.09.04.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 09:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i3O7siAf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 932C38028041; Sat, 14 Oct 2023 09:04:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232238AbjJNQEJ (ORCPT + 99 others); Sat, 14 Oct 2023 12:04:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230016AbjJNQEI (ORCPT ); Sat, 14 Oct 2023 12:04:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 828A8A9; Sat, 14 Oct 2023 09:04:06 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9E03C433C9; Sat, 14 Oct 2023 16:04:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697299446; bh=dwA3wJhJqf2VZhYG97S37gtePz/NR/a61GcE/DPC8Eg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=i3O7siAfUpTpwULkNDTi8/8z++C4sDIkcJ1Z2Nj3tF8AHdzbgojSRUKeoB6kX0XYw CWU5F352MyHGvSDBveWnxzMX5CyDUkHK7MPNx4bOqVjczmceA/KzIEjuAL0bqk4XQX +/f+JkmQknWG61+caV9q3RWNtcBaQ9AzaBdlNUWqlE23XJKRY/Dvt9Y0gBH8a+C/CT 7Y40tPvJbHmciuUoWEIs5pjnUQafYMUwNpuhaFbLnYMF8ihINZ3CTf7199f66xt2q4 0eBl3377uuj1ZLja1d6ofR+6GxF7fvRLaalmR5blejZxSWeKHQMIy0L13HFR7PN59E IHiLDqgbf3Htg== Date: Sat, 14 Oct 2023 17:04:21 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: Ramona Gradinariu , nuno.sa@analog.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] drivers: imu: adis16475.c: Remove scan index from delta channels Message-ID: <20231014170421.77eb0bbe@jic23-huawei> In-Reply-To: <1bbca62efe038e37a6a87f873d71d131d5ebdd2f.camel@gmail.com> References: <20231012122456.765709-1-ramona.gradinariu@analog.com> <20231012122456.765709-2-ramona.gradinariu@analog.com> <1bbca62efe038e37a6a87f873d71d131d5ebdd2f.camel@gmail.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 14 Oct 2023 09:04:27 -0700 (PDT) On Thu, 12 Oct 2023 17:35:02 +0200 Nuno S=C3=A1 wrote: > On Thu, 2023-10-12 at 17:09 +0200, Nuno S=C3=A1 wrote: > > Hi Ramona, > >=20 > > There are some odd stuff... > >=20 > > On Thu, 2023-10-12 at 15:24 +0300, Ramona Gradinariu wrote: =20 > > > Some devices do not support delta angle and delta velocity > > > burst readings, which means there should be no buffer support > > > for these types of channels. > > > A new list of channels is created which contains the delta > > > channels structures with the scan index equal to -1 to allow > > > for raw register readings, without buffer support. > > > This list of channels is assigned to the devices which > > > do not support delta angle and delta velocity burst > > > readings. > > >=20 > > > Fixes: 8f6bc87d67c0 ("iio: imu: adis16475.c: Add delta angle and delt= a velocity > > > channels") > > > Signed-off-by: Ramona Gradinariu > > > --- > > > =C2=A0drivers/iio/imu/adis16475.c | 67 +++++++++++++++++++++++++-----= ------- > > > =C2=A01 file changed, 46 insertions(+), 21 deletions(-) > > >=20 > > > diff --git a/drivers/iio/imu/adis16475.c b/drivers/iio/imu/adis16475.c > > > index 9af07fec0d89..b7cbe1565aee 100644 > > > --- a/drivers/iio/imu/adis16475.c > > > +++ b/drivers/iio/imu/adis16475.c > > > @@ -604,7 +604,15 @@ static int adis16475_write_raw(struct iio_dev *i= ndio_dev, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_MOD_CHAN_DE= LTA(IIO_DELTA_VELOCITY, IIO_MOD_ ## _mod, \ > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ADIS16475_REG_ ## _mod ## _DELTVEL_L, > > > ADIS16475_SCAN_DELTVEL_ ## _mod, 32, 32) > > > =C2=A0 > > > -static const struct iio_chan_spec adis16475_channels[] =3D { > > > +#define ADIS16475_DELTANG_CHAN_NO_SCAN(_mod) \ > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_MOD_CHAN_DELTA(I= IO_DELTA_ANGL, IIO_MOD_ ## _mod, \ > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ADIS16475_REG_ ## _mod ## _DELTANG_L, -1, 32, 32) > > > + > > > +#define ADIS16475_DELTVEL_CHAN_NO_SCAN(_mod) \ > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_MOD_CHAN_DELTA(I= IO_DELTA_VELOCITY, IIO_MOD_ ## _mod, \ > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ADIS16475_REG_ ## _mod ## _DELTVEL_L, -1, 32, 32) > > > + > > > +static const struct iio_chan_spec adis16477_channels[] =3D { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_GYRO_CHANNE= L(X), > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_GYRO_CHANNE= L(Y), > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_GYRO_CHANNE= L(Z), > > > @@ -621,6 +629,23 @@ static const struct iio_chan_spec adis16475_chan= nels[] =3D { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0IIO_CHAN_SOFT_TIMESTA= MP(13) > > > =C2=A0}; > > > =C2=A0 > > > +static const struct iio_chan_spec adis16475_channels[] =3D { =20 > >=20 > > I guess you mean adis16477_channels? > > =20 > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_GYRO_CHANNEL(X), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_GYRO_CHANNEL(Y), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_GYRO_CHANNEL(Z), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_ACCEL_CHANNEL(X), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_ACCEL_CHANNEL(Y), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_ACCEL_CHANNEL(Z), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_TEMP_CHANNEL(), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_DELTANG_CHAN_NO_= SCAN(X), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_DELTANG_CHAN_NO_= SCAN(Y), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_DELTANG_CHAN_NO_= SCAN(Z), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_DELTVEL_CHAN_NO_= SCAN(X), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_DELTVEL_CHAN_NO_= SCAN(Y), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_DELTVEL_CHAN_NO_= SCAN(Z), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0IIO_CHAN_SOFT_TIMESTAMP(7) > > > +}; > > > + > > > =C2=A0enum adis16475_variant { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16470, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ADIS16475_1, > > > @@ -782,8 +807,8 @@ static const struct adis16475_chip_info adis16475= _chip_info[] > > > =3D > > > { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0[ADIS16477_1] =3D { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.name =3D "adis16477-1", > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16475_channels), > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16475_channels, > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16477_channels), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16477_channels, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_val =3D 1, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_scale =3D IIO_RAD_TO_DEGREE(160 << 16), > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.accel_max_val =3D 1, > > > @@ -800,8 +825,8 @@ static const struct adis16475_chip_info adis16475= _chip_info[] > > > =3D > > > { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0[ADIS16477_2] =3D { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.name =3D "adis16477-2", > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16475_channels), > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16475_channels, > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16477_channels), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16477_channels, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_val =3D 1, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_scale =3D IIO_RAD_TO_DEGREE(40 << 16), > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.accel_max_val =3D 1, > > > @@ -818,8 +843,8 @@ static const struct adis16475_chip_info adis16475= _chip_info[] > > > =3D > > > { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0[ADIS16477_3] =3D { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.name =3D "adis16477-3", > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16475_channels), > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16475_channels, > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16477_channels), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16477_channels, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_val =3D 1, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_scale =3D IIO_RAD_TO_DEGREE(10 << 16), > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.accel_max_val =3D 1, > > > @@ -938,8 +963,8 @@ static const struct adis16475_chip_info adis16475= _chip_info[] > > > =3D > > > { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0[ADIS16500] =3D { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.name =3D "adis16500", > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16475_channels), > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16475_channels, > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16477_channels), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16477_channels, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_val =3D 1, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.gyro_max_scale =3D IIO_RAD_TO_DEGREE(10 << 16), > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.accel_max_val =3D 392, > > > @@ -957,8 +982,8 @@ static const struct adis16475_chip_info adis16475= _chip_info[] > > > =3D > > > { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0[ADIS16505_1] =3D { > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0.name =3D "adis16505-1", > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16475_channels), > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16475_channels, > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.num_channels =3D ARRAY_SIZE(adis16477_channels), > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0.channels =3D adis16477_channels, =20 > >=20 > > AFAICS, this supports delta channels in burst mode... right? Please mak= e sure to go > > again through the datasheets so we make this right... > > =20 >=20 > Alright, I just saw I missed the diff renaming adis16475_channels > > adis16477_channels. MAybe you could state why you did it in the commit me= ssage. > Anyhow: >=20 > Reviewed-by: Nuno Sa >=20 Applied.