Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp532483rdb; Mon, 15 Jan 2024 05:31:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIG1xloDGjhz68Xmn7gNDBBDwh9Fuu5MzrjvW49G5PvMx5HgURCl1reX1T3JC8xM/Chqcl X-Received: by 2002:a05:6402:204c:b0:558:bc64:af4b with SMTP id bc12-20020a056402204c00b00558bc64af4bmr5444568edb.13.1705325466014; Mon, 15 Jan 2024 05:31:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705325466; cv=none; d=google.com; s=arc-20160816; b=lY3v79CQ0X59JVTJQG1CxnwF330Fwlv95Y/qKFsx+/rvoBkhdG591GAM/u2ZFJ0YXO p81ybwZAiolq761kvYKUfaNh4Rwa+6PYfsJoYdNoQ5hoH6bMscvhlVm3yge/gL0HWRve dHE/rivqsoOWh0lMLeELL/C9izLZTw01APJ8StkAn5cbQHm6QFrWn41/sO8ICee8vO1b 5nzv5Go0ozoYnCdaFxLsYxjVNoiKphY7RNmxNCFkIrkM4bgQUxm2jVRe3sGL/tArKPRr ZOTiFqaMnHbDHYpulSyory8PnRXhpyYCMJCNtv973e9M2PS/URsVi0HfBUjD+bEr5FzN 1oQg== 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=3IfByO+2rIcCGnCKsv3npkbJVqHFL3ale3i7+O8UKFk=; fh=jZxqBmwoMYVhd/S9YMxsR8Z3SXD7wz3G+N2OmqfltG0=; b=N9fYIppJJx05LTLYrf0ayZDfOS6U3fWwWD4sYbzk9PJQ+G6DgMkv2paVPvhwOWKPB9 fCTNu7mZvS3pJT9t9wUiIkEzSbs7KrmG/0tZ/rS7W95uUmIw0JKrWNj/TAoK0Rs/mCtv SlpX2wtuZ6MXF2XfnmveJYtSArknAciKgLY8K0Pp3cE7N4iBuFOTKdyN5DiDIJQEKVwW MEt2JGC3xoQZSeDJ6q+AyQUmIC6wh+fkSEo4WsA3Zj/HxjHER7enHC3iB9DC9cJmpL7K z345rD2DnRRYpkqHiLP3pLRXbOovR2IFBABb5to4mjcUdv1MipDC9K2I6aCT2fhQh7ak fEQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IOHv4n8H; spf=pass (google.com: domain of linux-kernel+bounces-26029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26029-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. [147.75.80.249]) by mx.google.com with ESMTPS id f24-20020aa7d858000000b0055779979d56si3836757eds.541.2024.01.15.05.31.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 05:31:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IOHv4n8H; spf=pass (google.com: domain of linux-kernel+bounces-26029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26029-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 33ECC1F210A9 for ; Mon, 15 Jan 2024 13:31:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5743917586; Mon, 15 Jan 2024 13:30:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IOHv4n8H" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 32666171D2; Mon, 15 Jan 2024 13:30:31 +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-f43.google.com with SMTP id ffacd0b85a97d-33761e291c1so4959096f8f.0; Mon, 15 Jan 2024 05:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705325429; x=1705930229; 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=3IfByO+2rIcCGnCKsv3npkbJVqHFL3ale3i7+O8UKFk=; b=IOHv4n8HB5d+9DkcD57JE0E15ym14GRk2wpxrRxH3n9eZ2QZdRZQcDIoaLyQKnqxtI Z/ah5tlMM1yARYJNX+RIYvM37FATjkVO2MvNpoX6pjIVmJu+HiESvxNv5qiPZbL+iHO5 yBj07UjSv4kJXfwZsjTYZ7sO5wESOPavFSEj7p9K+5U6e82CesWMhM/yLp5V59lh28E/ aJnqbC8LwFAwmgKXrkAa+dsGeJvLq25RwsNAqULrjmeRCvR6aZLK2Poj/elUTg+iaqiP Ef0hHLseNgqHT/h5BebjhbouBrS97MnkZzHk4JLNal6CsnVOsllQ+RCCH1QRoPMYucf0 mXWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705325429; x=1705930229; 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=3IfByO+2rIcCGnCKsv3npkbJVqHFL3ale3i7+O8UKFk=; b=I7U3xCSWuLVVZUrxZr5d6LY+GUMvt+k+Jzn0lS4ztMTXxS0jshFXs6mu/CzbFqOh7n DeUs6J/7rANji1rul8YLOAYLmVbhQgqGD72HQP2C2PVvdqyfbO4F4/vu44ZQg2fORCUr phFzks9aJSsZYCiUyEZsCuARCmhT4Ib7r07ipCaNJ6cpz/ytTV4F9SVPDHY305lKuUTA LKpkLrBdvNebHaClSg5YEeQQh6EP96g9wrzC7h/a3UABa1zrwG+u/BrV2tdkbhq1EyvF Ua/13/cnI8W7SG2vGLMrkDLd9f2hSnJTsDurI7BxXU73hfcUdIGKNNFarp4KMGIo4g49 4Elg== X-Gm-Message-State: AOJu0YyiYuwixy9KQF/ge7eX35Adans+MTjbMQrtRsNbzuFK3DttBQjH 9IP57PhSPaWxdBG0sIjYypA= X-Received: by 2002:a05:6000:14d:b0:337:a0ae:13a6 with SMTP id r13-20020a056000014d00b00337a0ae13a6mr1455472wrx.64.1705325429489; Mon, 15 Jan 2024 05:30:29 -0800 (PST) Received: from HYB-hhAwRlzzMZb.ad.analog.com ([5.2.194.157]) by smtp.gmail.com with ESMTPSA id i6-20020adfb646000000b003378d89737fsm11566669wre.46.2024.01.15.05.30.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 05:30:29 -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 , Conor Dooley Subject: [PATCH v3 2/5] dt-bindings: iio: hmc425a: add entry for LTC6373 Date: Mon, 15 Jan 2024 15:30:15 +0200 Message-ID: <20240115133023.3465-3-mitrutzceclan@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240115133023.3465-1-mitrutzceclan@gmail.com> References: <20240115133023.3465-1-mitrutzceclan@gmail.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 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. Acked-by: Conor Dooley Signed-off-by: Dumitru Ceclan --- .../bindings/iio/amplifiers/adi,hmc425a.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml index a434cb8ddcc9..3a470459b965 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,7 @@ properties: ADRF5740 - 4 GPIO connected to D2-D5 HMC540S - 4 GPIO connected to V1-V4 HMC425A - 6 GPIO connected to V1-V6 + LTC6373 - 3 GPIO connected to A0-A2 minItems: 1 maxItems: 6 @@ -64,6 +68,16 @@ allOf: ctrl-gpios: minItems: 4 maxItems: 4 + - if: + properties: + compatible: + contains: + const: adi,ltc6373 + then: + properties: + ctrl-gpios: + minItems: 3 + maxItems: 3 required: - compatible -- 2.42.0