From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) (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 07459399357 for ; Fri, 19 Jun 2026 16:30:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781886618; cv=none; b=PKrsrOErOu4p0FmlCxcJBC2a5iih5Z5HoRooFHdpkPBpKm9tM+69wlakQiciEMczPEUhSZuY4OdmRrYwtUjbtXpnrZx3DBtQA4wUPYcr1B69oEohO2vQGs7tktiX4T+NPeV7ffpzTwWPAPOocXuUmfoRKBm5/Cxcq5SIAMWgj9o= 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.221.173 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-vk1-f173.google.com with SMTP id 71dfb90a1353d-5bbc717c52aso852657e0c.0 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=WcGAYMkiid3ke+mb3iJWhRN+If39mXmSqNPrxYloqkpXg44CjOlyBZWLn7fC+ynoe8 R+FMmZOfWT+qaqNBaQY+/GdrVE+KS4js0nmwvv7KjJ/NeLwoeL7JbrcKeJXduHgMnJkc w9W+GEpnueIyPz2xmILJewPnI76MUigV9J04rvdKV+Mfz6OcTrs4YFwPATsAjYsLzoJ3 HuJ+B8EZQymium4pFDW7NOdCelJhByd2II5TOdPNoB8MwyZ7U5NK3cgGQcxp4fcxXw9l OvIr+J2Y8ixf0XgoeP5cXjQv+Fpdnbg2QbOLXzqGqVBpubfF8qUf4vf6/J2KvUvnDRvi 4zAQ== X-Forwarded-Encrypted: i=1; AFNElJ+kcfwGEzzszLa5QN7GzcpTnpgf5uZBM/qwj5xSOEGJy+rzI86Spd6r7qRjI8z857HEkr7GM+ITTpGoOuw=@vger.kernel.org X-Gm-Message-State: AOJu0Yzqep1W4iloQUbilohsCgorr8uBu9bqMnpWf2iTUBIlGcdZMRTK 3LzrCNjNtO/H91L1r+jAyf1kkhPVTz6eEvZ0GbT41k8xPdZg+Zr5yddq X-Gm-Gg: AfdE7cnRYhKMhCwJgsoFykyLCvxo0GG9SdrYrN6GhqEbr3KdT8rREtaRXDg6gHO5U/w 1JiT7m/rQ6R3Yja+LmrbgNdv8NiFRJxxIvY3i9ZpzWbtC///HgCoVmR4xZSAw0TDyJEtpZc+kqa MMhBbGCRZkFfvbUK82L3ZhMyMcaRrDjMXbuXNQCb91Uh5es/aMXgZVTJS8y8wsr5pX4/eceTbwK mzcrG96DGcZW+7yAcAOv5eJGlPU1mm7FBek8eLHRhINuckls2EGU8FAvEAxF27WawenAKJBpSkY g55M7WluRhQyMlYC/p7O/ckuSX6YB48nbE2rXtz/v1Jqu+GDTnZqJ5hftnscOJpNTYogyxnCfCl 2CGPQRwhh9VRA34bxAuesE8ItS/rF7za7GGnum8G75ZUHMrjj8CETTtz6g1/4PGkUXV/lEYku1b 0jWnI= 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: 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: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