From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) (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 DA6DA31B81B for ; Fri, 12 Dec 2025 13:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765545037; cv=none; b=i7azyBbVkvjIvlZo5JTP/l43/Uc6rr0P5QQ75hLxic5ul5WGpzgvh5jZGI1yitLF1N94yPGcGNk3/sSWHv3axgieuI/HHYj9n/anmVo90VhIoRAjZmCP5qiCsirCBdNVli1bYvAnCbSuS8cHVH8hjxzfWzCw7ZrosHLm22GP/Kk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765545037; c=relaxed/simple; bh=kCrA7tf2FGXKTyLeTTmIczXz3T0WPj9VKpf7cyKPslg=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=j3F8AD3ZH0MaUT/aRlwG+ZkNrFTw2wkh9u1kIL676VlrRyNwHGJC16Rj5u7gixrasDn2ks7hcKIfJGdotKWAlhlWCtLLzDB10lk2QMaHsz6h98Lb5d8vZFISSjjO4PD4/zX37o0mb2h/3wciyWvmkw+6Bark9MYxEBsoGiZTYrA= 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=MRUjgMGZ; arc=none smtp.client-ip=209.85.217.46 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="MRUjgMGZ" Received: by mail-vs1-f46.google.com with SMTP id ada2fe7eead31-5dbd9c7e468so525619137.3 for ; Fri, 12 Dec 2025 05:10:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765545035; x=1766149835; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kCrA7tf2FGXKTyLeTTmIczXz3T0WPj9VKpf7cyKPslg=; b=MRUjgMGZA6Y7GK35jr3XZ7YVt3T0ADvA/XLlYbugYpqvCUUt4k7mOK8W0e42U1+U2L WpHbzIDsaxM2640gw5NTMloox9kJX7L2cW91AkhLbj2FmpWjf3zicyTzTP8wFZ6iCD4D 69aBhFG8SXioQ74Lt12n43t7+RTc/meOagk36laWUPpx96cCM1nzgo3BGrJ8B1UUAwEH UAdsJXhQIWKqPt4CtM0djhTEwkgaTXrXLnxwpi/wRtTNg7FZLX2up5sWxfyJLLCIrHlj i3qr/sRnHe2C5WK5GTsedb4O8zn82/qC5OFbQs77MF+C8ETDAAERnvCKoAjNvfqbZbqI MRGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765545035; x=1766149835; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kCrA7tf2FGXKTyLeTTmIczXz3T0WPj9VKpf7cyKPslg=; b=w2ViwNn7cp2EVQVsl377eocpsOwSndMOGi9LB/E2S5H1jSjnZnCOyqbesqkJ642u+a p8UFIi20dWLZxSf+jPR1irDu91d3nUfn1yQ82FpGCZgcBNf7Ewg1hmZfEKAT2ibpGix1 EpF/K2xbPh2tprCZfsglCwjXoiik074ll55WJoMTzVhR6UCbDWgMFMG5MNf2PFIkBJdN 038Zugp1C+n+cGA+tOiSX4x3tr0RRv9bX9DN/C3mf7YJsEHxDaS7GcLQvtD5dsabbyXS WBSafr1SNSuXYLwz16KFkgKe5fkR/1fIC56P3NFKpdkbgjapYTHDZ1mUt9jb9eFzFuWq OA8A== X-Forwarded-Encrypted: i=1; AJvYcCWcrERnKn4waEODvIeOVf/ekOI/40HbWs/3xUmwcTTvGCcWug+bJ6MrBoAFhcnWdWsHHBuHnUrdPGasTUU=@vger.kernel.org X-Gm-Message-State: AOJu0YzDLkxgKa++hMJ2GtCHKnDPO0FVO1sHJIBDxiw7qu1fW7jN49Nb 85CYPHY3cmxQyRM8rSFcjb7cJFGdBbOgwu+nTN//t9kQT2sXQocshLLs X-Gm-Gg: AY/fxX7ynf+S2hdFVvkG6LqKGtlJhH48qTA8kCennp/PL3Yt+zLIaQDfRqzSVU67rCI 3ctflz8kmWpYDZwiCHNjY4lBTh55eGKx0LLboBOu69eNuBys6Hp8B3rcZvp4YcyrTzXSY5Mqeg9 p4q+0vZyBTSJnnZK/sHw3zwKmdYPErLo73IvriM8NPGN/gdFVTzYughKY9EWm0si4chgt7VHnJv lftHPle3+JLvgtgen4ihVpPWYs77SQlG0iG/BL3E1Ur04YNcz8sXKxJrXSKjI2UQ0p4lgpH403Q IOTbboyPFP9pj+1oxr5HSi8J3EZ4JhYCAavOw4X+lLsAnuX/D2JOj6d94ysL76beCQ1re90op/G kH7egMMG4g39t6hximfiZ0xQYYqEUpXquyN8zGcyG0yqdIJ0RhWKHlQaOiS9tMXFHJVO9kGnrnJ dkR+A= X-Google-Smtp-Source: AGHT+IHJ2JqdZctPRyGNwGPT9qU+RSXeGGF9JiKVcuTcnmuKZkCf5xEk7yDW1KvX4ymSMlHcLWGBnw== X-Received: by 2002:a67:e70e:0:b0:5db:e297:2c75 with SMTP id ada2fe7eead31-5e8276a3597mr434027137.18.1765545034626; Fri, 12 Dec 2025 05:10:34 -0800 (PST) Received: from localhost ([2800:bf0:82:3d2:875c:6c76:e06b:3095]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-5e7d0e77d92sm2185707137.1.2025.12.12.05.10.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Dec 2025 05:10:34 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 12 Dec 2025 08:10:32 -0500 Message-Id: Cc: "David Lechner" , =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , , , , "Jonathan Cameron" , "Krzysztof Kozlowski" Subject: Re: [PATCH v8 0/2] iio: Add support for TI ADS1X18 ADCs From: "Kurt Borja" To: "Tomas Melin" , "Kurt Borja" , "Jonathan Cameron" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Tobias Sperling" X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20251211-ads1x18-v8-0-5cd12ac556da@gmail.com> <8568e452-15a5-4a94-aa2a-b7525888799b@vaisala.com> In-Reply-To: <8568e452-15a5-4a94-aa2a-b7525888799b@vaisala.com> On Fri Dec 12, 2025 at 3:40 AM -05, Tomas Melin wrote: > Hi, > > Sorry for coming in late in the cycle, can you please explain why the > driver for ADS1015 could not be extended to support also ADS1x18 > devices? Briefly looking into the topic, they seem to be very closely > related. > > Have You looked into that alternative? Yes, this was discussed in v1. Although they are related, these two devices do not use the same protocol and regmap is not a good fit for ADS1X18. We need two different SPI message structure for driving the two operating modes (direct, buffer) and the trigger needs some special considerations because ads1x18 share their drdy interrupt line with the MOSI pin. We concluded merging the two drivers would be too messy as both protocols would need a lot of unique code. Not to mention different triggers, buffers, custom callbacks, etc. > > Thanks, > Tomas --=20 ~ Kurt