From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.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 5E81443C067 for ; Mon, 29 Jun 2026 16:27:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782750460; cv=none; b=KoiswPvAR2sNTbrfVJFIcv/+3b1+tPJsyKQ3TCvOxiozj0Q3ucT6M3jwe+bDIGWLFxJF1D71s19X3pD94J/+pa9UXDDOIJraXTpUaKNyl68eLeswtS6hyzpubx+ZdUutfT4m3Xkd8QxIFpq3N3WL8QBh3PDLcp2UThX9Ssc2lQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782750460; c=relaxed/simple; bh=LRBuWO7sXtjtuQCETz0veDvzO9V3r3MdLYVKJFAqd54=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=ku1jUsixWJeeRT7IXHhcRgB+YP1vU4LxtULwImWa9CMVtS7BUGPinwofQVcOlXJeoiJxD5Zc2K4G0xparP50qdTdc2HUyJdG7RbQSQS5G4HdT5CaBUko9OSXnNMHcG6yMk5Pz4ZxBPipuPOOgT2/zhOXZIajeGWrfNW2GcJ7KKU= 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=B2RjEyD4; arc=none smtp.client-ip=209.85.221.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="B2RjEyD4" Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-5bd95de6865so541665e0c.0 for ; Mon, 29 Jun 2026 09:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782750458; x=1783355258; 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=hLchI3E0Uu7WQf0kAyF2SZwR4eWIe2krp0NcWRo6lD8=; b=B2RjEyD4TNmLFibeoaiAy+6fjR7M1MssYu790doGpQ+5UZjuZQdaijLLY1YOc35JvM AP4Hhj7dB6Vd4cUHkqRiVFoYPx54LrPKz/5Nv3gDsGhrgf1W815o9qNco3Kiay4yLklt +e+iJFSQN5HdV41QPsq5zpM1f3iu7XSTAN5XwTURNdvNCbQdwO1zam02ZF5S1KAPK15k sIFMpyO1d8s/hWIBzJ5LYzV6I6Q6MAGenHO6PYfLtIZy1zpG2t0kHO2k2H0IkEetkjEw Q6VaQ2VirejOGdmpEI2Rh1O5M8iXchmQw+MDVKAO8BtjS0S9r9DSqhsnTBu/snXtg6YR 0bNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782750458; x=1783355258; 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=hLchI3E0Uu7WQf0kAyF2SZwR4eWIe2krp0NcWRo6lD8=; b=RNRU0Cu9HhcgG1U6bzB2TvSGyz+qnJfzdaqQb/Gfun1cxRh1O4OWqvH/VZ9+QZu8HW 0YU/MHU5VBMGessZHisI6JSEEIZzwnzrlXFDslrT0clL11baRrKcsrJXLeYXyT9Shd/u MUVSArNxzCi7A+PznoWFYQUWoCgnrMgKvIuoeK46QZw4a4BvLuNvnhPa2njBas92cLOn FAaszvciRdKuFtTrhWBKMLQLRXFlibsZOdA7oqEtnEjlhVy0lZ//SqPfg2c+BbI2pmM+ 5prc/DH6yOiayy5JLIRJkv7qxZr00gzNqZhrfkBnG3y0YAFR/udwu8fTFsT/s9TCKDLX v9zw== X-Forwarded-Encrypted: i=1; AHgh+Rq8LeeSy5XuLCL6ca9zuRU6gg5yRjQKia8hIAj/6hnk4oZ7Y7zm5FDJg5B3rULGCo7mdXp4fiojADkSQR8=@vger.kernel.org X-Gm-Message-State: AOJu0YwE9p1EcYdCDsJJd5e5DuDTRZ76O9VkUgw30eSR0tdCaVVN8rnA yPMnOFh8ubayEIcbgE7ia+XRJRT50F7pLxaRnLSFaw1iJ989aNiqtqrn X-Gm-Gg: AfdE7ckfHXXWin/gK92XVANZpl1rziHNHvJK2izV+Z2dY4jPwcdU+v3hOrkKfw1Zxqx 89ZVXwbFsWIEEsD97mu4nBsKoOvE3wo8ILAHJ/kSgNa7/YNA0eWAArRA+z6LnB2t036bfDgGLmJ gwa7Hj43n5XM4bdXmZyi3Za/6V9IIEmVZvuVLgOxYQdM5WygKQOPFcrbcinGsXmXb55UhVYu44V vKHtzJ0AVJcC4GoZvhMfq1tpvn083PfcRyXBJI35ftv+6/v94BfDXocoQSh13nKmhw3OVUNu7ki tm479yBD/rJOo4FHQVxVWUNj6B66yVwbNh0o8DjRH/OPp+EikzgI8NBSxWjnvRdW4aGFwkJELyW 6LELNWPpgjiNrdZG+z4G4RsKVVd9ejvK5bdlWRzvhO+XLeaVj4tIb0xfIXuPXpnm2EntSkYHHuR gwkb4= X-Received: by 2002:a05:6122:3117:b0:5bd:9f23:a74b with SMTP id 71dfb90a1353d-5bdbed8d55dmr293272e0c.9.1782750458347; Mon, 29 Jun 2026 09:27:38 -0700 (PDT) Received: from localhost ([2800:bf0:82:11a2:7ac4:1f2:947b:2b6]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5bdb2c1e818sm1119039e0c.5.2026.06.29.09.27.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jun 2026 09:27:37 -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: Mon, 29 Jun 2026 11:27:30 -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> In-Reply-To: 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 second, >>>> 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 sh= ould >>> also allow single-channel (positive pin) and common-mode-channel (negat= ive >>> pin) properties. >>> >>> This will also require additional common-mode--supply properties to = allow >>> for the negative pin connected to something other than GND. >>=20 >> Ah interesting. Why the N though? wouldn't a single supply connected to >> AINCOM be enough here? > > In theory, any AINx could be a common mode input by connecting it to > a constant voltage supply. Technically yes, but there is a pin named AINCOM intended for this purpose. Can we do a simplification here? I propose having common-mode-channel: /* AINCOM pin */ const: 10 That way we would only need one common-mode-supply. Would that be okay? --=20 Thanks, ~ Kurt