From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com [209.85.221.177]) (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 0F1213DB65A for ; Tue, 30 Jun 2026 17:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782839688; cv=none; b=e+blH6G59IgGgeiP56MljF8Qzixnwl+JP8iA/5ZBkuyL7Q3QwcBoJD9vZdrvzTSPGNndYQV/bwBmdKeYKkGkroRVG/HQpSh5xM4DqvZWh9GYpeKvhoW4Pap3M2kt3Ymg0DB868IiEhontfYoSbYQOD2DklFR/2gedlZhMXc9DWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782839688; c=relaxed/simple; bh=yI4LIb23rfKE/21+3syEgft1Xeo2c0ZRsRWLnRGk4wc=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=fqaR4YtqO3ZVIV3Gaoe+L4Kpvy+zi7SMGZkqE35zRdXCgYe4NN3xMDXcbYOODvGEJMFN7g5jD0M87MMSNkxDuve4kKwUr1yRs4eiTJqa5CusYRY+H51XQzne/9qckfYs4OCGjqaBUYXT5Sjc0NKHp4BU5KIRUZSWSbEcXihlXlw= 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=PR2Nh1tf; arc=none smtp.client-ip=209.85.221.177 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="PR2Nh1tf" Received: by mail-vk1-f177.google.com with SMTP id 71dfb90a1353d-5bd7309af69so1725727e0c.0 for ; Tue, 30 Jun 2026 10:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782839686; x=1783444486; 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=Yj0dzyKkgM+YsTOclkY88VSZr2slrmcvgTQm6yEB8ME=; b=PR2Nh1tf9U45X2QPsNMjst7ZwGhxnGXhjDNwcur0Llo8NsqsykiXkUt9lvx0T23OwK ymp+6ljMMOa/z/OLuagQ49NrKixAp1JPPYYF1KgCLnGuEf84RaywJNM5CuMKxB8QqcIG gUtcYQ5cKwM+1+cP93GVTDGsZs5f59wpf8+Gv3UnlYeJNF2vWqRHedCblxFmhu/4QTWj Y3gxg2WE6mShEjrsGVX2cCSGQ59OED6BH9ZJLvOd3bi5Q8xPYQFfFoW3486lXgL7C58Y owy4CgGeKhvfItdjkCAQJiy229dmrH2g0TT5k/irjgkwHbtX2aKXf+/+tZ29WJ7Wenp/ JDng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782839686; x=1783444486; 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=Yj0dzyKkgM+YsTOclkY88VSZr2slrmcvgTQm6yEB8ME=; b=g0R+PY0bNvZvyX4e27DV1VhBYvcI8CSqIQCVSncO4R5ljraTC1ZA7utkkzP084Z8jd POKwRcx02gQiCj5gMlGefMnbr+YWq0SZzzhShjJfn23/oElzz70Wp3BW3w+RSuWQ7BOm wK3zYz/Xqvja//rGlZH2/SyKEn8NEbJcPULv/ybkuh1lvhYG/fzOFTZmZlxNWatN0hIL CkFVTylYTpg15XRH/rOgu0vPFV10u9hsMEAJQBDuKhATO7hzDDgRO9bsXnc8WgUK1ajJ GMeYowBqC5YVrFt3gtNL4pz0UJOO62cCH7Nto6VtVObayz2XtmWKNXhgEKmSAkDCj5ks lbzw== X-Forwarded-Encrypted: i=1; AHgh+RpSl3Dn9pfYYYkDLJIHXm0afrjG2hxNXHfdaC3ZvfjHoanadxiogtXs9FP/DnaTLRt+9MMH/mqvg2uOx8g=@vger.kernel.org X-Gm-Message-State: AOJu0YyKq22roLR1dWyyMoyg29w2KSTBsicTPxqXAwqMQOrHdZF0SdUA hxjV4DGnF7gDjU3G9YMlw8tWUac7dxEZKi9I7L240epmsuxq0+IDJ2X+ X-Gm-Gg: AfdE7cnz1GO0KZuawGKYfHHKazJVAWLTuDB7OB8ksqfMyMNYK1ML5liKiqgYOq6A5x0 32EBpuf5l2foI52pwshrmY0LIm+H/1mylD42SVv0SMk779dmB9nVZE9tR20DDE8F3Cq5dXt4rZR 9T8QW8fxN3ci9dkqCaYdOvfRrgMviKGInqvPSJysxO+23ZhtoLkR+GHNjfFa6xBWRwaflX+6glg YL8YPl7/TBpAS7QH4MH+nuX/qDBtiKUj3jXi3a/UkiHC8nMPRYni7Hd7NEcFM8XoJ4eitcfRUci mybgMZd/1kcO31gwLey/VyR2MH+VdKOneE077bydswsA4S4oXrqqYLX8RZDu3Iiiqev92cmgzIR tFC/CDV7Te8nW3LP8+5iIfXPz+5+XZRfAhcIH1x03ZNO9xZxxbCl3S9h6CMkyjCHy36opU9XAhp V2wYs= X-Received: by 2002:a05:6122:4b11:b0:573:a779:62cf with SMTP id 71dfb90a1353d-5bdbed0ba9dmr1958656e0c.7.1782839686037; Tue, 30 Jun 2026 10:14:46 -0700 (PDT) Received: from localhost ([2800:bf0:82:11a2:7ac4:1f2:947b:2b6]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5bdc184957csm1836979e0c.2.2026.06.30.10.14.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jun 2026 10:14:45 -0700 (PDT) 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: Tue, 30 Jun 2026 12:14:38 -0500 Message-Id: Cc: =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , , , Subject: Re: [PATCH v2 1/7] dt-bindings: iio: adc: Add TI ADS126x ADC family From: "Kurt Borja" To: "David Lechner" , "Kurt Borja" , "Jonathan Cameron" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20260628-ads126x-v2-0-4b1b231325ba@gmail.com> <20260628-ads126x-v2-1-4b1b231325ba@gmail.com> <946a30c9-01e9-42f1-bd2b-b7934fda85cf@baylibre.com> <22e1e1c2-659c-4991-857c-b38d66769c7e@baylibre.com> In-Reply-To: <22e1e1c2-659c-4991-857c-b38d66769c7e@baylibre.com> On Mon Jun 29, 2026 at 11:43 AM -05, David Lechner wrote: > On 6/29/26 11:27 AM, Kurt Borja wrote: >> On Mon Jun 29, 2026 at 9:21 AM -05, David Lechner wrote: >>> On 6/28/26 2:12 PM, Kurt Borja wrote: >>>> On Sun Jun 28, 2026 at 10:45 AM -05, David Lechner wrote: >>>>> On 6/28/26 12:36 AM, Kurt Borja wrote: >>>>>> The ADS1262 and ADS1263 are 32-bit, 38.4-kSPS delta-sigma ADCs with = an >>>>>> integrated PGA, internal reference, excitation and burn-out current >>>>>> sources for sensor biasing and diagnostics. The ADS1263 adds a secon= d, >>>>>> 24-bit delta-sigma ADC (ADC2) for background measurements. >>>>>> >>> >>> ... >>> >>>>>> + >>>>>> +patternProperties: >>>>>> + "^channel@[0-9]+$": >>>>>> + $ref: /schemas/iio/adc/adc.yaml# >>>>>> + unevaluatedProperties: false >>>>>> + >>>>>> + properties: >>>>>> + reg: >>>>>> + maxItems: 1 >>>>>> + >>>>> >>>>> If we want to allow single-ended/pseudo-differential inputs, then we = should >>>>> also allow single-channel (positive pin) and common-mode-channel (neg= ative >>>>> pin) properties. >>>>> >>>>> This will also require additional common-mode--supply properties t= o allow >>>>> for the negative pin connected to something other than GND. >>>> >>>> Ah interesting. Why the N though? wouldn't a single supply connected t= o >>>> AINCOM be enough here? >>> >>> In theory, any AINx could be a common mode input by connecting it to >>> a constant voltage supply. >>=20 >> Technically yes, but there is a pin named AINCOM intended for this >> purpose. Can we do a simplification here? I propose having >>=20 >> common-mode-channel: >> /* AINCOM pin */ >> const: 10 >>=20 >> That way we would only need one common-mode-supply. Would that be okay? >>=20 > > Ideally, we shouldn't limit how the chip can be wired up in the devicetre= e > bindings. It doesn't mean that we have to implement everything in the dri= ver > though. Makes sense. I just have a doubt: In the ADS112c14 bindings, is there a specific reason why you didn't describe common-mode--supply? --=20 Thanks, ~ Kurt