From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) (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 26EC73B3894 for ; Fri, 19 Jun 2026 16:46:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781887594; cv=none; b=PoaKj22n2FmbseRdyWBB6pv6gtQa3AUwdvFdTQmC6m6Pq/iNmBjjXbjI/KKoeLMKYZ79S5wGNHZnCfko0Kdpf0phZ5FDgGiVD63QjZy8LmU7LwR0tDvQDl7H0ErkKu6597MyNGGSNHTfBbBb75F2XPuxTb0nhjD/2Mf7evpykq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781887594; c=relaxed/simple; bh=ydErqryufbSp4JR5LfordVoaP44V76N2SqyLsji1CLY=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=WQSajKOJb01bISUVme0riXJ26TtZW1oywgIxDvTHgdVjg3O3XdWH8bzVTbh4twU+j94yP7gAvsPxnrUTJUyVoO3OWt7S5lE2wg/pb0uczF2pMdBFBROOHJUfMhqCrAhyRlvgM5qhUqYlU4jF0e0Fe12cP3uOItmsp4qt06axsJw= 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=aDg0EokY; arc=none smtp.client-ip=209.85.222.41 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="aDg0EokY" Received: by mail-ua1-f41.google.com with SMTP id a1e0cc1a2514c-966c74ebc1bso1698421241.2 for ; Fri, 19 Jun 2026 09:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781887592; x=1782492392; 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=tUJL1hpjWL5/WFjB+cS49WeZgfqaRuQjbx9N+bg8FNM=; b=aDg0EokYqtu21dPMMjelf4iuWhGvULAOSHQfjBqW2C1b/XPTqxWfkFgkF8ZpFsgySa zHXwBG0y8P+Z8rkQRwHe2D5xN7luHgPiXlJFqnvNrEM7bJVCOVBFeeg/I9dGRoiLiSY4 1SWUSMYORFQ74/8sN6+veX5wMsNPLYZPgLy4VcXO18B1kP6RsJ6btGrTZlv0yXo1BYTs 6X7t9aI5AVNl7LwRDuKMCA0k5MVcPfOhB/ABmMBHttACDCehwMgeBzQ8bk1w2TAnjkqd BE7KCYgOLu89h1aSN1o3zL0y2Agqf1bUEgC2Cpo2AC78yrCbuRET6cNtBhWqnvULv6G4 IY5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781887592; x=1782492392; 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=tUJL1hpjWL5/WFjB+cS49WeZgfqaRuQjbx9N+bg8FNM=; b=bMqtYZAKEKWhv5oJX29v8G0kJW8r1h3CKO3kfWg4BmEiPe2jo5DuZLVpViIxHdk8Q+ ySY0uK5M9rGpzz4PcrQaHkhHYu0VMi2E9x3BGbFU3K3oDMea/ETdEDaLBUnBOis+riPG zPfFNtMMj2oxqLD/F64HdntvJ9c7pQTQAF5vAL4vagdyLWOWI9VyiotrUKJKu6xycwt0 zIVii6kRGmPqh60VwrY6Lde+T7HjVCTJ+8UNiUrZUgRg3AJ+E2aiS4wk9eC/HltRpnEc j8LvNqnTmBygebi3grJjzFSesjsDsAbYey5EOhJsuGsdL0rBd4h7FeMQKvaLoePAqSmw rCPA== X-Forwarded-Encrypted: i=1; AFNElJ952qfPnJc+uhEo2tNfq0qoY04++m5fLJ8oCGlHIh/MvcfaLaOejjgWZqEC8x/ievoRUM/ZXUWtrQtYMyI=@vger.kernel.org X-Gm-Message-State: AOJu0YxrF+IMdReZdlIarCfkVD3msq5m9Pu1SrrzXx9BK8+D6oViCvuC ewKv1JQ1RwK/9iWobto4uYrl4D7eXmAVePdhd3WiMKx3rAu9Ng1u3+Fs X-Gm-Gg: AfdE7ckwPvuGzZdtqIGg3jh579pk2aK6QN/FOMJeVTTBz4vYHrHs7jKX7SoBAuO2ykR IRz+JiSc9eSkYs0HL5JIdFZ8UwUOwuvUIzQVtjQGaQPs4h23TDQakkP4lnmrrtrlqYy/RwxVYOa 3qKud5UIxFC+Ozu39uQElfkhXvtiarsps83YB438tCXlk8T8HgHPhJpMDO+qi6gL0tM+WVh74qb CIIqQMagCB4+V/AFD6PJf605G8dPpdIVIbt7uIn2GHT9lG+iNuIEtXFowpvU/4i0WswrKtvf6aK 6me2TKxUsGEwILIuHJ/ELaz3nmi0uAWQJcYLQXxWSGfZs4q7202xlBNKAT7sfIjw9m+Zfu0gyxc SyrWmVMLKsKGRyeVEwmwtVZM2kzr3dn8XehNiI9MCE1ApBnaFShe7MJzUr3Y9c0pW5w1vi87oqb nYz0E= X-Received: by 2002:a05:6102:f9c:b0:639:1e8b:ecd9 with SMTP id ada2fe7eead31-72a03d9e389mr3148036137.20.1781887592125; Fri, 19 Jun 2026 09:46:32 -0700 (PDT) Received: from localhost ([2800:bf0:82:11a2:7ac4:1f2:947b:2b6]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-72a342eeca3sm2081276137.3.2026.06.19.09.46.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2026 09:46:31 -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:46:24 -0500 Message-Id: Cc: =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , , , Subject: Re: [PATCH RFC 3/3] dt-bindings: iio: adc: Add burn-out current properties 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: <20260618-new-channel-props-v1-0-963c1b5cf40a@gmail.com> <20260618-new-channel-props-v1-3-963c1b5cf40a@gmail.com> <0831356f-76ff-4eed-befa-7a35ffce921d@baylibre.com> In-Reply-To: <0831356f-76ff-4eed-befa-7a35ffce921d@baylibre.com> On Fri Jun 19, 2026 at 9:28 AM -05, David Lechner wrote: > 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. >>=20 >> Signed-off-by: Kurt Borja >> --- >> Documentation/devicetree/bindings/iio/adc/adc.yaml | 14 ++++++++++++++ >> 1 file changed, 14 insertions(+) >>=20 >> diff --git a/Documentation/devicetree/bindings/iio/adc/adc.yaml b/Docume= ntation/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. >> =20 >> + burn-out-current-microamp: >> + description: >> + Burn-out current sources provide current to the channel's input p= ins 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 p= ins for >> + open-circuit or short-circuit detection. >> + enum: >> + - pull-up >> + - pull-down >> + >> anyOf: >> - oneOf: >> - required: >>=20 > > This doesn't really work with chips that just have and enable bit to > enable or disable the feature. Maybe those devices can use burn-out-current-microamp with a const value? Is that okay or should another approach be taken? --=20 Thanks, ~ Kurt