Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2623026ybl; Sun, 2 Feb 2020 02:55:09 -0800 (PST) X-Google-Smtp-Source: APXvYqwLi7cgd9bRC84owjSF0t6QStaQYm830T6HQMgJvb1vtsdEMiPQ+cDyulVZ6yT0DajY7oQk X-Received: by 2002:a05:6830:4a7:: with SMTP id l7mr13248920otd.372.1580640909378; Sun, 02 Feb 2020 02:55:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580640909; cv=none; d=google.com; s=arc-20160816; b=e4UkYey2Ak7vK7WXhq7jgSoCNK0e8ONOu7rg5MZ0EbWUUg571+BsLR9CMb1iwNQm7+ AFdjwM52GWc+u68F61JrLGgZNBeyYBzGlbECSqG0PEVMZCfeFEKSR5rhH5xsn7Kusobc OaFwUb0Y9McMo3pl/vJssc4kCh7efBLDlHLEgK54HgJG26pHeno42GfCYA2NcAmsNy1L MMucnSVknAEfK/Vv2GfxYSsANYKkZWoiX49rEckXKs8UlK8Xm91Pfe66jItDqlz/Ss2W GidgIR+BqTJ9igj36/QcG9ofrO19mx9unNcOJaE1kGTgdJ/1jdZTuJCNhGFjSLNml1ii sm7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=JKD1sX/N6InSY593I20b9gBIxyUa8KTj5F3k/uewy4g=; b=dCgBU+kSIdCdU+Gj3mYMeOdA9aJmH06FTYFAW1/EK59o0LyJ72k6VetitYhTq7W1ri SCSi9Y1Rbw3kEyDA7fTzmHX7dTCNn26HIlR/SONRxFa8eow2cicFVpT5qouFG2W+ik0d jzvMLEQomG37q1RuFVNEvcY/YsljKr2rYpC43GeDYvtIxgPwpWpUrmuvFHdWwS5gwskL esHK7lLhAmavuIFqIyXGmLisT1u4fEQYEVIa35IxaKxZX0H5ZaDqM9xV7SOaw0edWkt0 k8CDly5cNBfo2m1JEimcmg4LvrfD6Ya3WrGsvWbvk1swO6QwDktH/5O6J4kRahsqx5q7 miWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qqPLuAsM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si6897110otr.64.2020.02.02.02.54.57; Sun, 02 Feb 2020 02:55:09 -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; dkim=pass header.i=@kernel.org header.s=default header.b=qqPLuAsM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726805AbgBBKyE (ORCPT + 99 others); Sun, 2 Feb 2020 05:54:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:33890 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbgBBKyE (ORCPT ); Sun, 2 Feb 2020 05:54:04 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 881552067C; Sun, 2 Feb 2020 10:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580640843; bh=F0EDniuFmzcCk7oluLdlcjcnGDk3f069p1FmQrtQm8U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qqPLuAsMSmfz9HbdklT+jK86SRXYLMlmojG2HAvFmqYynuoPnxn+nYACEQZ3LOIji 2IqJ9ONaKx297YPkLUmBBPVSSBe5oXxWPCOwHEoEmyw0aBDLOM/V1ywCVEWq1aWqAk M6HJ8qD9HMY43cw9uyCeW70QYSeYknzwvl2JFn/A= Date: Sun, 2 Feb 2020 10:53:58 +0000 From: Jonathan Cameron To: Beniamin Bia Cc: , , , , , , , , , Subject: Re: [PATCH v4 4/5] dt-bindings: iio: amplifiers: Add docs for HMC425A Step Attenuator Message-ID: <20200202105358.27b6b8a6@archlinux> In-Reply-To: <20200129142301.13918-5-beniamin.bia@analog.com> References: <20200129142301.13918-1-beniamin.bia@analog.com> <20200129142301.13918-5-beniamin.bia@analog.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Jan 2020 16:23:00 +0200 Beniamin Bia wrote: > 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 Does this force exactly 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>; > + }; > +...