From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) (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 106FD336EE1 for ; Fri, 19 Jun 2026 14:23:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781879011; cv=none; b=XCdYSJ8p2RcBWTuPn47FihHxtEEKU7MiJKNHaKLtaR6UuzIJ5yCxV0VkvIGTOMxI2fDZayrcD++L4Xza7kPSIzO/oXmB0rmZGPYxsngtTQYfMr9V9amvA74LSrKmXs+ayiAHkBR/8GaODOFtdJLLN9jkpQ1yzi8vDHYWVzrRcsg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781879011; c=relaxed/simple; bh=0KgKbB/LFgHIVH+5Cu5vvnaBcTgSf1gspm8zvn8rEZ8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BrhpVTtaHOTlMlEeqpF6m24Oztqhg+6tT4eGmbqztOGt0SYbA69xxioCJR/700qKdnr7RiVz1JVuipFc/eoUvyqwgxdyP5Oe+AjnVEsII4ZpJcxt5T0JXoahkXvdK+AOVtXGK1nqAU4E/KWRynNUpUjqrghBUbNnUeL6UjbxA38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=JEF7vM+p; arc=none smtp.client-ip=209.85.161.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="JEF7vM+p" Received: by mail-oo1-f54.google.com with SMTP id 006d021491bc7-6a0e075cfafso241329eaf.3 for ; Fri, 19 Jun 2026 07:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1781879009; x=1782483809; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=afdKuEOlRvpeeu7or0T+Pz7xBujPRD0ovV3SVztW73U=; b=JEF7vM+p4k9PbK5L8j19y+f6CwbZnMOmtTaurNEHhHm/wAtk6bFydwJKpAuCZNO+wl B4V0drZJbEebODdjeZz+7PDsD+nldq7VA+oazaRf9cT3j9Xptx/4sLLwjiMgiNOCxPvr DYk4AvITHGQeI7RAH4zJTqJ83EBtdPMGR19jAxvk9G0YF0usGZTr+/8Rq66wPiIewTMR yiJEAKIwpazkPX5Z+bsogu7ZfiWWBod1m7TXZD5IYcz3wWmL69wLXc1DXsKOx/pbSJkM WDfN8Lz39GHiJPDBaU88lE61OeEDqt5PTgiuZLL3ZBw7b/OP43pGImuqtx3DS85mYO3B AoHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781879009; x=1782483809; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=afdKuEOlRvpeeu7or0T+Pz7xBujPRD0ovV3SVztW73U=; b=oUEOVuQ6TZXXZTzqwb8BIAptqywatGZasxKBQg+PjfpvwFwsJq8dTOJsI+b9n5psq5 rnwQTsLMowQmiMHYntqatotb8yRoW3H4Rbbxd94Z9sFkWr9NNnEDU0N+iPdzrCNVvM+L pZS71N8BjNUKpVa0hlz6YFCHSZp4UkWpPEFrjl81ZOFjBvPMGa9rCekZV7WvCoIKKHtL o98YyhuxAS5etkkxXT9vwEMbRV00zJxQmbBLHe6gnnBn/vWL+x0vzLjifO16Z1+r/0S0 wiYrPLTPtpHV5+t/pNzLfXi+Qoi432U7Z4guqgQ4iANsIajIaq+NXendZyMuJ/7IqQM6 ZCXw== X-Forwarded-Encrypted: i=1; AFNElJ+fFUpdnRMwr2WcaX/WC1Zoery7DskECJ00zG/bPhKanIMntMPL8lAZmOiAL0Q337e6ptWAu4GPUrZ/DG8=@vger.kernel.org X-Gm-Message-State: AOJu0Yyjl1yKRWgSidyh8Q7Dl+N4MhLNXW/BbgyazjtzEyWt6Ln+R9Bk mq8fgB7fbKUQFkxY3m5uAmUdZBPe+EUMJto4Sz20vRWma1Q1fqwcAAtJHgVCOYGpNdQ= X-Gm-Gg: AfdE7cm1Lr4fbUThALHti/y/ICGE5Avh9B5vuUTfIHLA/P4cNTIebvxTBhy6ASxiOJt KDY+wV7t6FRLZsKc26NDlDRPM2VxibZMGLEifPzY2TkB4mkHTwWpYLe1fwfAu0ICZu41ZlJ3amo kgCSlw0iHCPYQ7dqXrAZzZsg73vYUQAaFX+AVrgjAjwI9FpLd7QyGxfAWMJe8MhN3ZQPtN+KRYZ cID67IjtEhDlAvE1i162bYgy3dTclnc0MeZW5v3tv5RXQLDLPQvqTZqVpVVdMDeGKKchO/ggqjq kxgsshtNZ0DdQ13yFoVZj4QPyYDlMBEH8anlr0cI+8L2eGnHC1m8g3eokueVJ4GSEWducvYf3Om rG+VCOUpS0EJitca4C3gFjivHfVpiPPPgoOLxT9FYMuofePwv08lLMkqzbgON8Ivn8vJ2tusoER PlUhlMeN4y121khd/l/22DdwORXos2Hf7Qp87D6TQoNpGa5vulXFw/Z5wzRg== X-Received: by 2002:a05:6820:1f06:b0:69e:b788:36da with SMTP id 006d021491bc7-6a0de0dab5amr1962410eaf.37.1781879008926; Fri, 19 Jun 2026 07:23:28 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:dd8:d93b:3cde:c07? ([2600:8803:e7e4:500:dd8:d93b:3cde:c07]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4472e79af8fsm15862fac.0.2026.06.19.07.23.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2026 07:23:28 -0700 (PDT) Message-ID: <7b93cd3a-8aae-494a-a0fa-540bafcbccaf@baylibre.com> Date: Fri, 19 Jun 2026 09:23:28 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 0/3] dt-bindings: iio: adc: Add reference, excitation and burn-out properties To: Kurt Borja , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260618-new-channel-props-v1-0-963c1b5cf40a@gmail.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260618-new-channel-props-v1-0-963c1b5cf40a@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/18/26 7:33 PM, Kurt Borja wrote: > Hi all, > > 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. > > 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: > > - Configurable reference selection > - Burn-out Current Sources (BOCS) for diagnostic purpuses > - Excitation current sources (usually called IDACs TI) for sensor > current biasing > > 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]. > > 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. > > No dependencies between properties were provided because not all devices > may be able to configure each one of them. > > [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/ > > 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 > > Documentation/devicetree/bindings/iio/adc/adc.yaml | 47 ++++++++++++++++++++++ > 1 file changed, 47 insertions(+) > --- > base-commit: a50909aa46dec46de3c73235fc15a7d6f763d996 > change-id: 20260618-new-channel-props-4fbd52020da2 >