From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) (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 1EBD03B7752 for ; Fri, 19 Jun 2026 16:30:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781886618; cv=none; b=mCHOtEBtYvRMbwRjS+m09K92W3FXpJSUsZ+sMCmsaNRBIWtkbjrbqVGZeqIxgYQw3vS7F33B5Ui/yl1vvrflXzw7r5oE16sdPn3iNusoVKbCd5vst/iow0wf9QPfyyuCRM9hbdx2xjee/a1rcRlKbKs7cDJjDySfexAzRFJJxIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781886618; c=relaxed/simple; bh=yLny9Oo5ygSGxXMDCqqJ84ZrkVTKGlCSpmfbiKfOxSI=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=s/exKP2KzQeZuWR5PmuQUA/4Sj1slo8mOGbXQdEzzwlkTbuNzlhApttyx6iWAzYPvsHGnmqmsGdLaL78RIuoWh0+zuqCXntQb+qnWm+g0PujxRPf8eneLiQASRZdUHIBfbtvn8OUuy+Oz4SlAdm2KvccIcwR8pJm+ESQUhDL+ic= 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=Mie9dauJ; arc=none smtp.client-ip=209.85.217.43 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="Mie9dauJ" Received: by mail-vs1-f43.google.com with SMTP id ada2fe7eead31-7296b265360so647471137.2 for ; Fri, 19 Jun 2026 09:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781886616; x=1782491416; 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=SI9N8WhKWNuQ+iNu2XOLZ6LLsDb3M+ticUkoUHtAqY4=; b=Mie9dauJLIFhxhLchQ+3vnr7/m/kp16v9EnnuuqEhFeF4lUkMJVlmcfNVFYJfyiOoc 34jjZNiBQ5ivNhtS0VFnbOjhwHcjaglTB9FWsHS76iKTNHUVd3WKyf6tXcmI4Ooz7wTT OEOAe+fXTuNSqmh9FDGjP8JkZCUJAnBswP3/Jz1e2mWVWq7FaeWjBHD5M51wzriL/6CO GQWVysmR/JgSTxHInEnHNg1aOSTl8n4GTZO4QpLXTJzfephM40ngAVEXljAxD2gdmlsx roTD9D+HzXk4cs8AmHaAcZAcNPpVJaxwalHVU5uD1z7+FF70RSaWdVkNP1VlIM2l2qLi w8bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781886616; x=1782491416; 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=SI9N8WhKWNuQ+iNu2XOLZ6LLsDb3M+ticUkoUHtAqY4=; b=eJeMTslynikNcPcyfuQ944O6KxvzZEBA5aRwBbIYG6UdPBY/1mOOzYTvwghrA3VByh yjSaaJmNQxhtL9kX5iWmN51lpsfxXAGBYCIuLJTCcUzJss0w1pSPjnxOMf21BdewKfjX hUbDu2+ZXMwT/V3tsMoVKR/2wf74R/31MsVIZA7sGjYLjyLeG40kgmQMFmCWH1nmHM5D kv0l81gZ3KNxq6Rl3ZLEzNhf6yAJ5GhinavK6vgMT/hSTwwDXf2tfqqW9FwvNXmH5+GV qVAGsLCNVZqU5WeMrVnfR+T7+J1Wuz2EVbkSPUZzvKPXd54YMbO93JzV63Jsu4umbD6t KqeQ== X-Forwarded-Encrypted: i=1; AFNElJ9dBN5ddpyy95p/1GeHoNNs/7mgEq7fawfH7bo06sAYivtq5/I8i7KmX5Wn7286YfKU/aa7Nn625nuk@vger.kernel.org X-Gm-Message-State: AOJu0YzFLY7zO4CnMronmuIyizSsK2n26fO+tvHvOKTJRu4na06YJP1U kclzsdRDe3LQIz9XZhrIr2BhWZKjueaGD97SzIeG6HxCeoAO/wAUBHRC X-Gm-Gg: AfdE7ckkSGNe1lo7X+D7+qaNt6NXSThTbwuHFgkH+bZCnnE0pi+Qn4nVSX7SAy+mGLx fivApTnou2lVvQkoN4XeGnYN247edQKbXWs2WmmqMnBg3/FuPGTB8Rc4kBho58Ia5xcv00mp0h+ T+nuUXTOsAgmYx9M2jZkhWdt64U/fR7WxUOP0swPm7z5fUSEFSetPcAPorSnkbXu/LGUkfj0bJO v0xiLPSOCM9OAkzLEc8iIJGV/Ep1Xc/Mv7mPJE0lghqeGR+icenvTErXq3Ep2PEwsLUlwdNT0EV Cb2DGY/4WJcI/h4Tgbc2DOMoZN3PE44iZ98cEzHHIxuFkDxvefd6GUP8wSllI+bkFAcTZcnt59q ggZoFDyH/qgVZAFCIZjaFIKuBb5sEr6lsxcsdV6p/VcZaoaglj9O6+berVspqC1cEtAlRPItloQ 3uOtU= X-Received: by 2002:a05:6102:418d:b0:631:3b92:9dcc with SMTP id ada2fe7eead31-72a046d7006mr3098192137.27.1781886615888; Fri, 19 Jun 2026 09:30:15 -0700 (PDT) Received: from localhost ([2800:bf0:82:11a2:7ac4:1f2:947b:2b6]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-72a34811039sm2060855137.6.2026.06.19.09.30.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2026 09:30:15 -0700 (PDT) Precedence: bulk X-Mailing-List: devicetree@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:30:08 -0500 Message-Id: Cc: "Jonathan Cameron" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "David Lechner" , =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , , , Subject: Re: [PATCH RFC 1/3] dt-bindings: iio: adc: Add reference-source property From: "Kurt Borja" To: "Conor Dooley" , "Kurt Borja" X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20260618-new-channel-props-v1-0-963c1b5cf40a@gmail.com> <20260618-new-channel-props-v1-1-963c1b5cf40a@gmail.com> <20260619-proton-distract-de92d6b9b600@spud> In-Reply-To: <20260619-proton-distract-de92d6b9b600@spud> Hi Conor, On Fri Jun 19, 2026 at 9:14 AM -05, Conor Dooley wrote: > On Thu, Jun 18, 2026 at 07:33:01PM -0500, Kurt Borja wrote: >> Some ADCs have configurable voltage reference sources for each channel. >>=20 >> Signed-off-by: Kurt Borja >> --- >> Documentation/devicetree/bindings/iio/adc/adc.yaml | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >>=20 >> diff --git a/Documentation/devicetree/bindings/iio/adc/adc.yaml b/Docume= ntation/devicetree/bindings/iio/adc/adc.yaml >> index b9bc02b5b07a4c..c74c2084fdb68c 100644 >> --- a/Documentation/devicetree/bindings/iio/adc/adc.yaml >> +++ b/Documentation/devicetree/bindings/iio/adc/adc.yaml >> @@ -73,6 +73,16 @@ properties: >> device design and can interact with other characteristics such as >> settling time. >> =20 >> + reference-source: >> + $ref: /schemas/types.yaml#/definitions/uint32-array >> + maxItems: 2 >> + minItems: 1 >> + description: >> + Indicates the voltage reference source or sources for this channe= l. >> + >> + This array describes either a single reference source or a positi= ve and >> + negative reference sources. > > I have no idea from this description what this actually refers to. Is it > a pin? A supply? A channel? It can be pins but also can be internal vref sources. Not always a supply though, in some applications a resistor is connected to the reference source pins. If there is a next version I'll clarify it. > >> + >> anyOf: >> - oneOf: >> - required: >>=20 >> --=20 >> 2.54.0 >>=20 --=20 Thanks, ~ Kurt