From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 D9C753148C5 for ; Mon, 10 Nov 2025 16:45:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762793135; cv=none; b=d33mVnUMz+rGM51uNReW5/K2UCnXjqzsrMLWjVpM2565G1gHdsRCZViJjreOge3UVRsS1POj19KonPWefGmBUgqlvwvy9U/udBDNwsQl6m5WR6mYrc61BBHl5ht+IZZqjS406uv03rxbm2hg4g3NtN6G7xJdwWslbKI1zBDO2TA= 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.214.174 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-pl1-f174.google.com with SMTP id d9443c01a7336-29568d93e87so28180585ad.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=Ma+uDOn3U5pFvH5Rw/FjPTA8jOxNObjnRHT8WSSJQ80qaNRwEou+MCgCE+59CjvRF0 KP0hL1VuhPPY0+P3eb4imQ8LGJjh4cwk3qaMz5ahFCYuOuvj8iRWtQm3RqZg9ZEtA/Jd K5XEet71wUXUQNTvOrYTi7JZZyTgDyGC5n8YqYivpLOXFgxLMi5z4IfrTsRhvMVgYhec xSVf6OLjUDrTFJDGJTHJ5YqD10B0/ZqV7UiHwYM6L/3/C89vCuKHVC4iiqfXAkBeiTxi qjzKaPb24vOi9PkSK7hMWu1+kpMRtizaLYvwg++BT47VQEQo1flsDGiuU81TP+oWBvYI e2PA== X-Forwarded-Encrypted: i=1; AJvYcCXTJRRniC9br8IdHknVJdo7L2ml1Em3v12H+VpGZEu9U/eZ3XEbtlZ0IAt/pAJQwQnDcVBETN5Rsb4=@vger.kernel.org X-Gm-Message-State: AOJu0YzJPDvix/0h/u5jGFmK0oE54eW3xFKl9LoL4jLQ/7VMopaG8vcb H2hLaHHjRky8beKZMwbT8B0Dk8bUnoUUEtvn/Pn7+1nZQQ99fPOL67+I X-Gm-Gg: ASbGncu/AwAOeNNyp6YkPm7UAkvaMnTruvG7oeOUuh032eIO1Q9jVhi8cxt558RzasD CMT0CRB7YUd4slHUBhs8iNwyZKTjHGd7PHf8GCgRMQO5z/RfZbStUAcPhh1Xh9fb4Nk7xOghrEj n/Ch43uBxzxQAMNwO5UnnEihl15+4dFpdvw2SlM/Me05yXE45ZUrHsDT2sbFKP/T9cWwAPerv5g aTbe2khLUk9FwHU8vng5+b7m38xRfLxXnOnO8b6vzKPgi5arl7v89ET7eAuUrGs+IlzrMMTr1P6 50Pyymze390EJiBiSZAQpzqoLrNs1ve8mczYOEVQPbyPFnxQhYBKWhqWtufUjiZrB3ngZPcBHxW RiJsLhzKBC2wB+5KC9tnv+krBUSG/KgOBB3fZUm29ClRVb4A6Ts5+K8AIj/uwZLSW7aH4LSMZ6y Cx5E8VJF6FLA== 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: linux-doc@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.