Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1670318lqz; Mon, 1 Apr 2024 13:23:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXZGiVtAQTq2e8pmw0YeX/ICih/p+Wdj5edssn+oH/yjl38/h5YS0/veW+bYryRE1nBMvrzloVC8uMSTHKd6rBNmrogS0ufM1Xtd6jHyA== X-Google-Smtp-Source: AGHT+IHn0nEviLg625RrbH3ZxC1ZWhjU1mObjDWh+/HTXIa8sA/JFADEAgwVh8YPwouXwijGawlc X-Received: by 2002:a05:6a20:4f28:b0:1a3:ae4a:930 with SMTP id gi40-20020a056a204f2800b001a3ae4a0930mr6904609pzb.33.1712002988373; Mon, 01 Apr 2024 13:23:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712002988; cv=pass; d=google.com; s=arc-20160816; b=umhjeznSfcesU484FppC23VlizLrTNdTf8BWLtdnjYt7hKDZ+dxWbsXV6kHPzzpCmk y/ZqlCkEA/7hLMBwAHpXCBk0XxLgtgc4bsR4s7fBQJu03oPU9b42dolkAvTWOxpT0NhS BRq6C0SKdr5AKgtXE+szfzKZGgnwU4murT952K+dmfEqkxFjFoRPnyUCkUY0HX/TF2or Fvb4/P6ClUhwLALI9YO+UHjxWePeHHljC7gm//QhdGXz6+WuqadvnmWrkamLXJFTtiT7 lRBsidf8oaI6NqrcIc5L5x7vBycM10qiEJ+npb9oGCcaIOrKqjf6rskE/NhppCAtHi1V XsWg== 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=5+Pkd+pnNIvLV4XvYMElmbyvB9teJQxJ5a1nWqDqW8Q=; fh=l4t/6rTmZ+/E9YpuIC0CjiCh5OCgf6qpWvJeEceVC/k=; b=fo1O9S6m/IfcCdQdABq3DDciC6w4ARa6GGBHxcJkgke9oI48dl1ZM2uxSgMdsLpTVG EPhkhKC5G6oe+xrzeoVoKnHyxDIbn1GkUjdDGnCS2PEx4iHthACYqP3Io5uRx7zZB8X5 kLmBPWTQx81nKZBJ7CmO5uKk0kMTbdbX/ZGv6axTPDbrWck2z/CyWk5JpU7ClNDGbDER tyPk17flNkbdp1Jzt52MmEqb9MSttCx+U32D9zHba1lzQ4np7R3ZQtriomh3/Ie/+qF3 8TfsmGSBoZul5E8lVq7ndrC4jp8wSAHCCm1xSw6m+Yn5aqCwPoSKDMkU1WpEplrQFKRm nwjA==; 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=vAp1fWyI; 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-127023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127023-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 o6-20020a63fb06000000b005dcbb6b06bbsi9527593pgh.292.2024.04.01.13.23.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:23:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127023-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=vAp1fWyI; 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-127023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127023-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 123A1282E9B for ; Mon, 1 Apr 2024 20:23:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D624753E22; Mon, 1 Apr 2024 20:23:01 +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="vAp1fWyI" Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 A0A602E410 for ; Mon, 1 Apr 2024 20:22:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712002981; cv=none; b=K+xpn1bbmDgt/oHMXkaukH8gHHcwsK7AQhU9NOOmfaLx3s8INdER/OvbeX4Hys/I5P0KxMcE/79p5dfXcg8MIvY192iTEedfi3x9ysaRPy8TWiCuZFpEUzzWicHyReHavwOTdrN5ocfxlct0h5Jj/c8SvgW6lcmhe8vg1FLe/+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712002981; c=relaxed/simple; bh=pTckc76jra1p4YfT6sJans2kodnxohGel0d8lmhfhBg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=h9zl3YgzozrULNiAaGyk+x+5dX+vOwhZcs6vpomHYiduQO5VlTFCm9mkdNRQAqylDzWvPr+NWme0BYO6qWrpOCyQKudaPhE7K3677/UN4Z0YIrZL0wojiLvat53U6IRduz8dBDqhozLNzouiqpOIRosOPVdgtkn2GUvxNDmMkQg= 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=vAp1fWyI; arc=none smtp.client-ip=209.85.208.172 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-f172.google.com with SMTP id 38308e7fff4ca-2d6eedf3e99so49219301fa.1 for ; Mon, 01 Apr 2024 13:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1712002976; x=1712607776; 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=5+Pkd+pnNIvLV4XvYMElmbyvB9teJQxJ5a1nWqDqW8Q=; b=vAp1fWyI/gOTbTUSXojvuj392O3Oj+iDzb+Sn2U6OZ7Wgih7SnS2qTSTi+xHcsT7VO uiSRsHO4D5eFaCWGiHctc+xOox+5IW0RWbuPL8Q8WF3KlntF9lRY9EGy/c6y/xWMFGTN dPwlCSIrC1Ux9sX2xTUHW+9+2on6Dh+xGtPNIoG58DYuRFz4H6VZnOlZevtvTv5Bsiwm xW8v2aEYueDbo1F6qz4ODckGtNn1Rj32Lt2Qjydwoa4EBLxXG64lulYEYhi/LGtIAnON okqx4ZpdwJCxBQpoxXobMI3Aq9q9KA9YHweasxdGBgY51bnpMXKcLCT8UF+TJGNR0QpA Cy+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712002976; x=1712607776; 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=5+Pkd+pnNIvLV4XvYMElmbyvB9teJQxJ5a1nWqDqW8Q=; b=YFH/H86FlBTUYQI3ogpVuhpvxvG/Ck8PvbldVu5ecQnG8ugI7DTjN2c/cyb7A512Ro jWfheC9ktpET715wBf/Z9MRHY936HULqnq1RG7RwVzcA7xNQA2R7PKgq9zeRdUpLYJfT L030Ckj2tRFh6UGQ5OfpSuc+7rjfOtWrv1dAJLciW3/m8KuWhteriFVh7GfqGNLknHi4 lvQXfd/hML8s0kuhw2KIJK0HstFBzmucoC7IoK1ZBPLvO6OXuFMAa8vRjSkvrVxNQMZF CGBTI5zOd4pb9N27ovMYtAzDOtD5+twnMZdKuSSNERYO8MwN0jZk507z7iRjukFCfnYH +S7Q== X-Forwarded-Encrypted: i=1; AJvYcCUUQ5+Yc7ezIi5AKh8PsW3T0/yibu06aYWhRlk5XB4Q4+ff+jrpEkkcBhjyH/NmzSjPB13Nc7iOLTf77XfqHDOYqwL0FnUW7uTl1jaG X-Gm-Message-State: AOJu0YxWR9imPk+iZAbOPzYoRtE2eCE/JuDnAz1vKHPqEslgSVY0infl iznEVJqhkG3Hv74YRbHEGdzypoLo43sxZy+MEUBYbU3Ph1vmorxaMdNGzDDYdIltWdK+nzARMlo TlSC4DOOclwHw7csGfAk1Cz9m+Mm7fhAhRAkyXQ== X-Received: by 2002:a2e:8899:0:b0:2d6:fdf0:24a1 with SMTP id k25-20020a2e8899000000b002d6fdf024a1mr4566384lji.18.1712002975886; Mon, 01 Apr 2024 13:22:55 -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-1-34618a9cc502@analog.com> In-Reply-To: From: David Lechner Date: Mon, 1 Apr 2024 15:22:44 -0500 Message-ID: Subject: Re: [PATCH 1/6] dt-bindings: adc: ad7173: add support for ad411x 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 2:37=E2=80=AFPM David Lechner wrote: > > On Mon, Apr 1, 2024 at 10:10=E2=80=AFAM Dumitru Ceclan via B4 Relay > wrote: > > > > From: Dumitru Ceclan > > > > Add support for: AD4111, AD4112, AD4114, AD4115, AD4116. > > > > AD411x family ADCs support a VCOM pin, dedicated for single-ended usage= . > > AD4111/AD4112 support current channels, usage is implemented by > > specifying channel reg values bigger than 15. > > > > Signed-off-by: Dumitru Ceclan > > --- > > .../devicetree/bindings/iio/adc/adi,ad7173.yaml | 59 ++++++++++++++= +++++++- > > 1 file changed, 57 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml = b/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml > > index ea6cfcd0aff4..bba2de0a52f3 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml > > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml Also, I just noticed that AD411x have only one AVDD input instead of AVDD1 and AVDD2. So we need an if statement that says if properties: compatible: enum: - adi,ad411x, then properties: avdd2-supply: false.