From patchwork Sat Oct 6 20:30:36 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: 10629307 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 0F05A174A for ; Sat, 6 Oct 2018 20:30:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E764D28FA7 for ; Sat, 6 Oct 2018 20:30:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9A2328FBB; Sat, 6 Oct 2018 20:30:50 +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 5680E28FA7 for ; Sat, 6 Oct 2018 20:30:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726573AbeJGDfa (ORCPT ); Sat, 6 Oct 2018 23:35:30 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:40435 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727771AbeJGDfa (ORCPT ); Sat, 6 Oct 2018 23:35:30 -0400 Received: by mail-ed1-f68.google.com with SMTP id j62-v6so14415731edd.7 for ; Sat, 06 Oct 2018 13:30:48 -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=AXyb7DY/DzEFXUo8elB02Z9JRS9jgyjdZmR5AcnPTDY=; b=SYIqxDOammLJf4N7GB2O+9E8/XxHy5bQN02uSvGHZvYRQkXZxQovUn/eFQM3FhGHwz CojlYU26unMrDetUQioauwTDyNk7v629ZJej5ZAQmgWNxj7/6zRCa+ZfDl6xb80TEcw/ 5uiOJzmAlMdzMoQuJwHYZI9nTj3TtgntWuO4bx1nOHJnr3bLt8QEkHxl3HB8SGFQG3q3 B/tNuemhOZlx7G8qCc3j5d0SeGqG9Hwghcql+mrQsz1Zx/qZbr8RIIAHVK55PpOfCab1 lHhtFOjXf+RcCM1yMl/vwhdoHK7prtmPAcZ/FuLyY8LYRxr0/A/KbE9DNvBU3HBqhY7K AIug== 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=AXyb7DY/DzEFXUo8elB02Z9JRS9jgyjdZmR5AcnPTDY=; b=GpdzQXQFH8L+hkeA7amqIQf/vDmJtycoGKGKd1Pq6K5vLhwApJpkcBUXLAWuIWqM/B Dm/3FiUcQDawiraXijls+lqHSO5tSXHVHpfrHrCNs4KcIXHWypnrUuIKr0FwzMhQj5My x5KjnGSF8cMpK6WOIyxY6gq07UkSt5qp4rK1jE/OHDOEjEmaOGkytdg3O1Qa5UAv2GpW qni6DiU7oAoqNvmYiu5J4n4XniONB9z5Q+IQ7fj1c4pV+sb6LcACT/6Pm+CllswQ8Q51 P/qy2OUH62ZWfCAKlhx98s9hBgNJgJv8uoBdlYW5EVfa+JS1THXUJeHK9c3uf89Gj/AS bcAA== X-Gm-Message-State: ABuFfogMz8RqhCg30uf8CotMeCFuhuHCuLBdmIXJCgbIxPEDJNSemPo8 Srp/1gfuzJcPhV7RZmGDLJPjdpq42SQ= X-Google-Smtp-Source: ACcGV62z5A7jqygkseQhepsnODmNTydAGMSJ6jFGIIwwFa5H18Pex722wkvZ+1a7TsXY7AoES/lztw== X-Received: by 2002:a17:906:74d:: with SMTP id z13-v6mr17046941ejb.9.1538857847503; Sat, 06 Oct 2018 13:30:47 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:4423:3600:9626:d5b7:4a40:9655]) by smtp.gmail.com with ESMTPSA id f22-v6sm1870922eda.9.2018.10.06.13.30.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 Oct 2018 13:30:47 -0700 (PDT) From: Charles-Antoine Couret To: linux-iio@vger.kernel.org Cc: Charles-Antoine Couret Subject: [PATCH 2/2] Add ad7949 device tree bindings in documentation Date: Sat, 6 Oct 2018 22:30:36 +0200 Message-Id: <20181006203036.20338-2-charles-antoine.couret@essensium.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181006203036.20338-1-charles-antoine.couret@essensium.com> References: <20181006203036.20338-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 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..4dc921961df7 --- /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 = "ti,adc0832"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <200000>; +};