From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 D7F2831355A for ; Mon, 10 Nov 2025 16:45:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762793135; cv=none; b=RfQvxhK/83bJUpkeh1iuj7FsdFu4xRoigZNWCf2bk+dPuISOHFbIHCJHqG4ZdiimLHKva54rmNR/Gvdjyj8m+H5P6ax1U0cp/sbRtuv1PhXiEcKjjlYFeBEW8sd0UnLrLJTQqi+zEJ9UdgPsQJ0thfbdSschqCkBGpFlhxQHsFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762793135; c=relaxed/simple; bh=bgCzKrhzMsbjtyucE9Wji1o3OOtYybWdKrlZ1ecTWTE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kUOU6+69ars5elKd2KG5soF8QDU+tn5vGxvw1jZAE9LYdaROVTEZUQv+mgMYo/lQ0y8TePwQPy54sE664pyXsUdb3W60atNfv33gtZaWaXCJv1qso8WINZACt11cNmqtLCmpdz8b3myr8bV1F/c4chkXYnfy1kx8o3IMPrVzZtE= 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=nV3j4stb; arc=none smtp.client-ip=209.85.215.176 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nV3j4stb" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-b593def09e3so2011133a12.2 for ; Mon, 10 Nov 2025 08:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762793133; x=1763397933; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=ejgzWIAmMtwDeIAONVbXRMu0MknYB8VkcpRxQd2rWvU=; b=nV3j4stbm+vcaGq0c5YHStIInJnhL8I54TPjZHDp6q0rY3KJdBeU2LdLBV+A8PMLNd 3UDAcZroJ2/4u1ohtPKCixAdo5DMgRp2pTa42z705lK6Wh1wbqoz5w7yKpZlwP+YwK1d FXnwb72f4hCaWLFToIN26L5qlwRTbbqvPDgUPiPgNFY9ZFeg4nRg10UdtOeHyebrPBLV hW8pIVyoJkAu/yL6AeYS3+gn9fIGyx3klbslQG0NE+ySA5owcPBHKAMKkJ6LUUbPA7hq jyAh0y2ElV8g7ZXuLNUfRXPtZ5ThaRkUiYl0HTwaUGr+FTOUYjQdjLUJhmRyo5hoaOms P+sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762793133; x=1763397933; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ejgzWIAmMtwDeIAONVbXRMu0MknYB8VkcpRxQd2rWvU=; b=xMYjdgu7s/SEYdl7ilOVdAlAt1+6v0f2P6+PtYZ5eFtJUfEdueuv4GQwne4y/gdOG5 bRv1jwx0tSQNCy9j070nxfd638IrptX2HdnR96U5A16o95NKocT2qh/wp0WsXG7bFT5w IbbivzmDid+XOwAUBQGIBBl45gOgVAsIkv9DYXcV/s9L1VgvlitAaMXx8V/MbkPDCSS5 7kKpk2DDftzQAvac/mXwH+hrVnp/WpqpqYdD/9D0HuXsMVUPCX+jQDoB69IeH+7fkDyn rdVyWTlGx8qFdnMv8L8o0ALHlZUl00g4WGh1OxJQLivwmjM27cTyaq1Jg0Nk+oQEdPhI s5oA== X-Forwarded-Encrypted: i=1; AJvYcCXETgtLfd52BXy79SBN19OF5Z164/ETlLtdxkaPR3ZRsGP9FNj/AMpIsjArfY+iWY47EFUs8+J8kYp4@vger.kernel.org X-Gm-Message-State: AOJu0YwXXJ5AVS/tiJbNcIbF1AGoFmM+s2u870JGxv1vrmAgSDEB27Yq ZUWWgXhqUl7DW+1wXFbnh4cLrNS/IKWqSv6CxFPGaqLAYZYDn60x0wvY X-Gm-Gg: ASbGncu/45XLPE521BUtLZaCala/VNxoaDyYhg8FM9x/MJQlrIqFof+f2oI7lh2WKfk 1hY9FXFOlwTMoGsyfEup+idmkYt8ALa43Rc4ieqHBAde3jJkDU4NvBrKq03ESjT5AZOJ7KR1jEf KPE1caJPkDefDuIiN1GbBFeGu0h/rS9CZ1nsCi4mZLnW1msxPzoWJL9wHcbeKf1NexiIInKYuRs BRCvIiWILus9Zwg3K5TqxH61iycpXcTYLvZUEbexhV44pbmy+bHOUzoH8lCjuCUcXhE1jnTrFnl z49BBOOQV/1tpF+whC35iizeJO2EbzeRd2yWsjGEvuhAwsMBs8HRX6ebGDpjJkQ5OE4GKaVrauZ q5rB1CIRtnT7dTLxx3ib+ZhivbTp+e9Pfba1VLK2G1NYOKKf45rCWDd4yJsOMHOMm50IIZmoumg ijh3zS4CXlWw== X-Google-Smtp-Source: AGHT+IHlDbq/FuhUx5b37jOHHuGk+B4j8Ue7lQztTGR+qjnK+j0oCN6+BEjfuAMoSyUWo5a31EZ/jA== X-Received: by 2002:a17:902:da4b:b0:295:24d7:3792 with SMTP id d9443c01a7336-297e54030a4mr120060845ad.1.1762793133088; Mon, 10 Nov 2025 08:45:33 -0800 (PST) Received: from localhost ([2804:30c:1661:8a00:578a:911c:ac25:24a6]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-29651c7409esm150687835ad.64.2025.11.10.08.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Nov 2025 08:45:32 -0800 (PST) Date: Mon, 10 Nov 2025 13:46:50 -0300 From: Marcelo Schmitt To: Nuno =?iso-8859-1?Q?S=E1?= Cc: Marcelo Schmitt , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, jic23@kernel.org, nuno.sa@analog.com, dlechner@baylibre.com, andy@kernel.org, Michael.Hennerich@analog.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, corbet@lwn.net, cosmin.tanislav@analog.com Subject: Re: [PATCH v1 0/3] iio: adc: Add AD4134 minimum I/O support Message-ID: References: <5e0ea52e6a77a1d6af861ba5aaeeea5c3d514705.camel@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5e0ea52e6a77a1d6af861ba5aaeeea5c3d514705.camel@gmail.com> Hi Nuno, On 11/10, Nuno Sá wrote: > On Mon, 2025-11-10 at 09:44 -0300, Marcelo Schmitt wrote: > > This patch series adds basic support for ad4134. AD4134 is a very flexible > > device that can be configured in many different ways. This series aims to > > support the simplest way of interfacing with AD4134 which is called minimum I/O > > mode in data sheet. This is essentially usual SPI with the addition of an ODR > > (Output Data Rate) GPIO which functions as conversion start signal in minimum > > I/O mode. The CS pin may be connected to a host controller CS pin or grounded. > > > > This set provides just one feature: > > - Single-shot ADC sample read. > > > > [PATCH 1] Device tree documentation for AD4134. > > [PATCH 2] IIO Linux driver for AD4134. > > [PATCH 3] Initial IIO documentation. > > > > There is a driver by Cosmin on ADI Linux tree that supports AD4134 in wiring > > configurations suited for high speed data transfers. Even though the minimum I/O > > support was initialy based on that high speed transfer driver, the result ended > > up becoming entirely different. Also, because the different wiring > > configurations are likely going to use different resources and software > > interfaces, the code for AD4134 support was split into ad4134-spi.c, > > ad4134-common.h, and ad4134-common.c. > > I'm familiar with the odd way this part is implemented in ADI tree :). Question is, are > you intending to support the high speed bits? I guess so, otherwise having the above split > would not make much sense. > Yes, the intent is that the common parts may be reusable by the high speed driver when we get to upstream that. For now, this only supports conventional SPI. We may, at least, get some support for AD4134, though.