Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1650238lqz; Mon, 1 Apr 2024 12:40:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRnkjNlITGKrhVjH/+mxGIrwaZvizXKkNujb5zvRGrZzPtJXXO6xQ4qzpLGk6cM3N/ZaKpSrEJSAEzfPTi5TkAnPn9fjKHqmmFaze5pg== X-Google-Smtp-Source: AGHT+IHDAKvhvQ2quIbfcL1sNLvS4wEg5ux9n4YcuF40PWTdSr7w+nb0F8EaKCvN5vXeocbq9rPN X-Received: by 2002:a17:90b:358f:b0:29d:eea9:c800 with SMTP id mm15-20020a17090b358f00b0029deea9c800mr7216961pjb.7.1712000455734; Mon, 01 Apr 2024 12:40:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712000455; cv=pass; d=google.com; s=arc-20160816; b=tgjjwyJLPsRQaADU8E3xVjPrYwljyLboFxQB3ZGjmX5YEcu4XtB827WrEGbtcxytGZ d28AKeCvWfpjn69Rod2hHtkFossD1aEvhLYalVqO6PmRShfahDDLMurGCU00sA9uoHlD BsAaRhmtq2Md+Mxd1DpinIva6iB47Axo2wgJ5xMNvOhl9xPLVKAZ+q5VMQjXTl8oJTVe HCBOVRZqkz0HSSOZRlrPsmC8wQX46/6u4r+5dXyWIz8xlxQ8h1xkrjHOtm4P3n6RcUll bUNPj/K7sJVfyuu7EhqjoQmx+BasDt+SYzMXDYFd9q+IRdSwRXBquOd3W0vfxZu0cOnf ZIbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=l0Z6BGOa6aQ3LzuruVpcOIFCOQoft5ykkCp4c+D9ca4=; fh=A3FMhMx1XMRsgrRPWEjcU9PmqRp82zZB7FovXT51SfA=; b=S7pFIKLoIIe8FYrtb22WCYJqKYXWl03hgVo5wOTXSgSmc74y733H3OYiDzN/XVJ/6p g4EWvdhcoDfplR1IaA1JHhYSsl5px5nRAxxY70L+bErNgz+LbKb+x1SfB44q87WBy1sv 1mhpXVeHqNDMbXPxsZcAdJOSUbHTAkdowLHB2LlL9fbqn5t2/TywlWB20BYPQ39la7dF +oVl5pIrTFsDZnS3Z1/qRihqcxxRUUbOxdridbNZG+ySyNgOdwvnvRnzOElYaXrVkftR nj4icIXziN6eR+gdKA2ZLBAOASz7O5MGm8g5W1oxBP3i1ZY5gwGZgRnYOD91N8kQUr05 CfEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=yjSW9Puh; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-126999-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126999-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c22-20020a631c16000000b005d8c118be4dsi9474687pgc.136.2024.04.01.12.40.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 12:40:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126999-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=yjSW9Puh; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-126999-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126999-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6CC16281A50 for ; Mon, 1 Apr 2024 19:40:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BCC45490C; Mon, 1 Apr 2024 19:40:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="yjSW9Puh" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 910C653E1B for ; Mon, 1 Apr 2024 19:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712000432; cv=none; b=kFB6zX//jRO52s719L0rxHAd5TUzBs0WkE00z1E1T+LTQaEMFciBpGW6kXnLrcbMgSps1ayGon07cEkEJo9EskQTutZrTiyljjs6jzM8gYlaF7oH0bpLrSw2nz2jibVkQw/WE1VlrDOkDUXEMwtLbSRUfhPrQlaxY/HM017FvWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712000432; c=relaxed/simple; bh=l0Z6BGOa6aQ3LzuruVpcOIFCOQoft5ykkCp4c+D9ca4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=lA3+s8FZ8bfeKcK0QX/0S2f/dXbhqavzYZagZbV7e/4KcBWsGrqa17OsnCRjyahKDo1eQTjL2tnUxCtNgYtn4sXCkbzSkOdb0DBZmR4q6sT+5fNM8PfCfVfClNO4kCLzfsHwZVwqlnURf18FxK/Tl13W+myeauYoWdvd6xQvBn0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=yjSW9Puh; arc=none smtp.client-ip=209.85.208.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2d52e65d4a8so61733131fa.0 for ; Mon, 01 Apr 2024 12:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1712000429; x=1712605229; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=l0Z6BGOa6aQ3LzuruVpcOIFCOQoft5ykkCp4c+D9ca4=; b=yjSW9PuhLmF2rczI2BlI6wkDGe2gcdZiKBQZO5vvvMxaJAOQPaYCcYC9O/Yh+00cBz uEGfmWuPUfWJzUCOpkwr+tuA2lxbxpMUGCdAVtetDeZOL9jeSwDWbi2WT2BFea2bjyW7 lVIwx401xUi8pIPtTFKAyJtVz+jhfdTMFFuKxNYuKKCytgYaKY5UaCrWTFAbczMAt2C0 ka1y1wf9l8h9gleVWyy/818gGpe8fcykMMqRP3+D4PnXzH3Io89LXKsIqTZq8s9M56r3 kNqIxTuelmjl1E8NWNRU9JlVMAl+hJq+Y13Ke90XJjFeSS2Wr20KALFJhH7CxztyAYRO iydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712000429; x=1712605229; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l0Z6BGOa6aQ3LzuruVpcOIFCOQoft5ykkCp4c+D9ca4=; b=pIztJ+ymZy4HRdtBPLNPwFAgRRfVlLV+yJ6AcbpIYIR2AqV6n3/GfhRq9ykM7ExmzG x1BAPzSWvsCYGo00EQqTRfREhyYzXnGVDQlFb770u20Dh1cdoFt2egV44hWPptPbgTi+ s9Qkl5RoEzjcmwQDvzWx+DBzJc6rJRHq24BeF0Diop2EsmGz8sEVUlqQ3UPRAHDN68IR ubIc5ZmKPEXwM0vIKSzYqgKc3x4IyezViur5/q4iPqraWupNtp5iyO8zbtzuT71EY9G8 0O/LL+4tuSRpNGAAF+5NZl0iboQxuE1crSpLXHi5eyGiyXwU9BLR/C+BJK94gx4f26uS CIVw== X-Forwarded-Encrypted: i=1; AJvYcCXVAaSF1YKpy6WLhnmLwmRRCkzzWXpCWhl+QhrSz+whmgLxmIV/THDrV12BS8Lb8Ed1UedK3ZHDo8sA+2JbbZhTGV6/Hel0n9klrOPW X-Gm-Message-State: AOJu0YzSFfzP8Udx74zxgz/NIqiaDY600Q8NWUpHgVAzjDfbeuu5NCOF qCSP6+BmWiwPw6tv/L1Hfl91iACtdDYXa3XK11N0mGofiWmz+Q/pEdTCKoPR+GBfSTiCj5ynCWV W8fMUb6WsalpymAOJQJuZM9L3GlRHHPMmeFUKzg== X-Received: by 2002:a2e:7a16:0:b0:2d4:d78:b05a with SMTP id v22-20020a2e7a16000000b002d40d78b05amr5775375ljc.19.1712000428742; Mon, 01 Apr 2024 12:40:28 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240401-ad4111-v1-0-34618a9cc502@analog.com> <20240401-ad4111-v1-4-34618a9cc502@analog.com> In-Reply-To: <20240401-ad4111-v1-4-34618a9cc502@analog.com> From: David Lechner Date: Mon, 1 Apr 2024 14:40:17 -0500 Message-ID: Subject: Re: [PATCH 4/6] iio: adc: ad7173: refactor ain and vref selection To: dumitru.ceclan@analog.com Cc: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 1, 2024 at 10:10=E2=80=AFAM Dumitru Ceclan via B4 Relay wrote: > > From: Dumitru Ceclan > > Move validation of analog inputs and reference voltage selection to > separate functions. > > Signed-off-by: Dumitru Ceclan > --- Same as my comment on PATCH 3/6. We would like to know why this change is being made.