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=ham 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 E456CC10F26 for ; Sat, 7 Mar 2020 14:55:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BDEDB20674 for ; Sat, 7 Mar 2020 14:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583592932; bh=G56W4s2AMvnzLVMiKyD0uT/GN1PYnZGAbwnVpGtv+AM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=jw+lzU9e7pQ5G23EEFBwSRnARsOQh8IaH9CMUssJK2IQyDcFuCxuaBkl+uoUWrthS U7LFY6rl5gKBlxZTGwq+enFilgAD3dp8c2/JO0bOGGd1zdmEbgOkQ9o/j7LrJLc9Wa C30t7zkHJNuM+X0kuWchCee13LzwCJWhi7HsStLs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726206AbgCGOzc (ORCPT ); Sat, 7 Mar 2020 09:55:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:43560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbgCGOzc (ORCPT ); Sat, 7 Mar 2020 09:55:32 -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 7FE4D20674; Sat, 7 Mar 2020 14:55:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583592931; bh=G56W4s2AMvnzLVMiKyD0uT/GN1PYnZGAbwnVpGtv+AM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PAu2PEWWrQ/KXbUot2j0VFLrOKO4df+uzMoJkY2yoSSp9MzVXlg7MGE5Q9iBpPI+p cNqVvAg4fYZ7COrxvBGZAbmer29VoIxgKSbzcblBENiKRg2hwD+EDJjhIj7/G7Kgpj 8C9YzE+5xGRchUYVv6sZI6TkCwFRoCaztywy1PIw= Date: Sat, 7 Mar 2020 14:55:27 +0000 From: Jonathan Cameron To: Alexandru Ardelean Cc: , , , , Moritz Fischer Subject: Re: [PATCH v8 6/8] dt-bindings: iio: adc: add bindings doc for AXI ADC driver Message-ID: <20200307145527.1729f155@archlinux> In-Reply-To: <20200306110100.22092-7-alexandru.ardelean@analog.com> References: <20200306110100.22092-1-alexandru.ardelean@analog.com> <20200306110100.22092-7-alexandru.ardelean@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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, 6 Mar 2020 13:00:58 +0200 Alexandru Ardelean wrote: > This change adds the bindings documentation for the AXI ADC driver. > > Signed-off-by: Alexandru Ardelean Looks fine to me, but I'll be wanting an ack from a DT maintainer. Thanks, Jonathan > --- > .../bindings/iio/adc/adi,axi-adc.yaml | 63 +++++++++++++++++++ > 1 file changed, 63 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml b/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml > new file mode 100644 > index 000000000000..6bd80e241f40 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/adi,axi-adc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices AXI ADC IP core > + > +maintainers: > + - Michael Hennerich > + - Alexandru Ardelean > + > +description: | > + Analog Devices Generic AXI ADC IP core for interfacing an ADC device > + with a high speed serial (JESD204B/C) or source synchronous parallel > + interface (LVDS/CMOS). > + Usually, some other interface type (i.e SPI) is used as a control > + interface for the actual ADC, while this IP core will interface > + to the data-lines of the ADC and handle the streaming of data into > + memory via DMA. > + > + https://wiki.analog.com/resources/fpga/docs/axi_adc_ip > + > +properties: > + compatible: > + enum: > + - adi,axi-adc-10.0.a > + > + reg: > + maxItems: 1 > + > + dmas: > + maxItems: 1 > + > + dma-names: > + maxItems: 1 > + items: > + - const: rx > + > + adi,adc-dev: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + A reference to a the actual ADC to which this FPGA ADC interfaces to. > + > +required: > + - compatible > + - dmas > + - reg > + - adi,adc-dev > + > +additionalProperties: false > + > +examples: > + - | > + axi-adc@44a00000 { > + compatible = "adi,axi-adc-10.0.a"; > + reg = <0x44a00000 0x10000>; > + dmas = <&rx_dma 0>; > + dma-names = "rx"; > + > + adi,adc-dev = <&spi_adc>; > + }; > +...