From patchwork Sat Oct 6 20:31:08 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: 10629313 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 2D88B174A for ; Sat, 6 Oct 2018 20:31:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EAD328F8F for ; Sat, 6 Oct 2018 20:31:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 108D028FA3; Sat, 6 Oct 2018 20:31:23 +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 B5D0E28F8F for ; Sat, 6 Oct 2018 20:31:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727856AbeJGDgD (ORCPT ); Sat, 6 Oct 2018 23:36:03 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:39566 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727771AbeJGDgC (ORCPT ); Sat, 6 Oct 2018 23:36:02 -0400 Received: by mail-ed1-f65.google.com with SMTP id d15-v6so2236178edq.6 for ; Sat, 06 Oct 2018 13:31:21 -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=B5qqDCTbWFCNDXlzVDdwslQ7gNoi+D4Yn5sm8TmZEK8=; b=XuKljP+TaVC1+qN8/NsN77VTX3tpW9dd1GpyMkniWqFCEMSOLc3HB02ww1iuchFoVn yX7XZEj49VTdqrkttJR7Q4Xrx88akXLMt8z/FQ3QXI30GPgz4st5xB6jh6EuGTxjniih aJV+8xAd18vDY1S04SGfHtzsCtVOa2zKRvlWzBgAYSTA+XnvnVe2kQhZp6COCfVIpqTM jxnjWuXa/0P6q7B34Vi2/THbUDFoXWsZ/HescKcTTX/clirMIEcgo5Ao0rREGLZiaC9z HhCIVdjSncSANNVOA9OxxDqFGkq4DC5MLa4lt24G+D2cLIHI9WskquGw6HWAWtvO6fNU bhjg== 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=B5qqDCTbWFCNDXlzVDdwslQ7gNoi+D4Yn5sm8TmZEK8=; b=cqCWdOUZKWCbs2cq3a+6R+fK34ns3MXiyO5ataK9Ge6qqhNsg00CsyT50Bg4UztFLp XlS/7CZ21zLUdUSFPVvb6zSmbfmKSfgjN4grsqjZTonsWfJPn1DyakMi8irSX8LWtbKb 7RlVm9xzlyJjRWjwCpQb5PBDkfcJdsFB3oJ7SCH2cBxfsiEvV9SbR/Uflk+dXfZv8UQg /w03aDOaY+AJcGBu4yKqVnA+W0ccgEp9D4PgaIE1HcM0V/lAibCGBCaBXNvKJH6sMM5y MJ9VlUN31CfKyKSMJhaqbjrP/AY+ZjHclIVVx0cV6jt4yQrDDj4pMBmulF0b3y7xBPew d72Q== X-Gm-Message-State: ABuFfoj4ehOXAsVpP0GeoMDwxp1vAiPy/rU+bXqK6mC4MY+OIs9l1us4 L6Vx8s73yvbmKsgBj1+gRO/LQnm5lK4= X-Google-Smtp-Source: ACcGV61efAl7HubMs8xt0gVaQPSnVXEOVQDGyzd8N9gz48baZXC1XV5bWqljUhFZbMNKZbtlMDZh6w== X-Received: by 2002:a17:906:5387:: with SMTP id g7-v6mr16778402ejo.174.1538857880280; Sat, 06 Oct 2018 13:31:20 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:4423:3600:9626:d5b7:4a40:9655]) by smtp.gmail.com with ESMTPSA id 9-v6sm873978ejw.46.2018.10.06.13.31.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 Oct 2018 13:31:19 -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: Sat, 6 Oct 2018 22:31:08 +0200 Message-Id: <20181006203108.20439-2-charles-antoine.couret@essensium.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181006203108.20439-1-charles-antoine.couret@essensium.com> References: <20181006203108.20439-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 --- .../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..77fd4370f815 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt @@ -0,0 +1,20 @@ +TI DAC7311 DEVICETREE 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>; + }; + }; +