From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (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 CCDEB2AD03 for ; Fri, 19 Jun 2026 14:28:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781879324; cv=none; b=Th6oY62He22tjqe4jHSXhQB69C6YopmJaHKRGqtpCCqScg8kH3+pI7P2c4UNMZw8ZgeI7AWRCj8ieEze3zYiEQdOUgT0+GPZMzQP7DrGqySpa/4EvzgIQtFKwM9K/vHGJdsFsWYDl61z5qaECbiXWleo9VqpkQYz9/5w8X/ijys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781879324; c=relaxed/simple; bh=BYZvNYrhCRRVi7+9/Vp1XV84hbYw0obk8I3Nq/z0MdA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sdOC+srMXiNuYLCub9PwQsxLt/3OwFd3p1orBfhFimuklJn6A4XbY9chJvXORyGpz30l+RAyMTtGnnp5x+3B26m5PpC/GWAI8VeTeJC2rpPB0HuPnlGssFPp7n2kpkmdKTeRuwGONRMW6dsNe4f9iLXoMvcEMWIGoZHgQxjXn/c= 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=bDH130/O; arc=none smtp.client-ip=209.85.160.47 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="bDH130/O" Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-447134764f7so516871fac.2 for ; Fri, 19 Jun 2026 07:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1781879322; x=1782484122; 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=gAirWMVH8yFynNlBYDyfsHiH9Wt1aHuKQoVM4l8pDRo=; b=bDH130/OOtVS/8nqrbTaAIg6pXo2FYsspJ+cya7o+JKeQzfBjQQ2GKS3izm0Y/vQX/ M9jmYc31Hvq7O59WwwcMcNgNNq4eWwMGL2oAKJlz1plDMCmLgbvXdbbY+wHf80z+yoNh xpA2qU4IhlAnGZVFI0hFJlSOAF2ATYsWa+aNojcMIDi42DgE99WQBAvBotir9esF6RHF MwbOK760DWXjkr/qHbUua29zn03O70WqVSWhbvfAlz+bo8Rknjy//wgD38TNvAjYmary +cJnus+ZV5EokUQavuiugxyXi9i5zcTxrlnScawreJngCqewknJSkKglX6nJm89LK5Tu WCBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781879322; x=1782484122; 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=gAirWMVH8yFynNlBYDyfsHiH9Wt1aHuKQoVM4l8pDRo=; b=mgotDmNUvC8ttVohbzhkC/gZjSnUmmKQRUTa2j9KuGQOcUVo6Ro9A2if/tj4kATJlR 4tP17Fjnnz+MKdT+qkk1tJArZPfPtmBFTdp+ix7h7RbX/WlV4Tgmn9mAE9kBQTLgQBxL cL59QtI2B0qmiGPJKNFYD9I1WYYEDJKXJYWKwqfI7ZCIwofbLM7mo9YJMOxy/ibTxhHh yfj+FSgyZr/3eR9SsXJ/gFSbA8qctZnEn9F6cv3Zeu401FPkPN2lkt5ZK6KyNtbOeTF2 EFD5QJd+lnEdANePbvaJpAAVUmSA1PLQl0ysEvBWyI0aM8ZVZM0zFeUqD9iv0R4ncmO4 yN6A== X-Forwarded-Encrypted: i=1; AFNElJ/Hgjcrb8mbyxwXYOu1K7zSaQxHJtZ0wVNsyYUsMRbZ/jHkwT30QbV7ZtcE2EQ81h4owNkKggcw3PVhswI=@vger.kernel.org X-Gm-Message-State: AOJu0YwCu0GsnBbByrZ67EMYyajAa/m3zZ64HPzdAcvDnQ3bd72OeLiF NWhpLNMu0siVVtkaXUqbjgsaqIz8ElLd2nbWkAwNEqmoEz93FqHgCNaGqoQ64nqqxm0= X-Gm-Gg: AfdE7ckr39vKrCbzrc0al2c2+xIWOJQSm1MDuOJ2/MxP2NHUWo60gcmiQ4LoAl3VZ39 mvBU7qaBpOJYDojyHpzuUgWti0j53G0Pyx+CxutT1pbdMpIi1KUXr+wAhqMKBE55fsM7FkUUXtN c3SFTJCXNB7AmUmfqTw15Cl9oTiL8Y0K6PJRBDhkdhtnjt/wxTItGCUuyia/P3IDwl+2JHOJACW 0d9uAGoOWYzgKg+HkNKiCHSshQrFA0dyyN82HyMx27WjRmVphN0meREQwqp5UcTaOZR6yVtGIXA H1ydrPrpWL0nl94nD87tSaEMGA2KBYeoiNEUKCig3zKnlZQB6B02u1G/cL5Bzg0fF03OYIdj2kj 7/qobEtg9cdTPYliaUYRX/5JIrqd0YMTh/v7yLz8bse9qCj3o7VEGpFCeRrSuYPZPviIfrTKaVu RcVEsLv/V151ZOYfQyxVjU2WEaJq/wsWvEWvqe4gcWlwRd2fU1rA0o4Bmf2Q== X-Received: by 2002:a05:6820:134a:b0:696:1a85:586b with SMTP id 006d021491bc7-6a0d8cd4635mr2866882eaf.35.1781879321803; Fri, 19 Jun 2026 07:28:41 -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-4470a42d901sm2533106fac.17.2026.06.19.07.28.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2026 07:28:41 -0700 (PDT) Message-ID: <0831356f-76ff-4eed-befa-7a35ffce921d@baylibre.com> Date: Fri, 19 Jun 2026 09:28:40 -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 3/3] dt-bindings: iio: adc: Add burn-out current 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> <20260618-new-channel-props-v1-3-963c1b5cf40a@gmail.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260618-new-channel-props-v1-3-963c1b5cf40a@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/18/26 7:33 PM, Kurt Borja wrote: > Some ADCs incorporate burn-out current sources that provide current to > the channel's input pins for open-circuit or short-circuit detection. > > Signed-off-by: Kurt Borja > --- > Documentation/devicetree/bindings/iio/adc/adc.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/adc.yaml b/Documentation/devicetree/bindings/iio/adc/adc.yaml > index 106b1e317411d5..6b63aac9ac04dd 100644 > --- a/Documentation/devicetree/bindings/iio/adc/adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/adc.yaml > @@ -106,6 +106,20 @@ properties: > This array describes the current configuration of the excitation current > sources or the single matched current for all sources. > > + burn-out-current-microamp: > + description: > + Burn-out current sources provide current to the channel's input pins for > + open-circuit or short-circuit detection. > + > + burn-out-current-polarity: > + $ref: /schemas/types.yaml#/definitions/string > + description: > + Burn-out current sources provide current to the channel's input pins for > + open-circuit or short-circuit detection. > + enum: > + - pull-up > + - pull-down > + > anyOf: > - oneOf: > - required: > This doesn't really work with chips that just have and enable bit to enable or disable the feature.