From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (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 7055B264633 for ; Mon, 10 Feb 2025 20:51:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739220693; cv=none; b=avXfYYqOP6Tfc2r5eKyzPso4TBcYZ0VvLJyPIMj/b3r0cedbJI9WIh1Cb2Mdlec/WY08k1IGSEi44wAkSDEASa3WzSAmMqEvrNPyfORNtiwVGTjeeboGtmzK68o+8G915NKvBrmPhKt9AKWMrfkAHCCWOpG6lVjSXVJGnEQYj60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739220693; c=relaxed/simple; bh=9Tts8bN+Vg2rVmzEoo3WT6QiqIuEvhCfD+wFxC4C/Jo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IcVNM5sUqxxRgFIk2lYR6LoYD+UVwTk1jfvnblwVfVL7dFkkB+hcXqsn3dKxinSGKy1BK3wj4CUILiibcgFHhxG23qjlFYyIjvfScCPyyATvx+sqNfqtoU3YUW6Uy868nYtj5lVtqEIw5329RoP1kKOkVzOHXtPXIAIVIj6Yn3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=I07Jfy4K; arc=none smtp.client-ip=209.85.210.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="I07Jfy4K" Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-724a5d0427fso3298924a34.1 for ; Mon, 10 Feb 2025 12:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1739220690; x=1739825490; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pK7AXEk3/gHFbkZZyPXrZYFNc/hvV4Yc2BS6Eez02IA=; b=I07Jfy4Kjq2r6YSoOVR26jWRn+Bn8cPqLaX6uFnLJASNQNaxDP6TGtjdzbQ+H/WkbL nBbG6paq+YUXNhxkSVpZE9O+1wGJvJsuFfSTkn7iqlKqxAFe8zn4kuHvEss1dsDQAO+6 27LZ4pJH5OwNK3bQuzB8APCd4MZFvyv/JOPNeoKDiToMHpeVFZ28KQ1FAuaAUClHXBAj jsCmwX/4x93UA1DUnJDYtnVvtc2LTnch6LrBxFj042F/Yeu2LwcoGHcjao9maqZNB/Q5 fGC+vkOA1w5o5uNXlq8KvAh8323Ye41eSi1eIera4MMhTf0y/AX25Qm2ETlZBCNY+MFk Jy4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739220690; x=1739825490; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pK7AXEk3/gHFbkZZyPXrZYFNc/hvV4Yc2BS6Eez02IA=; b=klLBXU1+74ta8ZbmtE5bgCEX9u16jF2a9KsNl0aw7eCKLc9iD8A+r52YSG4VBZYL+F 2PeNr9oLePXJ9MhnXP9dYgEu0fr06L+fmFfafWVd7rgmYapH41UX/tlv9CEiv6PV+wdx qpo6ni4ywIqvSGEMVqIHwYGFLNAuojz/RlmteloZOyqqXjhlT/1RCFI+1mcEoUTQs16A PPXISKYPllwb68+ZcnDYIk56E2Wq1T/LKtnz/R7lMkLho695nDfA7+A6HteTxivHDuck af8olr79KgSwMq/8/7Jxhn2ORs4FhQlK3v/mIjQaBXOOMT++2BwYjZ/TMs1yyLL/DOyr 06jQ== X-Forwarded-Encrypted: i=1; AJvYcCVpTsnBVFgP7x17GDOtOVIqDKybJE1/vwF1YEM83Vd4LOBTlj5VMy/rLTQfS4PsVG/1S8V0Jg6d2uo=@vger.kernel.org X-Gm-Message-State: AOJu0YwanxiTNDGUGMvgINjicDwgxG07KPUDu1t75XAiX1X3URm9Bn3n UQBKBm6hKIKg8jjyJIqsmEoHAcT19llsIL1o34PA6aXruN7JJ4ap8cYpl7pbTlc= X-Gm-Gg: ASbGncsjaePUCpe1Z9SErQIR3/5U6JrdKIAJkYg+Y27uCprV9O86pTdlvaP+sYpbJGR 54SlyZQlTKRJD08PzsMy7RIR+mxg9/3Ui+spzQzZXde603Y0ljMh4uwJAs8F7TeyVqlsOKyqKS4 ar8VrFai1YiBCEtezR/8VH+YnoCtGZ4OKcR5p7oYK7SZSON2nswZRSh1DM7Glcx8aFMKPA+SlD4 mFt7Bos50RfDNLl7V8hDp9JfAhVfRI/wbX+VxbUnP3zp348kuyFx6Am7lAhVoG1jYcJDF415BrZ QNjC0b3kC01K48zuLNcYvVBB/+9cEGZz7auexDNeQ2BeUP83EfeE X-Google-Smtp-Source: AGHT+IFXJEk9MmUBU7EcXTekFZ1M/oOWVBHRM0C0GSQlAeJ7h505gqEEuTCNxJAioGvI8djE5kEKCg== X-Received: by 2002:a05:6830:3917:b0:71d:ed5f:f181 with SMTP id 46e09a7af769-726b88957c6mr9514423a34.22.1739220690448; Mon, 10 Feb 2025 12:51:30 -0800 (PST) Received: from [192.168.0.142] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-726afa4fa41sm2598776a34.68.2025.02.10.12.51.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Feb 2025 12:51:30 -0800 (PST) Message-ID: <425af129-f13d-44d5-8d49-c928265d635f@baylibre.com> Date: Mon, 10 Feb 2025 14:51:29 -0600 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/2] iio: adc: ad4695: add oversampling support To: Trevor Gamblin , Michael Hennerich , =?UTF-8?Q?Nuno_S=C3=A1?= , Lars-Peter Clausen , Jonathan Cameron , Jonathan Corbet Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20250109-ad4695-oversampling-v2-0-a46ac487082c@baylibre.com> From: David Lechner Content-Language: en-US In-Reply-To: <20250109-ad4695-oversampling-v2-0-a46ac487082c@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/9/25 12:47 PM, Trevor Gamblin wrote: > Add driver logic and documentation for the oversampling feature of the > AD469x parts from Analog Devices. For now, this only works with offload > support, and takes advantage of that mode's higher performance to make > oversampling possible on multiple channels with varying sampling > frequencies. Some significant rework of the driver had to be done in > order to conditionally support this feature, including use of > iio_scan_types to help determine the appropriate spi message > configurations depending on oversampling ratio. > > This series depends on David's recent SPI engine changes for adding > offload support: > > https://lore.kernel.org/all/20241211-dlech-mainline-spi-engine-offload-2-v6-0-88ee574d5d03@baylibre.com/ > > Signed-off-by: Trevor Gamblin > --- Tested-by: David Lechner