From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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 8CFE6349B1F for ; Mon, 22 Jun 2026 19:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782157113; cv=none; b=st4Ry97YgWWFmLfJGezuCZDNbRpvdJEKGxnUlhfRvIOFMDa1OZbHaFj36/Yd+QJf/pzfOJR4B8KCpOSKMU9fjQXrm/d1ds5v0MujqMELy9wB7W6CQLyUN6IyCQtHCq2Yxl+pTMFTTN3nKGUFVLiXOl71hXvEglJ4ei9u0lnNL8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782157113; c=relaxed/simple; bh=lknCrpWSUnG2slkL+WFUZQOuRhKIj1k8zp3ZG8RMUcA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jqYycKKpkZH1jHQnPs+n3VMG4g2v6Rli/iGzkRSnMLImH+0y2haKPkNW59mhVyvEdAQBwZPvCGzoOwuDTGWnOxcSv3tRMWV8wvvdEIDX/gaUStA/eDQiA+bHLUBiFhaiVty1yaFuHBMpFSsP0Y8Sv45M4kts/DJMwH12TxFmZ4U= 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=K6kAgr2X; arc=none smtp.client-ip=209.85.210.48 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="K6kAgr2X" Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-7e943356247so2309848a34.2 for ; Mon, 22 Jun 2026 12:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1782157109; x=1782761909; 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=Gax4TQHMEysxfgOcDqf89njSaGBEez8kqfllKRVchko=; b=K6kAgr2XLdxQ32UdqV+UyHCvlgX3OWEv1FUHFSgL3gz1GDILKnDBC3N8UYqETwtOvb Oc2JLf8OXNVEO9T+iHKWXQ5TZj+W8/I5S5uavtsP6IXIwFxvarjYPcA+YHbEW+wdCGgt AQRJqH96KwIctZ5FHFqtIXOMfza25VUOLC9JkVgU6OO8dwiye1lZzcINXjgwGbIImCBH ziZ+utpybLSeSl/gARX4Ru2Csv8f36525VGrCzvIK1x1D3zrEsmbR+ttygIDk6WORd4r l0hHyoKg2quQJFnYFjHiFKLIozbrFbedb6chG2BxAngnmQenz4Xp/DiPqKheAqZmTVdu gchA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782157109; x=1782761909; 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=Gax4TQHMEysxfgOcDqf89njSaGBEez8kqfllKRVchko=; b=EWFq2nyOSXCFBElE3HfcbuRHvq8j9V8RbUiVjZDMeYfG9QddGrJK8lI/mWn+mnUbOH WuqHJz7X57yXJJOqGP6BjAP4NwrMvP1fzzuO+tBNNTpjiP6U4YhTDuSThrIIKhy1WFs7 anTJ+L+I5djlKWiYyanRAK2NJEu6yxUYSbrfL6Ce0Umv3iUHQS+ZgKYZxCMu5c0KXIw8 W0fhzqW6MySTcXgqOoZrlUukcIozj/g/ARpkxPAmrTjyuG6jKxlHcxwu0FrWxg3xwn0v NY7FBoGirpOll4J7TRChLMxAuxzwUgvea3CjHgDQBbqY1lYnJv/QkZeusFd5kVH7On4N c3XA== X-Forwarded-Encrypted: i=1; AFNElJ/ZxCystxM4BsmZZkvfb1uDlm0EP8o5nrNC0IcYCYGpfpASSW9VdGC/8lGmwDOWnZ8oq+pqk2DVutob0K8=@vger.kernel.org X-Gm-Message-State: AOJu0Yxhfrdue4gvgXKmzJDJK+JmDJmdoI2qMjaOvFsqjp10KsC2Cokf R3NrnbT0JX3EsLN1rPTfVRlH5PHqupzs7K22211lbX9YkA4lc6ZQzA8h5ysrYfGPELA= X-Gm-Gg: AfdE7ckPqVE4olGBIoekazUoLQqFw0lYwWp1mU9FzejUFH/odaB5bMfIKJ85DvpDNbm hCRMyBG0qfSO7VDfZF4RsZf0cF9x++L5SqybKD/6SPD4wuadqUMRakwdoCDtJqhVOjZvgfNKcZV xvxJdle+W0zJq5b4qaPAhrU+bBt0pdlyrHQ2FwJ6SC6xhlRP1B48+CVs1K4BrUPQkGq2D4s9SHP 185X+DNdS6l5RCieUlVzbnZDqGEYUTz7uEkgKH2Bic0EkE5ELtZzW5k/fJPRdHK39qfxvLVN8X2 0cD1GQLpfjBq6TaWJKwBjChysy9JhHnJmzsipXJHhrFNThF5ZfnZO6wASMeaaVCqYDWCMQav3JD hOWMTZzVSNoNUhrE0Era7yGYtv4VQ/YIugYIQGRHyymuOM+ev08BLi8c+fDznxClON5AV4HJIzx ADO+byBONvEjLnYFzr+wPqFmW9X0hK7OmluqIfN5JEs7VRGIM/m+GkY2ZkBfDsRxs= X-Received: by 2002:a05:6830:3494:b0:7e6:e162:915 with SMTP id 46e09a7af769-7e92d815dd8mr13819644a34.5.1782157109479; Mon, 22 Jun 2026 12:38:29 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:6526:8577:6be9:cb7b? ([2600:8803:e7e4:500:6526:8577:6be9:cb7b]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7e94406d488sm7094981a34.8.2026.06.22.12.38.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jun 2026 12:38:29 -0700 (PDT) Message-ID: <42e544b8-f2da-450b-92bb-99c41f1c72fe@baylibre.com> Date: Mon, 22 Jun 2026 14:38: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 v2 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: <20260622-new-channel-props-v2-0-aafd5369f253@gmail.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260622-new-channel-props-v2-0-aafd5369f253@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/22/26 2:30 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. It will probably be easier if I just include these patches when I do v2 of my series (if you don't mind me tweaking them a bit). > > 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 > --- > v2: > - reference-source is now a string-array and now presents a couple of > quick examples > - excitation-* properties now do not enforce arbitrary limits > - Dropped burn-out-current-polarity because it was not general enough > - I kept burn-out-current-microamp because the discussion around it is > still ongoing > > v1: https://patch.msgid.link/20260618-new-channel-props-v1-0-963c1b5cf40a@gmail.com > > --- > 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 | 38 ++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > --- > base-commit: a50909aa46dec46de3c73235fc15a7d6f763d996 > change-id: 20260618-new-channel-props-4fbd52020da2 >