From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (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 9AE353B2FC0 for ; Fri, 19 Jun 2026 16:35:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781886925; cv=none; b=nlp5a4VwZJSBabyNfOE4IJRB/672mhxs31S7o4fok74jpNlLGZxLNaN5/J/c1NZz5Lbd6r6KKdPzzMgvlVax+tXWCjCh84lmysEbKVdI9d8FYQ28pClucTNc/dXveL3KVul86AVB5agX+4A44y4rVFWNZbD7UA7WuqU+JIGFDRs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781886925; c=relaxed/simple; bh=JXumolzQL+RrG5Z3QZK1JvP78d0zeS++zXbUCntpEDQ=; h=Mime-Version:Content-Type:Date:Message-Id:To:Cc:Subject:From: References:In-Reply-To; b=DUB7NyBh/1H4ujki0O5mIvGjWvaIZsAPRvZgewazJkbJ8yJ10T3U/bL+00Nqw6isJHs6+EdgvHYv4G1MTlHhI4KmYbtK+rQJJAx/0N9aFik6pZbR7O04w+YXx1EIq3HyCKwUmeayTx0Jb2eufLCJUoweULsj8YTBunnBvuBO3vs= 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=IB8XiVyI; arc=none smtp.client-ip=209.85.222.52 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="IB8XiVyI" Received: by mail-ua1-f52.google.com with SMTP id a1e0cc1a2514c-966f494f18bso662759241.3 for ; Fri, 19 Jun 2026 09:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781886922; x=1782491722; darn=vger.kernel.org; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SVB2yFZpNawqKoDYU3GvJktv2Ea96DmwKNad4DsGDPU=; b=IB8XiVyIrt5CIA2QSfYoH9ZLycn/5qU97ug+4kPDKZfOZe/LlHUvAU/TAgUgkNGPUr /k9qA+SDe2sj6qrQ7ATzYbqBdNrtFqlPnUdOXEq6PT62m8SNVaQFoxz24diDEg8MmBr/ W+W8Jyc2TNz13UrKDuuSfcm5vzI3hZWnLkh5YjO0iZKmf5pRJypWPHZPMslFVGtg9kJ2 uxspj72ce6tf+vzbAs1PgDZOHoOorb+ntbA0gitHWRipg0KpT+efrq2j13cGTtV6SZLj qnJUyYy4xCm+OIwVQyqewI1zbz7RIT279F2dsXtim+5ID8Ii+E2F5fPL3FvtFdvQ7mFL T0yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781886922; x=1782491722; h=in-reply-to:references:from:subject:cc:to: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=SVB2yFZpNawqKoDYU3GvJktv2Ea96DmwKNad4DsGDPU=; b=OS8DSNH1eDiSma/DViSrxGmriwv1PrBLUa1bcMMjPQrne/E2vkJhuhNZTFy/AH4sC2 m5pOhMIFNmTKsnfhv9pSTSJa2yUz4a7se0V/7/Vdkgt90SHU2B5sn0pv0/DUcMwQJIcU x7bpF+PJZsxKYbgEqD7cnXkVOGyIc6pJKBxqkL785HPItidX8igDffFGPr91Tv5YjBka SSLphg0vgv/LxAYcl4wGzBPhdNUKzscC9RwSPUK2QXfdXbPWni6oGHmCzLX9VbseN2WY lvYuy0YjIrs1P5w0Kq83DCpAGb3yLMH3AfDKWyF9W+LNXqwLinPfLRZMRvSM3KHsTXwQ xuzA== X-Forwarded-Encrypted: i=1; AFNElJ9FheMgJaiGoP5XrD5zrHafnBiNEQ6gDNUVrjZyZAGLri8IlsShoggqyHM0mZ8wsxmGdjWqV9wilqQb7tY=@vger.kernel.org X-Gm-Message-State: AOJu0YyaUJ01eDQy3fwxjLTU4cpATYFI+vsdzOLp40GQ0YLqnoFKmLWD QOnlKu88eN9KzR1ugd58eDVS+wXZWDaEkkdPT4HLB4Qs/eP2sXnm/eVl X-Gm-Gg: AfdE7clyJ9WIRwSDJ1QejPOc+NZZqkfbZAcMX1Gk8pbL/FIxtK2Zi77ubK45WPMWzDI 46cVophyAoYIXUF1c+tWE51uJuz31vQ2ehNDdq3dMe1KckXCK8MYBXLI+cM1GBm4AXWyHs/g0vn /5ML3NrXrdTE8dGuh9eTAeUQFIGrhzFuFzdmvt8hGC2lJnE1DbLgDc6VOqIpyDJGHsUD1Xti4P4 eabKFxIoOq39DEvDLZu5T9g2VzpqN29EiOdAhm2Xuvd4f7292AYtpsDjuP76kRYP6xpLBBUxux9 0KdHQgl0scfOZ6rFnzcLNdVI7LtyjITrYrBaRpZVDF/kPnbm/MuyN96/THbfmmnKiF2f9/g3YLX gm/PopEgK18CN3/xbsYNDVGfPSKoV4TNHuSAKvF5PdGMCu+On5EIL1A6mRyFcss1Bwn4aGCp9jM X8sIs= X-Received: by 2002:a05:6102:808b:b0:635:1bc8:3568 with SMTP id ada2fe7eead31-72a1f6f2bb0mr2661209137.23.1781886922372; Fri, 19 Jun 2026 09:35:22 -0700 (PDT) Received: from localhost ([2800:bf0:82:11a2:7ac4:1f2:947b:2b6]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-72a31612e37sm2079023137.0.2026.06.19.09.35.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2026 09:35:21 -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: Fri, 19 Jun 2026 11:35:14 -0500 Message-Id: To: "David Lechner" , "Kurt Borja" , "Jonathan Cameron" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" Cc: =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , , , Subject: Re: [PATCH RFC 0/3] dt-bindings: iio: adc: Add reference, excitation and burn-out properties From: "Kurt Borja" X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20260618-new-channel-props-v1-0-963c1b5cf40a@gmail.com> <7b93cd3a-8aae-494a-a0fa-540bafcbccaf@baylibre.com> In-Reply-To: <7b93cd3a-8aae-494a-a0fa-540bafcbccaf@baylibre.com> On Fri Jun 19, 2026 at 9:23 AM -05, David Lechner wrote: > On 6/18/26 7:33 PM, Kurt Borja wrote: >> Hi all, >>=20 >> After submitting a patch series adding support for TI ADS126X ADCs [1], >> I was made aware by David [2] that at least two more chip families, >> ads1220 [3] and ads1x2c14, share very similar features (though these >> chips are not really compatible between them). After that, I found one >> more chip with the same features which is already upstream, the >> AD4170-4. >>=20 >> As David explained in [2], these chips are intended to be used with >> RTDs, thermocouples or other resistive sensors so they share the >> following per-channel features: >>=20 >> - Configurable reference selection >> - Burn-out Current Sources (BOCS) for diagnostic purpuses >> - Excitation current sources (usually called IDACs TI) for sensor >> current biasing >>=20 >> Given that these three features are present in all four devices and >> three of these drivers are still under review, my proposal is to have >> these features be described in adc.yaml and have this series merged >> before the three others [1] [2] [3]. >>=20 >> This series is sent as RFC because I still don't have much experience >> with dt-bindings and I don't know if this approach or the properties are >> general enough to be described like this. > > Generally, we don't propose bindings without users in the same series. > I was going to wait to see what feedback Jonathan gave on my series > before proposing this. Makes sense. In this case I think it would be useful for the three series to have this first, but not up to me. > >>=20 >> No dependencies between properties were provided because not all devices >> may be able to configure each one of them. >>=20 >> [1] https://lore.kernel.org/linux-iio/20260612-ads126x-v1-0-894c788d03ed= @gmail.com/ >> [2] https://lore.kernel.org/linux-iio/20260615-iio-adc-ti-ads122c14-v1-0= -e6bdadf7cb2b@baylibre.com/ >> [3] https://lore.kernel.org/linux-iio/20260610151342.44274-1-zizuzacker@= gmail.com/ >>=20 >> Signed-off-by: Kurt Borja >> --- >> Kurt Borja (3): >> dt-bindings: iio: adc: Add reference-source property >> dt-bindings: iio: adc: Add excitation current sources properties >> dt-bindings: iio: adc: Add burn-out current properties >>=20 >> Documentation/devicetree/bindings/iio/adc/adc.yaml | 47 +++++++++++++++= +++++++ >> 1 file changed, 47 insertions(+) >> --- >> base-commit: a50909aa46dec46de3c73235fc15a7d6f763d996 >> change-id: 20260618-new-channel-props-4fbd52020da2 >>=20 --=20 Thanks, ~ Kurt