Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1575lqb; Tue, 28 May 2024 07:22:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUCYKQCP7tHCBsr5tusld++N6P8sAKT9zMSQjsh8d/1rQhuls7af1mBiHF0UpCskYJZ3oT5koXOPKqzcrR4PdetgiinUL/YlLFRw1Yd8Q== X-Google-Smtp-Source: AGHT+IFTCymPNci5X5FjQ8GALaDJlc7GB4zytZR9XOdecFnY3m8pwBh7dXolexProEZ5wfFxjHMT X-Received: by 2002:a17:90b:ed0:b0:2b3:502b:c473 with SMTP id 98e67ed59e1d1-2bf5ed1da7fmr10406353a91.17.1716906122212; Tue, 28 May 2024 07:22:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716906122; cv=pass; d=google.com; s=arc-20160816; b=oA3+Eq2VKgNe1q/ofIJ6e3XI7tapFvuy3OxPQtr4kPKxgykhYYv6p5325gh6S1MpIT MPbYohJ1VZsWSx8NnlVwPga41O29g4AQsdBZNeZ8I4IAREpMopqVx1xpO1xRs9Rppd4Q whBhVYxq2U9ECEn7SLq0oVI6cVSSgfhb5albVdNlrZvwcGKbOJ26Cfhue5jSak5Z/pvD H//vqWN48S/TnstkboDvXsnA7AKQQQPq8rVdMPazQl5nde0qY1HSK5k6izLW0C1uA4/7 Kk5CfqzjP2nZZakKVj5fhfOv/0VGBggq9HDU1QeYlvtAxme0CxiV1mo003OnigP/N8s+ GQ7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=7kVmMiAww/1MNzSxxAk2mzn+IJ9yIpCfeirFaQBWWao=; fh=z3S4EnXF2ibbEg7F21d4p/NZlpOQefQDYy8qI7Jc/84=; b=KproCJq7Uu4u1axHGZTIbXxHPhMgbNGRCl4iu7Djey6rKWOVDIDauwT2Lxav6w5SV+ /ij28xVbnmEQwoP3h1piZilOzUkw9Os5BznU5WqmTVcVLP64rO+97VX3J9btvyCNgNEU 3zVqO0kSR4OPOUJI86Xviu2CChdA/ne5w2GtpCKllyLW0+UAkusp1H19Rr5qtm9kyJdP hl0BOMAZ7mBbC24BwNmiYio7XsX+Hx2QAtW5Fsi2Q0IhsuceGFbhfwKx8D7c0urS4rp0 PvymPT0IzKEBxqhlaAHSvINCQ0AbRjMp6gNRv9UrBn1vGZc0pOMBb/f7YpNhNZIw94jt +LBQ==; 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=wFwd0Maw; 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-192522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192522-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 98e67ed59e1d1-2bf5fe623ddsi8017857a91.162.2024.05.28.07.22.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 07:22:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192522-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=wFwd0Maw; 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-192522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192522-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 80C46283B90 for ; Tue, 28 May 2024 14:22:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20500171645; Tue, 28 May 2024 14:20:48 +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="wFwd0Maw" Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) (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 4B49116FF59 for ; Tue, 28 May 2024 14:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716906047; cv=none; b=WRq97DpU5o8ioCroKl1mGKn+sit+MvyoCqoJi5e/jPowq4OTg9B94BZN2ck1hkbyFWe78/Qm37DRxxyS+Ol9JpIQas0VzP4ucUQDAes8N37t1zJbG6dcgRxfqOPU4z6Cc+Gtu8+IO13f7zdzOBrJFetewQj29xIwdS6m7lUgCSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716906047; c=relaxed/simple; bh=VQ4RPFjraeg9QG+WtxUK0LxObNrAlrRgeIFZywlwUq0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ldqRqWA0RBFgjBbHveUch35DsN4W3wgwGaOztPM9caAypSDGy28ooY/FXNRtaRQeM6mKU1uldjS/R8osnt0azsDPsLVkrHK5dewV9KqxAq+FCbCtzzNXk0Zq2Zb5lhDi95jYqNlTEzSsIsjx31u2B4fSCubRPqsLi3gRlJ1BDNA= 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=wFwd0Maw; arc=none smtp.client-ip=209.85.221.65 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-wr1-f65.google.com with SMTP id ffacd0b85a97d-354de97586cso1079431f8f.0 for ; Tue, 28 May 2024 07:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716906043; x=1717510843; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7kVmMiAww/1MNzSxxAk2mzn+IJ9yIpCfeirFaQBWWao=; b=wFwd0Maw8rJdEgBMSEk7MsgOfZsAd3dGyixE4aEcmnTLXRfXGfuwQ3MBvl3Gms+Es+ ifETO1YlnDHSS4qNA7DMf1uxP/VkOxN4UJpOi4GQZtaCAn7DjnjKLsWFnYP1RD2Zud0t 1bfoYrW+W9WgxFjitMGTgunioGs7FdO4WLwY3TgWcDqDOekMAUP5tCxiBlwvZcFgzR9z Gql8XZfJmyR3QCmGlUWWY12j+48RWqT+umTsBykDM6ZPMx/9MTnErU6JiypyUtH0sIRi 6xqex9hnWek1IPfrfE4w4EfMMTUO9Zf8RjZYOnF/gqomt/64+yrR3zPoeTwpBLPBS5Fr bR/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716906043; x=1717510843; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7kVmMiAww/1MNzSxxAk2mzn+IJ9yIpCfeirFaQBWWao=; b=nvC1Ifw3IcRU7yR7lVHbzf4NmIxw6zj1Pnrk7DgTiRKeysgzOAsMdaLROM3TRUOKP6 XSHVVEom3XgZofxrz5KkSo6KeQDU1a1SkEH1LRcgHqxV4tL097Y81rPTiaWXFtOUAdWg YmnAGYMzV/0PdGvRId6RKaJNmUdUfyw0dWTXjSBVbTtprgFp3Nse1dGf5oj0F0N/njMC tyGTD1ZqV29a7T28MEHQSFV3t8VBitWo8shgEPRHiv4fbnUniKCiuNkdlP/Th+DW/44h QSuLr03T1yeBVX8oS6+LOpcH1ZW3Snmf4fJJYljznfpQm0tVizrzGODAGaOY8qZjXsNx al2Q== X-Forwarded-Encrypted: i=1; AJvYcCWBpXj1eBkMVmeh7SNnjwfnBDQ5g7QDLSa0XSweAfki8LCgHRZt6LdcSiUVd7hYHymCL74GoOq0lndngWI6Ex7pMpJVVAeyCt6tW9cx X-Gm-Message-State: AOJu0YywNB/M69lw8MvrNLNxniB/PaBnbeKoHC2bvipjIpZeaUVoHNLD wdHIbm4G28m3CV110H27NfCPdwcGaIjH2sxwXm9bbpKGMJs5U/W+06rnWIE8cjQ= X-Received: by 2002:a5d:49cc:0:b0:354:db85:3039 with SMTP id ffacd0b85a97d-3552fe19407mr8128986f8f.44.1716906042936; Tue, 28 May 2024 07:20:42 -0700 (PDT) Received: from [192.168.1.63] ([2a02:842a:d52e:6101:6fd0:6c4:5d68:f0a5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35579d7db5esm11999275f8f.15.2024.05.28.07.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 07:20:42 -0700 (PDT) From: Julien Stephan Date: Tue, 28 May 2024 16:20:33 +0200 Subject: [PATCH v7 6/7] dt-bindings: iio: adc: ad7380: add support for ad738x-4 4 channels variants 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240528-adding-new-ad738x-driver-v7-6-4cd70a4c12c8@baylibre.com> References: <20240528-adding-new-ad738x-driver-v7-0-4cd70a4c12c8@baylibre.com> In-Reply-To: <20240528-adding-new-ad738x-driver-v7-0-4cd70a4c12c8@baylibre.com> To: Lars-Peter Clausen , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , David Lechner , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown Cc: kernel test robot , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Julien Stephan , Conor Dooley X-Mailer: b4 0.13.0 Add compatible support for ad7380/1/3/4-4 parts which are 4 channels variants from ad7380/1/3/4 Signed-off-by: Julien Stephan Acked-by: Conor Dooley --- .../devicetree/bindings/iio/adc/adi,ad7380.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml index de3d28a021ae..899b777017ce 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml @@ -15,6 +15,10 @@ description: | * https://www.analog.com/en/products/ad7381.html * https://www.analog.com/en/products/ad7383.html * https://www.analog.com/en/products/ad7384.html + * https://www.analog.com/en/products/ad7380-4.html + * https://www.analog.com/en/products/ad7381-4.html + * https://www.analog.com/en/products/ad7383-4.html + * https://www.analog.com/en/products/ad7384-4.html $ref: /schemas/spi/spi-peripheral-props.yaml# @@ -25,6 +29,10 @@ properties: - adi,ad7381 - adi,ad7383 - adi,ad7384 + - adi,ad7380-4 + - adi,ad7381-4 + - adi,ad7383-4 + - adi,ad7384-4 reg: maxItems: 1 @@ -56,6 +64,16 @@ properties: The common mode voltage supply for the AINB- pin on pseudo-differential chips. + ainc-supply: + description: + The common mode voltage supply for the AINC- pin on pseudo-differential + chips. + + aind-supply: + description: + The common mode voltage supply for the AIND- pin on pseudo-differential + chips. + interrupts: description: When the device is using 1-wire mode, this property is used to optionally @@ -79,6 +97,8 @@ allOf: enum: - adi,ad7383 - adi,ad7384 + - adi,ad7383-4 + - adi,ad7384-4 then: required: - aina-supply @@ -87,6 +107,20 @@ allOf: properties: aina-supply: false ainb-supply: false + - if: + properties: + compatible: + enum: + - adi,ad7383-4 + - adi,ad7384-4 + then: + required: + - ainc-supply + - aind-supply + else: + properties: + ainc-supply: false + aind-supply: false examples: - | -- 2.44.0