Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2101959lqb; Mon, 27 May 2024 07:58:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXRo8XemujaHDukp3VjA1Gjf8Ml1zjLv/RmpUD8sOcNubroOZKMTnml4bMD6JZ7StH9H6ixBwUMl9A6Jk91RETUDTG0qZbjdUzMwPiZXw== X-Google-Smtp-Source: AGHT+IGZ6PRXvq96FJthh4mwjiwA1h4sBiBEM1ONu4WIo5BiuHf9ba60PV2GRQcs+knBdkMUmNgl X-Received: by 2002:a05:6214:5412:b0:6ab:6faa:3ba8 with SMTP id 6a1803df08f44-6abcda68d9bmr109759876d6.42.1716821913947; Mon, 27 May 2024 07:58:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716821913; cv=pass; d=google.com; s=arc-20160816; b=Ksg59S1GSfhKlvxlicHZBSRjqeKV5+Hdt6BtyG2iJLdXkclNbvuWLLVHl5hHkuslBo LFbN4unidWwsKzcn0S84o5UqxNQEVBouqTUMx9xSd0mtUFn7TVc9p0DoPmwu76puQf0H FsM9Hqf78mUYPdHBJZwCdN3ywLVAwXlU9DeDM5P9lBXMPGqtivoFa/aT25quC/MhbPm6 0KThcSNV2CKuC3w6Mru5Tp49qwIeW7lzLoiA6zyMIW49jJzWAtXR7iPdFQlZ2Ty9mr4F wSj9j912E9knI24pPgA7WsC7J1TcSrSPvarRCc4V7NBTqMUyxWP1i0Vck7nvy2BPuYyT 8f3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=rk4/vnQZ81wjUO4Em5QwJ+7FetQF6/nmn1oakCi33wg=; fh=uPl+Rur4prGHPjBoY2tZiKVl0HxL/J2vBBmthe+I2Y4=; b=jADsqnMOMo5rjuG/8u2BP9eGNKcSGHstiO5C8FyXQIZMT7a5AFk0TqCkP+IFkV4t2P NDGbVTNtE0oo47mA0lCFzSraX+HxrPGHR5ResXPsjj5SHm3HvFMrjfLOq/m8HIHCyxC0 lddDl7EhaA0UiP93ZY6X3e8oASNK6eO3y+Fx5oDdPg5oklUTt5e4+BpqUtpcowBlWY3U AH3oukPD8hbOfCx8eloMEtSN2UViqJLd/A1phAXzK9z4DmeLi45LEyRui4rluL1Jd1tH TCfQ1MxOPmgxkoAaUnprxbT5g4/S1pWXxzvWXW4nZIB+7kUpzCECsU9LRAFk2NuhCWHZ Iyhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m9346zTe; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac070f0c9fsi82978296d6.260.2024.05.27.07.58.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 07:58:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m9346zTe; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D0E0F1C21942 for ; Mon, 27 May 2024 14:58:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B34A172BCC; Mon, 27 May 2024 14:26:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="m9346zTe" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1AEC0171660; Mon, 27 May 2024 14:26:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819987; cv=none; b=ebj/RR/PrukfBUtxYCwQihz2OFQS4ydcaLF9frcq9EvzXLvI1oZncLshQZbA95seoSIfgeAyWqI/kjpXYAikA0NIO1c1MIdJzvi4UhwiGmRSf1jPok3YK4fzwn1ukQwdLi68zFy76/xnoqpH1NHEwy7xr5RsFb9LK7taeg5HoWk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819987; c=relaxed/simple; bh=CfLh9yu54xuTSwlbf9xMLzFnPHFmKJW9PS9bvEukrAc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=q1qb2Rr+ITthtxxSGoTh8gfFpehYeQH9XJ0+omLSgmgyYkSHovzhjjFgrnl2rzPtcg35Wgu7goNIEg7pbl1kw66M4xf7HnYE6djr5ENBECVUdPQah3Qg6jlsoYQz6h9VOJzdJHHJtyuRcJWNWwUfvINF7BQmiIGiJB4z24wW97Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=m9346zTe; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5295f012748so3686094e87.1; Mon, 27 May 2024 07:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716819984; x=1717424784; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rk4/vnQZ81wjUO4Em5QwJ+7FetQF6/nmn1oakCi33wg=; b=m9346zTeTEu9OVZca01hweNTgXqw95kl1ORfCalGgBtY12qVJFglyZHTD+PvWBtO1s TCf3ms3g998t8JMq34cdfzC2bFICRhytpV9r5mv3jltSTjKSarjymNBQhYCFdChAjKXK xQVYlrLr8UqQuk7WSelLk86+ZIvMBhvPk4sxP59VTQfSgieH/SECSeHJDhHS74XcaiZ3 j8yLHBjCFoNKXv5OxwTA6yzZBlKq5Tf7/HcPbm5OCkZMwO8L78WAyfnKcLGI59I3Y1tx gXiZnYU8IptbLUFkMJ7jw/UnLbBGDRwryZaks+OanjJin5Fek8DbVFwDE78JLwkmshi5 s5Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716819984; x=1717424784; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rk4/vnQZ81wjUO4Em5QwJ+7FetQF6/nmn1oakCi33wg=; b=Hbbusj8Dziu2CnTjDsIVo+HEPOxLOGzzUgdQ4kxsiD7IKjEL5XQxuMNWCvdHtjOT1o F5RrduayoXssFm+EojSGyicv9L8s+vsUdHWazq3b0F5oJ+iWWYRXQhtwIYqBUFSyNM+v weWsbkhTrDXOpAd3ipiNIK+y3RGUytQdQKIS+cW9WEViMhFHj0T/4daxPGTnjmcuEWr6 Q0CbxP8r29U+AJTW7JcY9Mh9abq0Rf1B/U2J2+IDkjB6dy6HDRoJ8IvNNgzgkBetSPF+ 0k9aZAcWlYXW5Pb2bhzLJw9grVLJPKVWVwvZDscQbBjvbngzh3KCciA+XOV5OG8m0y7b iePA== X-Forwarded-Encrypted: i=1; AJvYcCUBmRYJM78mFCLwe4dbwbv1Bc0L42RCzx1bUqFv7G6ebmr/ohwM9Vlpy+qYt3kVUlL7gpvFg8kxppFSGHgyz4z3GjZAKhyErprbIKWxXqjAT9p9HbYR/+aygVyaCRaA23egatdxlQ== X-Gm-Message-State: AOJu0YzdvhslMzP9rxUJV7YBVVLPXxuP1d06ksrnita9ti8O9LdzYEKS 4JeDyDeU/uWkwPV58keWcPDa6cPAVcsEKYGQQpbnAM2/QdU/dVC//cMHadJ/Px4= X-Received: by 2002:a05:6512:94b:b0:51d:d4e8:c71c with SMTP id 2adb3069b0e04-5296556f23amr5575585e87.36.1716819983682; Mon, 27 May 2024 07:26:23 -0700 (PDT) Received: from rbolboac.. ([2a02:2f0e:350b:4500:9c9:f6ef:e79b:45ce]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-421089ae976sm110537875e9.38.2024.05.27.07.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 07:26:23 -0700 (PDT) From: Ramona Gradinariu To: linux-kernel@vger.kernel.org, jic23@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, nuno.sa@analog.com Cc: Ramona Gradinariu Subject: [PATCH v5 0/9] adis16501 and adis1657x support Date: Mon, 27 May 2024 17:26:09 +0300 Message-Id: <20240527142618.275897-1-ramona.bolboaca13@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add adis16501 and adis1657x support in adis16475. Ramona Gradinariu (9): dt-bindings: iio: imu: Add ADIS16501 compatibles drivers: iio: imu: Add support for ADIS16501 iio: imu: adis_buffer: Add buffer setup API with buffer attributes iio: imu: adis16475: Create push single sample API drivers: iio: imu: adis16475: generic computation for sample rate iio: imu: adis_trigger: Allow level interrupts for FIFO readings iio: imu: adis16475: Re-define ADIS16475_DATA dt-bindings: iio: imu: Add ADIS1657X family devices compatibles drivers: iio: imu: Add support for adis1657x family .../bindings/iio/imu/adi,adis16475.yaml | 31 + drivers/iio/imu/Kconfig | 4 +- drivers/iio/imu/adis16475.c | 807 +++++++++++++++--- drivers/iio/imu/adis_buffer.c | 32 +- drivers/iio/imu/adis_trigger.c | 37 +- include/linux/iio/imu/adis.h | 21 +- 6 files changed, 792 insertions(+), 140 deletions(-) -- 2.34.1