From patchwork Wed Oct 17 20:37:38 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: 10646069 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 303381057 for ; Wed, 17 Oct 2018 20:37:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20DA327852 for ; Wed, 17 Oct 2018 20:37:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12597285B9; Wed, 17 Oct 2018 20:37:56 +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 B04E327852 for ; Wed, 17 Oct 2018 20:37:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726166AbeJREfT (ORCPT ); Thu, 18 Oct 2018 00:35:19 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:34624 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbeJREfS (ORCPT ); Thu, 18 Oct 2018 00:35:18 -0400 Received: by mail-ed1-f68.google.com with SMTP id w19-v6so26159590eds.1 for ; Wed, 17 Oct 2018 13:37:53 -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=aMR4sDF0X3oTxTpsVXn2TvRJf/hBRkbROazBm7hr9vw=; b=PvhB7Okc3KErWdiGWIEPwrlPCVYoSipGPV5jLSj/d5WfZDFoPWs09Mk3rO4YjH1nPZ Jm55iNE7q9SLXu0Rr6b6hSjnSjoscur5pLfHt0ptFwgx4cyLlVRUVNytX/oqys4IHrJ8 UqpHqgCVQvRNTTZVLN1wa4pWuIlHPaC811j2PMORO5+nIYajQ9qGoAzDgxk+8V8/DV+S DUGmkyDLU4qiKZDL/Uk+r/REZDZ+u+x/ljJsmjfExTr4EH8D72fs42FNZXkl9yNp6vrm Mz+vTWJ0G37txWZjFKPXd+u4Ko953zWklGN2JiJTmlEKTAEX6OQ1a0HWZHPveTkjdufi h6Nw== 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=aMR4sDF0X3oTxTpsVXn2TvRJf/hBRkbROazBm7hr9vw=; b=KgrSye8/Hb0WhwBPPEaRsY0CWrxOKUEYuBus8Wb4qK5sKIUeW4l5NshBr3+b7ul+/s agzp5tHOmC3U28mL79XQMLWaPj9vJhLNSXIdJZ8QenTnYfi7qsPIVdjaBYHxbqshAQPM CR+7p2IVk38ivfW4CSaV+qt+rx3Fvm/vBtHuSJWPp+dpWWS3kpYpp4PGu4+YZ3l8xCFU 2OVieYw1VdW3h49czLEkik7VV9WPBhDkR8CHrXswyMLv0Wcuo0EAtolxvvWbSJ8F9KQQ UPOWmSdEO6ehz7fswH8vLsQI/UodKcnyHH1hyHy4aBLOJZnxAannHcT8YKhUJuEDcLmZ CXeQ== X-Gm-Message-State: ABuFfoivflQI967fe51JYffeiMmHlw+TtptvcTG7loAZrGPoSioCpKqF TGtCTFNfQFL5hw94N7cmhSl+L9souIM= X-Google-Smtp-Source: ACcGV60LwQtJ5hxDs20LEwzMLSNuGYgntuf3oYjbS9Hn6K7RmnELiXKYGxrFHoBf6XRH/FF2axPEDQ== X-Received: by 2002:a50:aed4:: with SMTP id f20-v6mr1519970edd.271.1539808672701; Wed, 17 Oct 2018 13:37:52 -0700 (PDT) Received: from Abby.home ([2a02:a03f:4423:3600:9626:d5b7:4a40:9655]) by smtp.gmail.com with ESMTPSA id w31-v6sm8706611edb.8.2018.10.17.13.37.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Oct 2018 13:37:52 -0700 (PDT) From: Charles-Antoine Couret To: linux-iio@vger.kernel.org Cc: Charles-Antoine Couret Subject: [PATCH 2/2] Add ti,dac7311 device tree bindings in documentation Date: Wed, 17 Oct 2018 22:37:38 +0200 Message-Id: <20181017203738.13477-2-charles-antoine.couret@essensium.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181017203738.13477-1-charles-antoine.couret@essensium.com> References: <20181017203738.13477-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 --- .../bindings/iio/dac/ti,dac7311.txt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt new file mode 100644 index 000000000000..771414024cd0 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt @@ -0,0 +1,20 @@ +TI DAC7311 device tree bindings + +Required properties: + +- compatible: Must be set to "ti,dac7311", "ti,dac6311" or "ti,dac5311" +- 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 (< 50000000) + +Example: + + spi_master { + dac7311: dac7311@0 { + compatible = "ti,dac7311"; + reg = <0>; /* CS0 */ + spi-max-frequency = <1000000>; + vref-supply = <&vdd_supply>; + }; + }; +