Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp551009lqp; Sat, 13 Apr 2024 08:13:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlHxpPtwFQclVPYlVq1XxI0g5Z3oD/dIT45HQP/6GLgq2fNkYoS0kwL1C6h1hNLIiY7pJoApEXDDbCLIar0TYJhjA2Hj66pZI1HlIrZQ== X-Google-Smtp-Source: AGHT+IEf5FuXo6bXIqwvlNK5sBJItbB7MapWFSUB/ejI+hjvn6ThOA6xpsi3X8EScMRIUMiMs0R7 X-Received: by 2002:a50:cdd5:0:b0:56e:219a:b49c with SMTP id h21-20020a50cdd5000000b0056e219ab49cmr3357353edj.32.1713021188890; Sat, 13 Apr 2024 08:13:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713021188; cv=pass; d=google.com; s=arc-20160816; b=N3PJCPmnUQ6rRGd+Eil2ql4hNaM2ljr1AKC6rJ3xwrRm8GCGKsIicPtEPOX9vNVyMx SkpTb+n79H2VaeiZj4zGN4GySolJlzFOfEq2gM4s+WAJvxTECqCxYWetzEIIAf8BP/di 8blxx2uZUn/NBLlvt+djaxgOJJjZ9c1d8L48U7qhzwn3SfyGPeo10fIC4zfaRUzsl88j ZjoDt2JzJfmtFSK0dGmYdO5hJSKx2g2l6gzDzqC5FtROttkPGkOosmL5PFv7fHk0bf/n d247kx0BgMH02/Q5/J0EogP/TOCbRH4Rj649Y1OK4PC2i4y2j9kdGqb66kbrlSAEj3gj 2M4A== 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 :date:subject:cc:to:from:dkim-signature; bh=GBb11tvx+5eI8LczNJrgwOTTPkpu4Q5YHuvpeo/+GrM=; fh=jqj8UTS8rbXorrgGzGsIQ36jSXJMXzPW5bp1wus0x78=; b=DZwqg/HmuLvt+q7czhhW/y5Q4DTIY9j/EYkHezu4nmaKDktB+U+oU1pRi3hFubMkmR YV+2uvXguoND/YPu5ksgKybkfWLESq08xJGjuEt3HjJIQKLtzoK4HntNc9NNjXJiE3W7 61A0FNEELKuDj5+0Puylo9RhS/7BAxin9Sxc5bZ7HS5ANwBZyBetWqc6eUX1L81b1are IsdARYYVBr7hxIhZ40JTg/Tn2IvwOpBXZ3o3qBmT7C1Gf9Xbjtfd4k2hYGW1jQZZ4lQ6 uJaFYCW/mx7X0hb3KKfP5GlQL5l26QT3VoAYUtIox0CvBHrYDbTaJ3dgBCgnN5pot5Nw sHsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Vf4/L0JM"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-143764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y10-20020a056402440a00b005700cd608c0si884093eda.313.2024.04.13.08.13.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 08:13:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Vf4/L0JM"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-143764-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 9E3561F21AD5 for ; Sat, 13 Apr 2024 15:13:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9CF347796; Sat, 13 Apr 2024 15:12:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Vf4/L0JM" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 493111F94C; Sat, 13 Apr 2024 15:12:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713021175; cv=none; b=p8BHyY8BVebT66z/SptQ2QqEbNlJ6gxJVfPdSFe9swo24UZEaM79xR0eYPS7pLdk2HuPXApQQTpzt6W4R592f7/H47T9irJ9p8d01JWubfJ51EDmEkscYGOIA8XDQTvMqbUDsyEvkWnOqygkb0yQLQgCi9EeNfUkWHN9XVc//MQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713021175; c=relaxed/simple; bh=7DFxNs6cCw28WpWPlFtO5E2+9N80ZigYuLgXuDTJF8o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XYfmQNLwNPVjgDgxkdrzrPZIBHvxwCz9iHHmU/wrGWKpoh5U5tuCmc5u3oBSw+8AQs9DDr6K+MbR/zVGyS2VjXkFV/q5ljGUsJQwu3ox3yfQK7GkNFCbmCmxIwhgZAKwHbIFKZJaReeE/iQHS3JvJH9LGciTrXMMXznsttjj+mQ= 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=Vf4/L0JM; arc=none smtp.client-ip=209.85.208.53 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 Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-56e37503115so1472896a12.1; Sat, 13 Apr 2024 08:12:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713021172; x=1713625972; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GBb11tvx+5eI8LczNJrgwOTTPkpu4Q5YHuvpeo/+GrM=; b=Vf4/L0JM6DDX5TnUXKplsehsvWVtdso+6HNOJPOqmPbNQXXFLJgGADHqYolWCM9E25 mCE4gI+vikkzXZhthfHxx50SAaJGnmlZ0O4bAKhrxB1vR5B8VNW8EhEFrNWNcjnYp9KO msr1v9odo/Z26f8FnDXRsEk5xMDzs7nFno/LMy8FIsMsxBmP2GHyoXPx8kg81crOZn17 dvXoXFjD81hsiZLxgKqe0PXA3twxFjIBRKbAqnNovQ57QCWxS6dlnbcwnHbKYlQIYWC7 mkzo5Vo1TFw5Jq2KOJy1w3n2Ij70KNYh0UyamsHiTwIM5GoKiz54aV9cFx0JLLnvK5bA Qw1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713021172; x=1713625972; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GBb11tvx+5eI8LczNJrgwOTTPkpu4Q5YHuvpeo/+GrM=; b=krk9o1rz/i3Z1fBMb9CgOdfh2d3IBr4jQGbSX0ppAo4tvKikIyXkc4SZLuZV7AsuiY 22ydD80p6rA5dgSoNF/rMB/B8gQrMo5t1Fu0bRuOmFI1hU4iticNu27Ksc2j5ACdZdT8 ThrGluWV+eSVVNAwkfMOWle4JXKM/nQmkiDkjReXbqHjtt9wouIps4v8MVyrmhbASD0E o0VNKY663osEUrUcKjRylbdNgwM4/J0HIhgynXnhxGtYtze4GDBHnmyl0l2xul/aoAI/ Mn8eJ8smrfBT6kkAOgK0B2LSalEjoibr2OmzYyWyo5c2mfUx/00qe33LKcjZKnk2kiv3 2SVw== X-Forwarded-Encrypted: i=1; AJvYcCVfWRDgo7rgQvrMnBU04oFBXw1oZ/TEpWFn7KcRSlHMYpYggcCW/QLGsBIIXPE8s23uT1v20/TWv1/0JUcQdVvUtSlA7Qyfp0n7pIIgVnF+/pHptjhwRZOnX1K7s20Pj7dgeAkVWYkrRjDmABdDGKJyDc9eAl6wEwtn+vtEwNQlU27Duw== X-Gm-Message-State: AOJu0YwdQGrlUtK+73adN9T1wgfWP4AX4tVs7RtkSeLvoQTU70p0kj5i c3RD7Vpj2KAGe05kLcdWfbBaNlG04MGEmouP2MpblP5Izy1YZpjN X-Received: by 2002:a50:d4d8:0:b0:56d:f075:72f6 with SMTP id e24-20020a50d4d8000000b0056df07572f6mr2750727edj.40.1713021172473; Sat, 13 Apr 2024 08:12:52 -0700 (PDT) Received: from spiri.. ([5.14.146.31]) by smtp.gmail.com with ESMTPSA id w4-20020a056402128400b0056e2b351956sm2749883edv.22.2024.04.13.08.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 08:12:52 -0700 (PDT) From: Alisa-Dariana Roman X-Google-Original-From: Alisa-Dariana Roman To: michael.hennerich@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: alexandru.tachici@analog.com, lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, 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: [PATCH v5 2/5] dt-bindings: iio: adc: ad7192: Add aincom supply Date: Sat, 13 Apr 2024 18:11:49 +0300 Message-Id: <20240413151152.165682-3-alisa.roman@analog.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413151152.165682-1-alisa.roman@analog.com> References: <20240413151152.165682-1-alisa.roman@analog.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit AINCOM should actually be a supply. If present and it has a non-zero voltage, the pseudo-differential channels are configured as single-ended with an offset. Otherwise, they are configured as differential channels between AINx and AINCOM pins. Signed-off-by: Alisa-Dariana Roman --- .../devicetree/bindings/iio/adc/adi,ad7192.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml index 16def2985ab4..ba506af3b73e 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml @@ -41,6 +41,14 @@ properties: interrupts: maxItems: 1 + aincom-supply: + description: | + Optional AINCOM voltage supply. If present and it has a non-zero voltage, + the pseudo-differential channels are configured as single-ended channels + with the AINCOM voltage as offset. Otherwise, the pseudo-differential + channels are configured as differential channels: voltageX-voltage0, with + AINCOM as the negative input. + dvdd-supply: description: DVdd voltage supply @@ -117,6 +125,7 @@ examples: clock-names = "mclk"; interrupts = <25 0x2>; interrupt-parent = <&gpio>; + aincom-supply = <&aincom>; dvdd-supply = <&dvdd>; avdd-supply = <&avdd>; vref-supply = <&vref>; -- 2.34.1