From patchwork Thu Dec 21 11:38:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ceclan, Dumitru" X-Patchwork-Id: 182158 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp347235dyi; Thu, 21 Dec 2023 03:39:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IExeuFzNzAYAkkzD9Hhugkm4Y9t7a6Pg4Ces5bqKbYu8qmFLLfWYax1flSyKNSsNK1cqitH X-Received: by 2002:aa7:d98a:0:b0:554:35b4:17 with SMTP id u10-20020aa7d98a000000b0055435b40017mr209483eds.85.1703158779013; Thu, 21 Dec 2023 03:39:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703158778; cv=none; d=google.com; s=arc-20160816; b=i4jsBFApL048bpozYvSTpesc865US6lPq7j3nVHMGTQ0McinF6AZztgMr3Y0xOd/HE icU70ZJLb3akbcJMT3QymcqGW5L+sbvmQJHJxJ++lkoqiReMSrxDOyHJi/xZktVRzRis 3PTfw6CAvvOizmbSnflTvDqrInUv+8iDk4q2pYguyqwMHtUN+hyVoTRli9URIIrzlzUy SXBOHKuQ5R96J3jWmm6x+4JdbeDvEYMB1uFpuZgMzkhaDORT6WhA8r5JMP7AWAkp8A13 dKr6WFFXp7+w3v9cP4lJM/IrWGcllnNhup9RDgfCIXKsZBswDUrVUUe9f5igDH37obLt ROfg== ARC-Message-Signature: i=1; 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=RMm8zv9Z35kfc5G03goO2WZtkIVh50f0pyRY4VXxFeA=; fh=PoqurvjkpBJl30+ffrAx3/BrvkN25qVeT2Zf3Zzn9nE=; b=jCdnfBQF9i3Nm7P+tgald+GhDz/kU8nH5q4Gm6cnxkLAbzP8MIKdlMOosjlDjqI0GB oPqWBN/VjjsDZg4B6QIPMOIW81KGvxxv6zn4NIhNC+D6znEpWpzQqeaSYvHt7ul5lAuf xl0lmPawyFbCGD3F2dO8jjMb9ibZDFlYcTA/zxVr0eScPItsd1Q0erf05NMGW8XB5vzZ EhgsaoR+BGYJfkWEQCaeQ1khDT+ZggKlsKSgYio+GRZMgLwXx284DLaorMr0Ju+Z8ewG HVAwQ4zPKJy3oLSoax20vyBn9l5Wkef6DNy4rfSAuzu2ptyTEEILGpyZSnVdCbu9FsNW 0CSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nmjIcpmY; spf=pass (google.com: domain of linux-kernel+bounces-8292-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8292-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b27-20020a50ccdb000000b0054cbd5bd238si789267edj.247.2023.12.21.03.39.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 03:39:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8292-ouuuleilei=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=nmjIcpmY; spf=pass (google.com: domain of linux-kernel+bounces-8292-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8292-ouuuleilei=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 9EBBF1F25F8F for ; Thu, 21 Dec 2023 11:39:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 261E073171; Thu, 21 Dec 2023 11:39:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nmjIcpmY" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 15B196DCF5; Thu, 21 Dec 2023 11:38:59 +0000 (UTC) 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-wr1-f45.google.com with SMTP id ffacd0b85a97d-33664b4e038so585241f8f.3; Thu, 21 Dec 2023 03:38:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703158738; x=1703763538; 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=RMm8zv9Z35kfc5G03goO2WZtkIVh50f0pyRY4VXxFeA=; b=nmjIcpmY4vP3OaJqBqelA1npWI3OBtwTdaOEJxXZW41XxFPAVE0lx9x5kEz0kULPqw QcDlHZHylDnHrPxL2+h8+gp0/hMJhvR0WPBhskFx6gKBcC7UrdfSryRfIxJZzzPOa+RN hSiJH6nHsHRsC/AWxGSdJ3f4mr/L4ZYAFFxfULtuUvk362MflygkCBY/K4TWkpEXkVxj 99M0zlnyVxGQAXagTCi5q/+VTAmO1q4xgWMX7Wp66sE9S9Xs0KF0gzkoVmDUCIRYDfZB mqAmQwkJ4Mfxy/Umm2q0C1rj5IqekpkGqXy6WEBUJiRtVffr/1008k2iGKcfBTruOJT8 D1aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703158738; x=1703763538; 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=RMm8zv9Z35kfc5G03goO2WZtkIVh50f0pyRY4VXxFeA=; b=EwYpiTApwS7QM6uXPBe7i0e1Q4an/1dtK//xaRVbUlAKRXGxMCUYD3/+zHFq263Sm9 GkVSwXGg1kG75CUICpYod52AeI67ts+7QD4l6spY5E9nOkgiQc6O66joH40fp8kKO8f2 D6mH3EJKxCUQFe9GgUlE7tZRW2Ip2kaauuDApJwLGcnTVGc74SxPJrmdOVOjzEjl3SdW WpsuIcfqnSAN/STdY72AxFkTNY4T1+BcZsuvOkO8/OEf93toQFBYaJcjuPPq4e6R+5LZ gh3AngAmkt3WiuRKK9L4GRMkJXrtkV1jyeKvQIl8DGc7m969AKCQEqkEofxMtXF4Ibua iIfA== X-Gm-Message-State: AOJu0Yw5PP2xeDYHIAByVKHS5Qe1FFfTH0uSAiYnIC2ZUMtERUduB3nd YsTTAdCfLdt7t2dig5fk1k48+JmL9Qx8bw== X-Received: by 2002:a05:600c:a297:b0:40c:6138:981a with SMTP id hu23-20020a05600ca29700b0040c6138981amr592707wmb.38.1703158737974; Thu, 21 Dec 2023 03:38:57 -0800 (PST) Received: from HYB-hhAwRlzzMZb.ad.analog.com ([213.157.161.11]) by smtp.gmail.com with ESMTPSA id fl25-20020a05600c0b9900b0040b3e26872dsm10940404wmb.8.2023.12.21.03.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 03:38:57 -0800 (PST) From: Dumitru Ceclan To: Cc: Lars-Peter Clausen , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ceclan Dumitru , Dumitru Ceclan Subject: [PATCH 1/3] dt-bindings: iio: hmc425a: add entry for LTC6373 Date: Thu, 21 Dec 2023 13:38:38 +0200 Message-ID: <20231221113842.25957-2-mitrutzceclan@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231221113842.25957-1-mitrutzceclan@gmail.com> References: <20231221113842.25957-1-mitrutzceclan@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785891419986782810 X-GMAIL-MSGID: 1785891419986782810 The LTC6373 is a silicon, 3-bit Fully-Differential digital instrumentation amplifier that supports the following programmable gains (Vout/Vin): G = 0.25, 0.5, 1, 2, 4, 8, 16 + Shutdown. Signed-off-by: Dumitru Ceclan --- .../bindings/iio/amplifiers/adi,hmc425a.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml index 67de9d4e3a1d..8e7d99823059 100644 --- a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml +++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml @@ -21,6 +21,8 @@ description: | HMC540S 1 dB LSB Silicon MMIC 4-Bit Digital Positive Control Attenuator, 0.1 - 8 GHz https://www.analog.com/media/en/technical-documentation/data-sheets/hmc540s.pdf + LTC6373 is a 3-Bit precision instrumentation amplifier with fully differential outputs + https://www.analog.com/media/en/technical-documentation/data-sheets/ltc6373.pdf properties: compatible: @@ -28,6 +30,7 @@ properties: - adi,adrf5740 - adi,hmc425a - adi,hmc540s + - adi,ltc6373 vcc-supply: true @@ -38,6 +41,19 @@ properties: minItems: 6 maxItems: 6 +allOf: + - if: + properties: + compatible: + contains: + const: adi,ltc6373 + + then: + properties: + ctrl-gpios: + minItems: 3 + maxItems: 3 + required: - compatible - ctrl-gpios