From nobody Sat Nov 23 23:56:56 2024 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DF14194A48; Fri, 8 Nov 2024 12:44:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.135.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731069891; cv=none; b=WHchEF+DY8F+5DV0gLww7oWdR7oel016jBq+CAt8oXz0u3qTFIKP0+iIRtLp8301XiVP4WpTDKyH5kBrk7vUqcNmaB7hESJ4uMQKdwyywXLEgnjoAfE352KNb7G9D+nr37ut0/cRnWkXK56F08XeTtCP1RaZqVA4k2bP3qQ9SAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731069891; c=relaxed/simple; bh=+hM9oCycKPG2Im2P+cJRs2fmrNK6J8jyE9AeCDkvaTI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OMujzaiwUopXww8x6VyNoT2+gzu9SZyl7/ygbiHhQvl3vSj2aNrExJjwS0vxPTYIC05boIeQynpHcor8/QrHU/SQDV/us4+6ZlmAZxrGBSI0GbNcNty08q7b/ohQFBvw8RQjUD23V+2SRWSnta/fSc+FfzezxpVG/MW49zvasVU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com; spf=pass smtp.mailfrom=analog.com; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b=SgFKiUtD; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b="SgFKiUtD" Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A8AWrCp031703; Fri, 8 Nov 2024 07:44:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=TwImk MgddOJq5AUfqyWJs3Vg3f7JD+1MRKYO0nkHslY=; b=SgFKiUtDy90fBBAiJyINu NKQb4GLLbYMcdmYlEA7LIYPwfXfTL1+r6EdTYxr290vKUjVSjhkUrOP5h0pVzY3L DrvSNqZyZSW/9Ic0K6G1UDSFzp2CNu/fMkMZdeDm6Hnxr3aQx2oVWu2+rheL4Vs9 Gnjg6wnWnwvMl0kI6p3S/33Jp46NOhA/pAhLGRQKKWrJVKLQpNk3Qwd6rlJCJ7/0 +qMsV0xtv27SaDIq4/SWcRTxDSN81Bzz5aGNVFbNrrB1ryDTcxpxSb8+tdE/t0oM aCluwB05M6t5GHiQfgMBB0GNqzYi/Jy0M3oQ8YneTPmtb7e0XZWvT1Q9wRCwFyLS Q== Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 42s6jd363q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Nov 2024 07:44:37 -0500 (EST) Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 4A8CiZ7Q020350 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Nov 2024 07:44:35 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Fri, 8 Nov 2024 07:44:35 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Fri, 8 Nov 2024 07:44:35 -0500 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 4A8CiNcY003412; Fri, 8 Nov 2024 07:44:31 -0500 From: Darius Berghe To: , , , , , , , CC: , , , , Subject: [PATCH v3 1/3] iio: imu: adis16480: add devices to adis16480 driver Date: Fri, 8 Nov 2024 14:58:12 +0200 Message-ID: <20241108125814.3097213-2-darius.berghe@analog.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241108125814.3097213-1-darius.berghe@analog.com> References: <20241108125814.3097213-1-darius.berghe@analog.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: TgHj85ePiDPIy4mYN0ZeXtXOeWFmjzIh X-Proofpoint-GUID: TgHj85ePiDPIy4mYN0ZeXtXOeWFmjzIh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=999 impostorscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411080106 Content-Type: text/plain; charset="utf-8" Add support for adis16486, adis16487 and adis16489 Six Degrees of Freedom Inertial Sensors into the existing adis16480 iio subsystem driver. adis16486 is similar to adis16485, has the exact same channels but acceleration and delta velocity scales are different. adis16487 is fallback compatible with adis16485. adis16489 is similar to adis16488 but lacks the magnetometer and has a different accelerometer scale. Signed-off-by: Darius Berghe --- drivers/iio/imu/adis16480.c | 75 +++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c index 294181f2fcb3..569a03598952 100644 --- a/drivers/iio/imu/adis16480.c +++ b/drivers/iio/imu/adis16480.c @@ -878,11 +878,32 @@ static const struct iio_chan_spec adis16545_channels[= ] =3D { IIO_CHAN_SOFT_TIMESTAMP(17), }; =20 +static const struct iio_chan_spec adis16489_channels[] =3D { + ADIS16480_GYRO_CHANNEL(X), + ADIS16480_GYRO_CHANNEL(Y), + ADIS16480_GYRO_CHANNEL(Z), + ADIS16480_ACCEL_CHANNEL(X), + ADIS16480_ACCEL_CHANNEL(Y), + ADIS16480_ACCEL_CHANNEL(Z), + ADIS16480_PRESSURE_CHANNEL(), + ADIS16480_TEMP_CHANNEL(), + IIO_CHAN_SOFT_TIMESTAMP(8), + ADIS16480_DELTANG_CHANNEL_NO_SCAN(X), + ADIS16480_DELTANG_CHANNEL_NO_SCAN(Y), + ADIS16480_DELTANG_CHANNEL_NO_SCAN(Z), + ADIS16480_DELTVEL_CHANNEL_NO_SCAN(X), + ADIS16480_DELTVEL_CHANNEL_NO_SCAN(Y), + ADIS16480_DELTVEL_CHANNEL_NO_SCAN(Z), +}; + enum adis16480_variant { ADIS16375, ADIS16480, ADIS16485, + ADIS16486, + ADIS16487, ADIS16488, + ADIS16489, ADIS16490, ADIS16495_1, ADIS16495_2, @@ -1038,6 +1059,38 @@ static const struct adis16480_chip_info adis16480_ch= ip_info[] =3D { .filter_freqs =3D adis16480_def_filter_freqs, .adis_data =3D ADIS16480_DATA(16485, &adis16485_timeouts, 0, 0), }, + [ADIS16486] =3D { + .channels =3D adis16485_channels, + .num_channels =3D ARRAY_SIZE(adis16485_channels), + .gyro_max_val =3D 22500 << 16, + .gyro_max_scale =3D IIO_DEGREE_TO_RAD(450), + .accel_max_val =3D IIO_M_S_2_TO_G(20000 << 16), + .accel_max_scale =3D 18, + .temp_scale =3D 5650, /* 5.65 milli degree Celsius */ + .deltang_max_val =3D IIO_DEGREE_TO_RAD(720), + .deltvel_max_val =3D 200, + .int_clk =3D 2460000, + .max_dec_rate =3D 2048, + .has_sleep_cnt =3D true, + .filter_freqs =3D adis16480_def_filter_freqs, + .adis_data =3D ADIS16480_DATA(16486, &adis16480_timeouts, 0, 0), + }, + [ADIS16487] =3D { + .channels =3D adis16485_channels, + .num_channels =3D ARRAY_SIZE(adis16485_channels), + .gyro_max_val =3D 22500 << 16, + .gyro_max_scale =3D IIO_DEGREE_TO_RAD(450), + .accel_max_val =3D IIO_M_S_2_TO_G(20000 << 16), + .accel_max_scale =3D 5, + .temp_scale =3D 5650, /* 5.65 milli degree Celsius */ + .deltang_max_val =3D IIO_DEGREE_TO_RAD(720), + .deltvel_max_val =3D 50, + .int_clk =3D 2460000, + .max_dec_rate =3D 2048, + .has_sleep_cnt =3D true, + .filter_freqs =3D adis16480_def_filter_freqs, + .adis_data =3D ADIS16480_DATA(16487, &adis16485_timeouts, 0, 0), + }, [ADIS16488] =3D { .channels =3D adis16480_channels, .num_channels =3D ARRAY_SIZE(adis16480_channels), @@ -1054,6 +1107,22 @@ static const struct adis16480_chip_info adis16480_ch= ip_info[] =3D { .filter_freqs =3D adis16480_def_filter_freqs, .adis_data =3D ADIS16480_DATA(16488, &adis16485_timeouts, 0, 0), }, + [ADIS16489] =3D { + .channels =3D adis16489_channels, + .num_channels =3D ARRAY_SIZE(adis16489_channels), + .gyro_max_val =3D 22500 << 16, + .gyro_max_scale =3D IIO_DEGREE_TO_RAD(450), + .accel_max_val =3D IIO_M_S_2_TO_G(20000 << 16), + .accel_max_scale =3D 18, + .temp_scale =3D 5650, /* 5.65 milli degree Celsius */ + .deltang_max_val =3D IIO_DEGREE_TO_RAD(720), + .deltvel_max_val =3D 200, + .int_clk =3D 2460000, + .max_dec_rate =3D 2048, + .has_sleep_cnt =3D true, + .filter_freqs =3D adis16480_def_filter_freqs, + .adis_data =3D ADIS16480_DATA(16489, &adis16480_timeouts, 0, 0), + }, [ADIS16490] =3D { .channels =3D adis16485_channels, .num_channels =3D ARRAY_SIZE(adis16485_channels), @@ -1741,7 +1810,10 @@ static const struct spi_device_id adis16480_ids[] = =3D { { "adis16375", ADIS16375 }, { "adis16480", ADIS16480 }, { "adis16485", ADIS16485 }, + { "adis16486", ADIS16486 }, + { "adis16487", ADIS16487 }, { "adis16488", ADIS16488 }, + { "adis16489", ADIS16489 }, { "adis16490", ADIS16490 }, { "adis16495-1", ADIS16495_1 }, { "adis16495-2", ADIS16495_2 }, @@ -1763,7 +1835,10 @@ static const struct of_device_id adis16480_of_match[= ] =3D { { .compatible =3D "adi,adis16375" }, { .compatible =3D "adi,adis16480" }, { .compatible =3D "adi,adis16485" }, + { .compatible =3D "adi,adis16486" }, + { .compatible =3D "adi,adis16487" }, { .compatible =3D "adi,adis16488" }, + { .compatible =3D "adi,adis16489" }, { .compatible =3D "adi,adis16490" }, { .compatible =3D "adi,adis16495-1" }, { .compatible =3D "adi,adis16495-2" }, --=20 2.46.1 From nobody Sat Nov 23 23:56:56 2024 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 877DA1E572F; Fri, 8 Nov 2024 12:44:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.135.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731069893; cv=none; b=Fh2eOkOaPgW87j332eTzmDAbFsFjy494Pe1jAT0qfMKB0huyttuoaiporDgSr3ZrOtl4Nfgtj2GYkuMfW8IILlwsVr5ihyL9/BE6zJx/BQ8Bzs93W7oKrFsDm3m2pkOQa5xLu+lO939XwkTtUOTwNCr2HC3FGV2LaHBHDj2nrA4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731069893; c=relaxed/simple; bh=fMAs/dLeRF3yNNq2BxZZKriRjKvdO4aQdPryUzbHMcc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OqG9wF2+Z/0oRWhgZzsYLHTrOSuum8w4uLo0QZF33JiKgmRRnLBi5xbVBz3ILYqhMCYGaRv71LQSrrPPhFMEGHhDE0zqIL2NULGbCv/yCVxFTehO6jDw10gHJj581katFxVaiG5/FdZOqGURtRXLLczlz1E7XeCxQ5qupooKeqY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com; spf=pass smtp.mailfrom=analog.com; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b=Pr+dLgOJ; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b="Pr+dLgOJ" Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A89pHib018402; Fri, 8 Nov 2024 07:44:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=FQC8k YwEFbuxm+sYIQtO2eVJbQF6NGv6XDLTzJIFrZc=; b=Pr+dLgOJ9p6bCD5aoe/Xd FYUUK381qFp8qia4A17CUM7cxWeHwn02sQkgO8INmfTqcljRjn1FNWop+n4iH6gN /17ROVUpnQQ1Uj1i2BkA8Ih/x4bjzbMTbWZzesxfibKCjmtGfo9Dmud4dv3p5A5m LFJuAR9Nno4tF0EAUj3tdB2YPuUBo3YeX85OMJ8T7xfUh9Mh3jcAA+DFZxEO5bCm 7oOWTJL+ApFuQmT4F8dmS0zV21PDyY/hsJGqzeVtV4E8ljnvTgdy9zLiDDeFJeAc zHKxjrjLZEumAt4uyIFncpcx5+PnEi9fUqoh5a4qJGmPogYfLR1+KbriERFCjsW+ Q== Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 42s6g7k74a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Nov 2024 07:44:38 -0500 (EST) Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 4A8CibeJ020354 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Nov 2024 07:44:37 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Fri, 8 Nov 2024 07:44:37 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Fri, 8 Nov 2024 07:44:37 -0500 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 4A8CiNcZ003412; Fri, 8 Nov 2024 07:44:33 -0500 From: Darius Berghe To: , , , , , , , CC: , , , , Subject: [PATCH v3 2/3] iio: imu: adis16480: add devices to adis16480 - docs Date: Fri, 8 Nov 2024 14:58:13 +0200 Message-ID: <20241108125814.3097213-3-darius.berghe@analog.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241108125814.3097213-1-darius.berghe@analog.com> References: <20241108125814.3097213-1-darius.berghe@analog.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: 8hSjOgvx3aW03TvBhYmEzjfCmX8OHN5R X-Proofpoint-GUID: 8hSjOgvx3aW03TvBhYmEzjfCmX8OHN5R X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 adultscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=832 suspectscore=0 clxscore=1015 spamscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411080106 Content-Type: text/plain; charset="utf-8" Add datasheet links for adis16486, adis16487 and adis16489 Six Degrees of Freedom Inertial Sensors into the existing adis16480 driver documentation. adis16486 is similar to adis16485, has the exact same channels but acceleration and delta velocity scales are different. adis16487 is fallback compatible with adis16485. adis16489 is similar to adis16488 but lacks the magnetometer and has a different accelerometer scale. Signed-off-by: Darius Berghe --- Documentation/iio/adis16480.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/iio/adis16480.rst b/Documentation/iio/adis16480.= rst index bc78fa04d958..4a2d40e0daa7 100644 --- a/Documentation/iio/adis16480.rst +++ b/Documentation/iio/adis16480.rst @@ -12,7 +12,10 @@ This driver supports Analog Device's IMUs on SPI bus. * `ADIS16375 `_ * `ADIS16480 `_ * `ADIS16485 `_ +* `ADIS16486 `_ +* `ADIS16487 `_ * `ADIS16488 `_ +* `ADIS16489 `_ * `ADIS16490 `_ * `ADIS16495 `_ * `ADIS16497 `_ --=20 2.46.1 From nobody Sat Nov 23 23:56:56 2024 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4E6E1EBA07; Fri, 8 Nov 2024 12:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.135.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731069897; cv=none; b=XCL0Lo/4QVuLZ5NFy5FoDCTDjvIyiwhOZpTvcQEWxpy+esHa2ZRLYxVGx/scDbEe7CENy3ScRlU3eDaV+fK3ar9ZgUrFq4+wBWAsu5uo9lv0svI9V0lEJwSoEobVx6JHTVKb8TGPuNa+Bap6iXrT2B4LGjeUiDw+fxuTgjKBAYw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731069897; c=relaxed/simple; bh=U+67OIQ2c58e/Bd+/4wKWvkI8Xjg4EknaZc7K+ctL9o=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pl5WwDPoUZ7ylkkBq1GbTwEZKbXvnMv5jMrp6DIVzbaeXzVqbKS9+QTIqLBLn4AEmTZSrnFUA0ksox3NES6qqGfFR+mUQTfSER2JgYOACyVbvWjeRUOjkNrXKu3tcqsSvig/U1mhnmT5dA/3X3Tvj1O4nmjqtfKxcU4kMApXd9Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com; spf=pass smtp.mailfrom=analog.com; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b=1i6/6+SC; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b="1i6/6+SC" Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A89FfYq020246; Fri, 8 Nov 2024 07:44:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=fsJar vn0b7hrkfTpjJlOMKMmr/huC1+WZ/1frECXZbk=; b=1i6/6+SCE9uNElllODuCu MXyEtx653+iLvoORjU2SbI6mDy/gfCEgrOPY7DpMW7cOPj6sZ1JBDix33omY852j wVwnnwvlRFFzBxfNbkR6xxI7pFxlZvA/aVtXtFn1lTrVBDl/6k0fieGMlfwCqgMr anvEzGeyLRIbdtl7ZQLHc2gQP+8+lzKfN/qDBiLf6rYj/sftCsUXe0pRiRfbNnhu swDIurGBMOBuakWw8CCWBdDYIyvPN5QqWaelEXnhSzfVgQEF//8ZZhzFdfzY5box sKha6gxDzphRDe4nhI4L/dpoFP9WrZaTBN+HbQ7oYUj6vMm0LcE4MSK29ID0F7W7 g== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 42s6g7k74h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Nov 2024 07:44:42 -0500 (EST) Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 4A8CifxS040865 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Nov 2024 07:44:41 -0500 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Fri, 8 Nov 2024 07:44:41 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Fri, 8 Nov 2024 07:44:41 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Fri, 8 Nov 2024 07:44:41 -0500 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 4A8CiNca003412; Fri, 8 Nov 2024 07:44:35 -0500 From: Darius Berghe To: , , , , , , , CC: , , , , Subject: [PATCH v3 3/3] dt-bindings: iio: adis16480: add devices to adis16480 Date: Fri, 8 Nov 2024 14:58:14 +0200 Message-ID: <20241108125814.3097213-4-darius.berghe@analog.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241108125814.3097213-1-darius.berghe@analog.com> References: <20241108125814.3097213-1-darius.berghe@analog.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: 7C7DqUvmR-9oPHbgalodOxI-Rl5ibh_k X-Proofpoint-GUID: 7C7DqUvmR-9oPHbgalodOxI-Rl5ibh_k X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 adultscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=999 suspectscore=0 clxscore=1015 spamscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411080106 Content-Type: text/plain; charset="utf-8" Add the adis16486, adis16487 and adis16489 Six Degrees of Freedom Inertial Sensors to the list of compatible devices of the adis16480 iio subsystem driver. adis16486 is similar to adis16485, has the exact same channels but acceleration and delta velocity scales are different. adis16487 is fallback compatible with adis16485 and as a consequence, dt-bindings list was updated to use oneOf. adis16489 is similar to adis16488 but lacks the magnetometer and has a different accelerometer scale. Signed-off-by: Darius Berghe Acked-by: Conor Dooley --- .../bindings/iio/imu/adi,adis16480.yaml | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16480.yaml b= /Documentation/devicetree/bindings/iio/imu/adi,adis16480.yaml index e3eec38897bf..7a1a74fec281 100644 --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16480.yaml +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16480.yaml @@ -11,24 +11,30 @@ maintainers: =20 properties: compatible: - enum: - - adi,adis16375 - - adi,adis16480 - - adi,adis16485 - - adi,adis16488 - - adi,adis16490 - - adi,adis16495-1 - - adi,adis16495-2 - - adi,adis16495-3 - - adi,adis16497-1 - - adi,adis16497-2 - - adi,adis16497-3 - - adi,adis16545-1 - - adi,adis16545-2 - - adi,adis16545-3 - - adi,adis16547-1 - - adi,adis16547-2 - - adi,adis16547-3 + oneOf: + - enum: + - adi,adis16375 + - adi,adis16480 + - adi,adis16485 + - adi,adis16486 + - adi,adis16488 + - adi,adis16489 + - adi,adis16490 + - adi,adis16495-1 + - adi,adis16495-2 + - adi,adis16495-3 + - adi,adis16497-1 + - adi,adis16497-2 + - adi,adis16497-3 + - adi,adis16545-1 + - adi,adis16545-2 + - adi,adis16545-3 + - adi,adis16547-1 + - adi,adis16547-2 + - adi,adis16547-3 + - items: + - const: adi,adis16487 + - const: adi,adis16485 =20 reg: maxItems: 1 --=20 2.46.1