From patchwork Wed Jan 10 15:37:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ceclan, Dumitru" X-Patchwork-Id: 186935 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp872451dyi; Wed, 10 Jan 2024 07:39:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXaufndQ6B6ZAD7MHvBssswIYnimow2JrJzSbkXf529X8W2FemtiZ3JOMbc4gJ+PxzPHo/ X-Received: by 2002:a17:906:3105:b0:a27:5b4d:e2f2 with SMTP id 5-20020a170906310500b00a275b4de2f2mr603668ejx.125.1704901181307; Wed, 10 Jan 2024 07:39:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704901181; cv=none; d=google.com; s=arc-20160816; b=RAlhvsf7FyWzYCNnLrU0CFyFjREUT6ueztSR/2iSGUXZoDenYcZQDhM4NakNeykfVe E89ys+PEX2lYbnm2bMDlH2AZnfJI4Y53tiPjDub78sxVSfGqjP0cq+hh0wSn7Wd7xg82 HvzbSlEzf6Ezbe6PJl3VuOGeJ8qg155QLN8bcq/cNMH45CdI0rNYilSP34s5cGOYGDyk opZQnjWvAb173shlUPsR4GJ/nI0AbqYXWu2R+NY81osQ21qVZZlDBhm2F6KcGij8FFpx Ig/1HP35GHjvXOjRMgxjkgV4v4J0l9eVumBZfR6nVn8s2TYcRzeZSoPW7HmGMrXv78lx 6pAw== 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=HU7PZJBE6Sseq9pTkM57wZJByEMMVutTUH+OD/JSNY0=; fh=PoqurvjkpBJl30+ffrAx3/BrvkN25qVeT2Zf3Zzn9nE=; b=XSsP9pJp8kR+9LM9JbXQLlMH9nSSRhXa2lmMKNSR/bPmh2Z/Jc8FAxwW/iQh6lyky6 rnI3KnHI7Ar2RGaXNqDb+tEHCtWClN2NP3XHR3EUc/udM8KhEkZVm6XNoZ2A7+yJUIyH AWqZWO80qCxaED1WQn6b/k5XvEG8RwzO6U1kSMHjvPAoUucb3nrn4s4aeDr+aS91flWJ y2s93Eh0s0CjEtyE+S1bFxiHZLk2UjjsMiHGPShs+AbjKupHOQGbInrI2ExbxBm1ZDIL zWvOwBZjrd+9FLcdDa5TKvGAyqaBGaQGaP+vdi+o+/SmmSqTax27dFkuLfVv7my/qTF2 298Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nYpg6nSr; spf=pass (google.com: domain of linux-kernel+bounces-22433-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22433-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. [147.75.80.249]) by mx.google.com with ESMTPS id k26-20020a170906055a00b00a2ad1086a3dsi1822121eja.90.2024.01.10.07.39.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 07:39:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22433-ouuuleilei=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=nYpg6nSr; spf=pass (google.com: domain of linux-kernel+bounces-22433-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22433-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 E26D31F27453 for ; Wed, 10 Jan 2024 15:39:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9BE14D100; Wed, 10 Jan 2024 15:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nYpg6nSr" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 B2D444CB33; Wed, 10 Jan 2024 15:38:07 +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-f46.google.com with SMTP id ffacd0b85a97d-3376d424a79so2654764f8f.1; Wed, 10 Jan 2024 07:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704901086; x=1705505886; 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=HU7PZJBE6Sseq9pTkM57wZJByEMMVutTUH+OD/JSNY0=; b=nYpg6nSr05fmnppjJ+7y16mhAZT6qDg1YULMecpbIZGU8H4looSu9BnpB8ODb7D1w4 EjS7qq5azrj9voMqXgUAEmNuByHQSIFX6XDLzFysGMAJmX11SaFO727Xvv6maUoPVias /Ss2s+mh+G43HdY4DolW+goaEjfMKpFKaxnt+GlYAKezKauK6goiCJbEzHuKU2nVonKn gXtRV9PGf/xlAb5nm5MQF+S4LoNe8vGSNaEvZhIHr/B8dvHx4IJ1ZBHeIH0R3KX7ABSk Wxob2crEx+e954DfAYDeM9FDmvBv1jWBGx2WcXFtj4x2OsmddH44JGz3aq/87LRORnjw 8kwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704901086; x=1705505886; 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=HU7PZJBE6Sseq9pTkM57wZJByEMMVutTUH+OD/JSNY0=; b=cL38gwUkmcYXyadwd2wijCtaJjncbWwLCNjV/ySRKldGmj4x7JPlJtfOuLR4NdDICb Hx+Ok4k5B81mo0I/Zl+b2XgHQ+fhoWAOyjr+zoA1AiNmUXGUyi9aIHfqPOFmT0N544Bx l8dMY5BCYQjpAwHsMFxZPswOEV9OI2/7QYq/gBr74brHGCDO4HatFN7Eg2KFPUkiMOLs JbFT19buQw5L25VDqRG2VpD/Eztd5sSRQzG1XREdu3aI5FRlDDSorOePkJX5I1WeIjHO BC8AC9wV0dbz6fk4GzcwBOXtOYXQ4ferFUPtysbr9tFeJsm/bccdXLzacTKujvtXgar7 qOYA== X-Gm-Message-State: AOJu0YyJ1bBpJuJrGFNVWBWzeRdKK+ymHTCeGWwpXLcGoxnWUeUfxhvA cw7n9vlQiVRbsAiPnJuTczk= X-Received: by 2002:a05:6000:912:b0:336:614b:5326 with SMTP id cw18-20020a056000091200b00336614b5326mr748221wrb.82.1704901085667; Wed, 10 Jan 2024 07:38:05 -0800 (PST) Received: from HYB-hhAwRlzzMZb.ad.analog.com ([86.125.72.218]) by smtp.gmail.com with ESMTPSA id e30-20020a5d595e000000b0033776a50472sm4179907wri.10.2024.01.10.07.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 07:38:05 -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 v2 2/4] dt-bindings: iio: hmc425a: add entry for LTC6373 Date: Wed, 10 Jan 2024 17:37:10 +0200 Message-ID: <20240110153757.5754-3-mitrutzceclan@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240110153757.5754-1-mitrutzceclan@gmail.com> References: <20240110153757.5754-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: 1787718461000080319 X-GMAIL-MSGID: 1787718461000080319 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 Acked-by: Conor Dooley --- .../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