From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) (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 B9D1141168B for ; Mon, 10 Aug 2026 16:42:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786380141; cv=none; b=s6vWmGfqYSnfEAhQZs66Lj5br9d90PoJ8BcmTAAgHVaIvzA7POEm5YzcF7bncpKMs32BjIQqtqu/kCyEJep1x5EDoTRcYRaREphHWBxViYo43KGcPoujjlu90HwTwGOB2n0ia91YtmNdYno1LWU644x02hm5KNI3YJmfN39YY64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786380141; c=relaxed/simple; bh=UraNGmZFA5REm5mXU8cijvRUoAo6cvI2W9iHwqUD45g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NqhpvxRpTRoFLjo4BxKbJALeOjdeSYdSn0Q6GrklSopcL0e2dckerbdDksCfLHMpvmruZyXHJSDHd5Ih6sHY2tm8tSQBCVtbXr2MvjYvwpczgV8Iflbq+GF2HxZp+vMPWT7Ro3BnI0C1TOtI6L/tSUPUe7hzyBpgjyRxNKm30RE= 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 header.i=@baylibre.com header.b=QVL7N2Lf; arc=none smtp.client-ip=209.85.167.169 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 header.i=@baylibre.com header.b="QVL7N2Lf" Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-4a43c2a126fso540487b6e.3 for ; Mon, 10 Aug 2026 09:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1786380138; x=1786984938; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=4CrwjdneBCLq2MjyKhUL/tcV1sygNbjbpu5GnTQQd44=; b=QVL7N2Lfjlmjxiv1+cn9tFernccaVe8QfmO14LEc7AmROiH+NYCEh6jeiR1MoPpx5K 4x9iToehymnSIgSfIOaQPvsrVZvz6458O+0ndqjnnPl+wzQi2pgg5UalsmxKnli8vd59 qL8bLs0Hktu6xc2Ge8a+CZp6rWMKjXd15t1oKdmGxlZTCG1Kd+vDRpucDRwXmGvAB2Q3 I4l1tLKh3WO7mnh7GLpOEIFnfFq2Vsx03JLEA7Lk3R89Ygcli+QlT2/n40A7UNJJR80v AJ3sVHvEUC/q0+nOCjK2MMzSiWtMQH8MjvUhAO7BmgVMZ6MnVT2tLB4WFkMkruT3pYv5 IwLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786380138; x=1786984938; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=4CrwjdneBCLq2MjyKhUL/tcV1sygNbjbpu5GnTQQd44=; b=b27u+zA3CH89Auatc2EsSZPYpFrFhKAkWt0ZR8n4obCPQkimdRAOiKU20BWzGlOFMp pAFnuXqov5hSHJ87bIVAhDBIKREha9O6HHJMnjGbKwePFlW5lKGe4uHGZVsw5S7ud1d0 3U/NixwU+Nrtmwtvy9OwU8b/DWEASRy/S7/X3RfUpbbCXsHZ7UOdv/ECF2muMeKXJ5wX gvEnqMsrQBmcxwYBu5SpPZCq78HUKKv07L9jDH6y7e9ObRlR2tweU9RCczDAg0G54lWi EXRLHtTxisgrCwB7peMYiJ2mJJ8i64AWtVkHvWyfpbo310UZbCkwzWtLHPfXoyuN/2v5 8Kdw== X-Forwarded-Encrypted: i=1; AHgh+Rr8peLgAgWE9Bu55R9a4ckBvy31mJMLrlEnkcCRx55UkYdr5FVh8hN0g+u5FtnUN1Hx2NVoyOtbZsQ2zfw=@vger.kernel.org X-Gm-Message-State: AOJu0YwgqLQAJ2wAjpE62B3B2aUD6K3Uewp/2RmUWJLx9k9ADBD7FrKj RFelLHBUFb8luSScLr1NzUcp7emlV23CqLqLlDgeHjRFG2862HdOpltTP3msSxvHuHg= X-Gm-Gg: AR+sD12wPL/AC6kAwSonasakrLKtD4qzWHm4ifx+UOIG0Dvr4daN2uZW27PbzFbxeGP tAvMBTxcH/uBtXdRGzEut4ljhOlDmnnPh8lJ5om9wPoKAKi3qTcXTxZ4UvYIeexyWQIso8o2WZh 4j+Er6SLxqXSsBex9Rk6bVPRBPQZXd3F0u8oehsTsnS7zUxWZhOsJxRuuqMNAGczWdDhVSk7cYe dutitqhzPsc0O5zl3eVrS6km0Bwuio9v34WvKgsE2Erc4l8OyMHgW8SAUnkqTBYOvnx4ZJfdy8N IwQGhtWZvqZ1S2Uu6AMq7kNK0a1Ym7A+/vxenBzsaeo54zqY2yVv/ZTeorSQheXv8eEFdUrmpYZ dobzicdsDv3T39SWcV0sgesz3kX6zxcT5D1KcnDtN3i8m50p+X6dbXNydJuOU7HWbpoiZWsSU6x O9bzoiDlCBlF+j2p181Ad4zo1DDh9PpajU6K18eFT6Bb7ohJCOZcrUxJe0JsFGeBXGlSEHtMEUu GXQ4bVMNCeO9TeVzKalPFcSdl++Xf22TYEPFZo= X-Received: by 2002:a05:6808:bc8:b0:4a4:c12:49d9 with SMTP id 5614622812f47-4b1e770811cmr1551304b6e.3.1786380138504; Mon, 10 Aug 2026 09:42:18 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:e05b:7923:cf50:e4cf? ([2600:8803:e7e4:500:e05b:7923:cf50:e4cf]) by smtp.gmail.com with ESMTPSA id 5614622812f47-4b1af06d90dsm7404797b6e.3.2026.08.10.09.42.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Aug 2026 09:42:18 -0700 (PDT) Message-ID: <4de0742d-c17f-4d0a-aab1-35870eee053a@baylibre.com> Date: Mon, 10 Aug 2026 11:42:17 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/9] iio: adc: Add TI ADS126X ADC family support To: Kurt Borja , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski Cc: =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org References: <20260807-ads126x-v3-0-f89925d72792@gmail.com> <9c2e2c46-32de-4e8a-88c3-bfc2cfe8157c@baylibre.com> Content-Language: en-US From: David Lechner In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 8/9/26 3:29 AM, Kurt Borja wrote: > On Sat Aug 8, 2026 at 1:37 PM -05, David Lechner wrote: >> On 8/7/26 10:58 PM, Kurt Borja wrote: >> ... >> >> And the driver also allows using an hrtimer trigger to do single-shot >> samples for cases where one doesn't want to sample as fast as possible >> in continuous mode. This would be more useful to someone who just cares >> about sample rate and not about filtering. > > Why did you go for this instead of just leaving the continuous mode > running and reading on each trigger? The hrtimer trigger allows more than one channel to be enabled, so we have to do all of the channel setup for the next channel before we can send the start command to trigger the next conversion. Doing it this way eliminates the possibility of not being able to update all of the settings in between the DRDY interrupts. For cases where we only want to read one channel, then we can use the DRDY trigger instead of an hrtimer trigger. Since we don't have to change channel config in that case, if we miss a DRDY interrupt because we took to long to start the I2C transfer, it isn't a big deal, we just drop a sample. > >> >> Just posted the series yesterday: >> https://lore.kernel.org/linux-iio/20260807-iio-adc-ti-ads112c14-filter-support-v1-0-4d3ba00caf18@baylibre.com/T/#t > > Can you Cc me this series too? The settlingtime stuff is something I'll > implement too. Yes, I meant to. It was late on a Friday when I sent it and I didn't the best job checking all of the details like that.