Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2052674lqo; Sun, 19 May 2024 10:54:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWo2nxBnQdKgbFWfx3q3SrFPQl2fz0nziLCR5KOyemQ9hA/pjzVVZsRLptmWJttGTfKcj25wHhIGkCS88Br1SOZj9ZUNXCl9JpLYM7mOw== X-Google-Smtp-Source: AGHT+IHB/kVtL4AhjI72G3MPPjJZMTN7cwHn+uWmmAAHdZHiKElaDcbZmfmGP44Jl1WjISGLSlA9 X-Received: by 2002:a50:9316:0:b0:572:6ee9:5a2d with SMTP id 4fb4d7f45d1cf-5734d5be777mr20478074a12.12.1716141272897; Sun, 19 May 2024 10:54:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716141272; cv=pass; d=google.com; s=arc-20160816; b=XH4ZfPZ7fOyaovzPPXDQgopTyrUka8PHn+kFRH3aGUOouuVGjlJzP5bxHfbyHcQoEf KnyKf72h73kkg41UNielKthjX5TUBMzbjFxL6l7or0KP6iJgg+MxLCwBWjVtCaeekK8N 5ExTMb0d60XfzZYTCbFqko5GWIJKZ8raAcCq7RTPquLYKDIgEAK2QscvAG9La4aFktap XweOm2WhQxiBB+2ieIqnjhHafhpYrOoMN9r8bI1gkoLBJjCPd7vQ7Tgs9F0UX+aBSMkz mTn/8xaibYdVmpiBR4kzIzi9UoqdDqcQdXZ0uMjc+D8rSqLW36Ea7/3jME2mG9fRAae8 9exA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=sui6ZgYB7Cl4OE6k/Yrd1x+QmG3DXsGfBUEsVXKKGCc=; fh=l3aZdW+WYt1m129XjEhcKjO1WJ0/DkX2tYwnn8UtSv8=; b=PaD1cBoIs5IVWW++yAXdPmTYJNzxVabki+vcP/AAUhHTWkKJuh9SWiqWWccnR8T91R K/yJGZZrl/ERVrvQXm1qO5EmgTzev9GRfDgqxSBc1ikyKtlxHxaX+/QmH0WGHW2tBrTr NSb/H8x9mbrpHGZ/0SibzjsHm0dsSIFCOql1hgmTde7h4KfcRZyfG5YCAHA8RkwYVlIV zTgtiYhlfbka/Fo+0GdlScuQrzfjEZTk9UZ/+97st0D5xe4VL3U5uoBsW/aTRYMd680w HQHnz6JuQkEQgdIVfC15d31tc9UFL7stnHwV9JQ3WwU1aGLpCj4T4Im5VkevNcQ4e5Ql 4e5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YUbNx0OE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183183-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183183-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c3737fdsi12613464a12.596.2024.05.19.10.54.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 10:54:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183183-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YUbNx0OE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183183-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183183-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6BAFD1F21267 for ; Sun, 19 May 2024 17:54:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C478E524C4; Sun, 19 May 2024 17:54:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YUbNx0OE" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA8D050241; Sun, 19 May 2024 17:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716141263; cv=none; b=AXVvdH1Ev6fk73++VOo98VCDeffKCLbtySF2B9ZiLwk6VshZD1wvVwdf/ayQut+rlSGMmc0j6edTErss5YGVkqJ74vvrPJ8/nsUAj02AlptC6bTqdMCVNisxv6yUvlNvYR9bbaCkDXXxpv9NRmBPcsDejQSL2yqc0XZBP5RKv24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716141263; c=relaxed/simple; bh=/jo8GeTth/9/hplUAMkUi07J7bpnYBRtXA9PXGRzzSM=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TrcRO15iLH9r1ahZvDUr/gz0Y4QoFuaU2Cqv/Dl1UxqqzuKH+eZHTwmtEKJ7nxScWdrGPQ0sc2ZEG0vHr3ivzUj0kE4csuZ/Sjr1LFPTvp8qONK8ST8J2soYnf4GyFsxbTYcKhJil7JDsBt3/tlX+04l47ZsrIp2dK8T6+3D53Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YUbNx0OE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7A44C32781; Sun, 19 May 2024 17:54:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716141262; bh=/jo8GeTth/9/hplUAMkUi07J7bpnYBRtXA9PXGRzzSM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YUbNx0OExesKeBQj6AOzIIfu8e/9FG949/uWqMAje/Jmuw3DEvKRALKR3HBYVzVhS OXGvP3Gu80qme+zp59W2cxnfcL0vjtAoD2r1XCv+5l3bJHd6Jm6+eP2PxGiAgViDfS J/JDNiWrGuF4oEz+6rYKgYk6auNomDc4mJsawOVvFIVKxuKMEZBt2NjjLUthjRSeoZ oxA8b15c+PPJxA6OBCVJ7nGtoW+Kb/clbzgYaUKjP0DYTDTBTvrgTGjghE+4RvtI4E Jb9Win239p115/bF1N83hDWUEHqR6MpbJKZ6f0R/s4uO04bm+OW1GOjnvfcISqqK+E tae18yMfZP9Rw== Date: Sun, 19 May 2024 18:54:05 +0100 From: Jonathan Cameron To: Alisa-Dariana Roman Cc: michael.hennerich@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, lars@metafoo.de, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, andy@kernel.org, nuno.sa@analog.com, marcelo.schmitt@analog.com, bigunclemax@gmail.com, dlechner@baylibre.com, okan.sahin@analog.com, fr0st61te@gmail.com, alisa.roman@analog.com, marcus.folkesson@gmail.com, schnelle@linux.ibm.com, liambeguin@gmail.com Subject: Re: [PATCH v8 2/6] dt-bindings: iio: adc: ad7192: Add aincom supply Message-ID: <20240519185405.30dce3aa@jic23-huawei> In-Reply-To: <20240514120222.56488-3-alisa.roman@analog.com> References: <20240514120222.56488-1-alisa.roman@analog.com> <20240514120222.56488-3-alisa.roman@analog.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 14 May 2024 15:02:18 +0300 Alisa-Dariana Roman wrote: > AINCOM should actually be a supply. AINx inputs are referenced to AINCOM > in pseudo-differential operation mode. AINCOM voltage represents the > offset of corresponding channels. > > Reviewed-by: Rob Herring (Arm) > Signed-off-by: Alisa-Dariana Roman Whilst I'm not sure we've totally bottomed out on how to describe all combinations of pseudo-differential this seem reasonable for this particular device and harmless against any proposals we have had so far. Hence applied. Jonathan > --- > Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > index 16def2985ab4..cf5c568f140a 100644 > --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > @@ -41,6 +41,11 @@ properties: > interrupts: > maxItems: 1 > > + aincom-supply: > + description: | > + AINCOM voltage supply. Analog inputs AINx are referenced to this input > + when configured for pseudo-differential operation. > + > dvdd-supply: > description: DVdd voltage supply > > @@ -117,6 +122,7 @@ examples: > clock-names = "mclk"; > interrupts = <25 0x2>; > interrupt-parent = <&gpio>; > + aincom-supply = <&aincom>; > dvdd-supply = <&dvdd>; > avdd-supply = <&avdd>; > vref-supply = <&vref>;