From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E32EC3524B for ; Sun, 2 Feb 2020 10:54:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13DF1206D3 for ; Sun, 2 Feb 2020 10:54:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580640845; bh=F0EDniuFmzcCk7oluLdlcjcnGDk3f069p1FmQrtQm8U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=cf6jhTkqf+xAxQPzUlQZ7MLWbU4aUGphz1WQi8JTjxSOm9lFkgk4L46JSMzSCJQt5 oudkJ6zH0YBbfSpDXh4/sN54WfuNZvbWQTjFCyjUkm0ZgviHalQ62Gt435+iKMXF55 YfNgZpfA8bSi5wsD74ixPnJYiLM1Ht+3q2rZJmK0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726836AbgBBKyE (ORCPT ); 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>; > + }; > +...