From patchwork Sun Oct 28 16:24:02 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: 10658677 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 7E8B113BF for ; Sun, 28 Oct 2018 16:24:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63DEA299D7 for ; Sun, 28 Oct 2018 16:24:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 585D2299D9; Sun, 28 Oct 2018 16:24:14 +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 04233299D7 for ; Sun, 28 Oct 2018 16:24:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727828AbeJ2BJR (ORCPT ); Sun, 28 Oct 2018 21:09:17 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:44469 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727589AbeJ2BJQ (ORCPT ); Sun, 28 Oct 2018 21:09:16 -0400 Received: by mail-ed1-f67.google.com with SMTP id z21-v6so5218977edb.11 for ; Sun, 28 Oct 2018 09:24:11 -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 :mime-version:content-transfer-encoding; bh=pjoIOgwO1aq64CDhYoLjJop5WJZTHeBp2dbePEgtTOI=; b=PqbKuNelWq70PMAH8bJp4FIwc5jdO1UroBcES5Cr7sTBuKy8kRNnRLog8e6D3au2fw mnZ67Fr8nq8CZr4skmz3FX2FZdmg/sTwjBtu2cj1CIFkF+jLe5QP7jhBgyuKcvvigYrw j3ixWhkTWrJVTwEBzYhARyFi7HDIOnwxR7V3jHOwFkiPZLd1xSLfvgkTAL6BpwBvYU2y EBxmm22qCO8DJcgjSO4T2MO1WyneMPqd8/gbCbpvFTwZNMv35vX2Xsr9epzgLu/mjlrb SwRGD44GJ283sR+2+ha7eW5dtLX5SMMKUd+BsvVlVBJTjVBAB3i8EgxY1dAPH4IpIqJD MM/g== 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:mime-version:content-transfer-encoding; bh=pjoIOgwO1aq64CDhYoLjJop5WJZTHeBp2dbePEgtTOI=; b=gJA9rVn0vnLx4OW66QF9ranehR9YvD+H5aIp/AJn50FIxTQatzNLf+WDNho1DOxMPb ZySC8smBDU4+QediKqL7eVvVCQMO+4dHxaxc0w5twF+NXS/SzwvgaIZF6zAeR7FQYn+3 16hB4LP1kk/KxKTxGLNCqfhGaqEhXe3wlOc0ymh/DGH6eY/52ed322zj0S0/lloCPvnv BYJjTY9lqAufw8b3jMVyWDMlZKOcgvLZiv2oN3xArcRp5pMLfhSopdDYizo9TgQcfxHC IdQmvX+ooACbJjf2JBz7n1U8XoEhj1jOqdKddRERoBXRvCkBbZdSMofH49Scs1ogK7A1 I9iA== X-Gm-Message-State: AGRZ1gIWvXEa+2BCiPfctDXVaAXQ3BOvVRvvomzTwayyg+bmAwBd7VNK 0mAz0sJLqIZ7TLqf15GjUHyh74VSzv8= X-Google-Smtp-Source: AJdET5fItmqNCccPswgNi5As5+xNomj786L07Cy9DpfsZ1FbN0dn4VWXoLBmmm8R3i+fOgeR1lGXJg== X-Received: by 2002:aa7:ca43:: with SMTP id j3-v6mr10990128edt.258.1540743850945; Sun, 28 Oct 2018 09:24:10 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:449e:5e00:b591:a63f:9b33:d18d]) by smtp.gmail.com with ESMTPSA id f22-v6sm5390143eda.9.2018.10.28.09.24.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Oct 2018 09:24:10 -0700 (PDT) From: Charles-Antoine Couret To: linux-iio@vger.kernel.org Cc: Charles-Antoine Couret , mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH v4 2/2] dt-bindings: iio: dac: Add ti,dac7311 device tree bindings in documentation Date: Sun, 28 Oct 2018 17:24:02 +0100 Message-Id: <20181028162402.16182-2-charles-antoine.couret@essensium.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181028162402.16182-1-charles-antoine.couret@essensium.com> References: <20181028162402.16182-1-charles-antoine.couret@essensium.com> MIME-Version: 1.0 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 Description how to invoke ti-dac7311 driver from device tree file. Signed-off-by: Charles-Antoine Couret Reviewed-by: Rob Herring --- .../bindings/iio/dac/ti,dac7311.txt | 24 +++++++++++++++++++ 1 file changed, 24 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..1139e3b743cd --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt @@ -0,0 +1,24 @@ +TI DAC7311 device tree bindings + +Required properties: +- compatible: must be set to: + * "ti,dac7311" + * "ti,dac6311" + * "ti,dac5311" +- reg: spi chip select number for the device +- vref-supply: The regulator supply for ADC reference voltage + +Optional properties: +- spi-max-frequency: Max SPI frequency to use + +Example: + + spi_master { + dac@0 { + compatible = "ti,dac7311"; + reg = <0>; /* CS0 */ + spi-max-frequency = <1000000>; + vref-supply = <&vdd_supply>; + }; + }; +