From patchwork Wed Oct 17 20:39:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Couret Charles-Antoine X-Patchwork-Id: 10646071 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DF6F115E2 for ; Wed, 17 Oct 2018 20:40:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDD9E2863E for ; Wed, 17 Oct 2018 20:40:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDF8628644; Wed, 17 Oct 2018 20:40:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6765B2863E for ; Wed, 17 Oct 2018 20:40:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727344AbeJREha (ORCPT ); Thu, 18 Oct 2018 00:37:30 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:40559 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbeJREha (ORCPT ); Thu, 18 Oct 2018 00:37:30 -0400 Received: by mail-ed1-f68.google.com with SMTP id r1-v6so26188658edd.7 for ; Wed, 17 Oct 2018 13:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=essensium-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vuhR9Xk2wMmPdokrNj1okuuMdCsgqZImvUeiHR9M7Kk=; b=qAjQZ7xzCXJzaDszxvuilV/UJsge7EpcVoh8/XylPtx1fGbBuxYsffpzsThII0c+zv /1Bbea6h373kvx5xJo1xJW8ajpfWn9si8F/kBCq/ZFMH2e+xqHrsLvBizF3UwkvKIyua NBgYgKXrotE6ApSTA3sfukTkYz/e6kre+nXlPRhTEd+lM9SwHGw0DxI5ZrsDuzsvw2+p rYscWwdhrE6cnhrcjUVakTsBhuS2Ew9vwvIwlRsemokic92HHecj7W6VuCLWNaMf5BbT n4RAjS8PA8KRzdHZVhp/HhNeTHD+aFrohBXAreT7LH4VDd+MGOBUpDprrdNQlTPVJ2cL JOWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vuhR9Xk2wMmPdokrNj1okuuMdCsgqZImvUeiHR9M7Kk=; b=bcQUUBCGkJEtkyWFi+dijcuzjiNbSkBC+HC+itcsGHKcvI2cazN/oAJLqgFV2OwmWc 550wUt7M8f1Hc1zYf5rdeF0H8ZsuMvGgkkOUT/EWdyunHeCq0uA0Z72h0QEBR3SlX+fC nfGsmDCtWBFp7Qey1bitOt9Uojb+ydWylikKFibxsvffPguyQX3udKQKuTo1UGSGYhuU v8Kj/C7iBnZWm1PWdKHo4Sk9M4hglryt89U3RJJoZCQD/UfsrQ000mqWXW8W8uFtQrOe Us4JJE/vcdNZaGXaTr4IplZeNwg5E8w6YUjti5OeV0OGHWVrvKbqv6lUhNLnh1cMaKn1 WSGg== X-Gm-Message-State: ABuFfoh/FDxZRDYGvhiY7yAkkGxnlCZ/OLtNtpri6ulnUNheYkvYPLKq YGOXsN/Vx+lsGCK35L9aVXBemlkFIR0= X-Google-Smtp-Source: ACcGV63C/015nYhAiruSBPN1TfiTJ6QU4VkUKTHzmNTIFcTfvgQSEmJCMAZnW6Sy8rpbilErQt1+mQ== X-Received: by 2002:a50:a510:: with SMTP id y16-v6mr1464853edb.148.1539808803835; Wed, 17 Oct 2018 13:40:03 -0700 (PDT) Received: from Abby.home ([2a02:a03f:4423:3600:9626:d5b7:4a40:9655]) by smtp.gmail.com with ESMTPSA id e30-v6sm6909570edd.25.2018.10.17.13.40.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Oct 2018 13:40:03 -0700 (PDT) From: Charles-Antoine Couret To: linux-iio@vger.kernel.org Cc: Charles-Antoine Couret Subject: [PATCHv2 2/2] Add AD7949 device tree bindings in documentation Date: Wed, 17 Oct 2018 22:39:54 +0200 Message-Id: <20181017203954.13744-2-charles-antoine.couret@essensium.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181017203954.13744-1-charles-antoine.couret@essensium.com> References: <20181017203954.13744-1-charles-antoine.couret@essensium.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add AD7949 device tree bindings in documentation Signed-off-by: Charles-Antoine Couret --- .../devicetree/bindings/iio/adc/ad7949.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ad7949.txt diff --git a/Documentation/devicetree/bindings/iio/adc/ad7949.txt b/Documentation/devicetree/bindings/iio/adc/ad7949.txt new file mode 100644 index 000000000000..9ecb84188d83 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ad7949.txt @@ -0,0 +1,18 @@ +* Analog Devices AD7949/AD7682/AD7689 + +Required properties: + - compatible: Should be one of + * "ad7949" + * "ad7682" + * "ad7689" + - reg: spi chip select number for the device + - vref-supply: The regulator supply for ADC reference voltage + - spi-max-frequency: Max SPI frequency to use (< 33000000) + +Example: +adc@0 { + compatible = "ad7949"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <200000>; +};