Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp601898ybl; Wed, 29 Jan 2020 06:23:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzHiX4m42wxH6azGDzt36Qd0INfLm7+wTwrxi8ASi3qPfJWQIa28wBVjxgspghcJFXLh1DM X-Received: by 2002:a9d:12a8:: with SMTP id g37mr20915199otg.261.1580307838180; Wed, 29 Jan 2020 06:23:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580307838; cv=none; d=google.com; s=arc-20160816; b=R4znoT+NQAtBzVpH14WdxeSCWQ2Bz5/QfaFamcvM2Gu3LHqQSfjegJlNUMS4QdIU/p 4Ts3IUPqdM/Ud1oU4Keh03GgBj1keo0L3nKvkkJvKx7FHspcxykCdpJFwmjiH5iM15Hf U4AviraqMIVW9Ip65RYGrFNL8IU/VFNKInTcZNcyeGx5oPGvwlirNT9MtCXZVYMZaORs MRXHJpzptLypiRwdcMocbJpWsFQmMtT2OwNCjvVrmyD/OWyIqS7Dx17W42isLpFV0g39 KV8V6ekHBurHKu/BEee8klGuclscqnlachEbcfXwauYEjzI5HqRTOdJO77pe8J42TLzU lKKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=5/jF9vkU8dq0VqsQkWZ1ff3Xc0aB7ubhW43rdecjuUM=; b=ZPAg2DBPvMcftcy7QWkJ/ZgOTsO3ppFlXZr8SBdwwV5Xnum5Gb6Z3BvRPsGp8Be4k4 Es+sTJrNlnrjtuC9FeKgkFlFs+uM5B/6RlNs8qL9oBP3ODzQGF8fDlfG15SNvGCLpMAR xIxBcH4fncZyAFaMDupd3Pu9ja9ba56RdRL7ngp8czGnokHXiihpi1nFsFUWVsvhWhAX RtUGWScGHzcfeKQFu+aSkmoKZz9BIKt6JAIR74Y4W5dyqyhQHFQRDFMwMMLMh1X9q7AU mAh7AUdHTlfjjJl+QRujaJYYBFO5sntRbIZsZ06xcNSnogFLpEMcTIPt6SOMDNHUrIUs wXpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si1102349oif.167.2020.01.29.06.23.46; Wed, 29 Jan 2020 06:23:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726762AbgA2OVt (ORCPT + 99 others); Wed, 29 Jan 2020 09:21:49 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:31050 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbgA2OVs (ORCPT ); Wed, 29 Jan 2020 09:21:48 -0500 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00TEEZaK004532; Wed, 29 Jan 2020 09:21:28 -0500 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com with ESMTP id 2xrgdbv9u7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Jan 2020 09:21:28 -0500 Received: from SCSQMBX11.ad.analog.com (scsqmbx11.ad.analog.com [10.77.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 00TELQYu043117 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 29 Jan 2020 09:21:27 -0500 Received: from SCSQMBX11.ad.analog.com (10.77.17.10) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Wed, 29 Jan 2020 06:21:25 -0800 Received: from zeus.spd.analog.com (10.64.82.11) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Wed, 29 Jan 2020 06:21:25 -0800 Received: from ben-Latitude-E6540.ad.analog.com ([10.48.65.231]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 00TEKwxi027599; Wed, 29 Jan 2020 09:21:16 -0500 From: Beniamin Bia To: CC: , , , , , , , , , , Michael Hennerich , Beniamin Bia Subject: [PATCH v4 4/5] dt-bindings: iio: amplifiers: Add docs for HMC425A Step Attenuator Date: Wed, 29 Jan 2020 16:23:00 +0200 Message-ID: <20200129142301.13918-5-beniamin.bia@analog.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200129142301.13918-1-beniamin.bia@analog.com> References: <20200129142301.13918-1-beniamin.bia@analog.com> MIME-Version: 1.0 Content-Type: text/plain X-ADIRoutedOnPrem: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-29_03:2020-01-28,2020-01-29 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 clxscore=1015 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 suspectscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1911200001 definitions=main-2001290118 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Hennerich Document support for Analog Devices MC425A Step Attenuator. Signed-off-by: Michael Hennerich Signed-off-by: Beniamin Bia --- .../bindings/iio/amplifiers/adi,hmc425a.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml new file mode 100644 index 000000000000..d800639c14a5 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/amplifiers/adi,hmc425a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HMC425A 6-bit Digital Step Attenuator + +maintainers: +- Michael Hennerich +- Beniamin Bia + +description: | + Digital Step Attenuator IIO device with gpio interface. + HMC425A 0.5 dB LSB GaAs MMIC 6-BIT DIGITAL POSITIVE CONTROL ATTENUATOR, 2.2 - 8.0 GHz + https://www.analog.com/media/en/technical-documentation/data-sheets/hmc425A.pdf + +properties: + compatible: + enum: + - adi,hmc425a + + vcc-supply: true + + ctrl-gpios: + description: + Must contain an array of 6 GPIO specifiers, referring to the GPIO pins + connected to the control pins V1-V6. + maxItems: 6 + +required: + - compatible + - ctrl-gpios + +examples: + - | + #include + gpio_hmc425a: hmc425a { + compatible = "adi,hmc425a"; + ctrl-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>, + <&gpio 39 GPIO_ACTIVE_HIGH>, + <&gpio 38 GPIO_ACTIVE_HIGH>, + <&gpio 37 GPIO_ACTIVE_HIGH>, + <&gpio 36 GPIO_ACTIVE_HIGH>, + <&gpio 35 GPIO_ACTIVE_HIGH>; + vcc-supply = <&foo>; + }; +... -- 2.17.1