From patchwork Mon Feb 13 16:38:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud POULIQUEN X-Patchwork-Id: 9570277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DF45860578 for ; Mon, 13 Feb 2017 16:56:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CECCC26E76 for ; Mon, 13 Feb 2017 16:56:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C367327165; Mon, 13 Feb 2017 16:56:33 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5CC6A26E76 for ; Mon, 13 Feb 2017 16:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ULZF4+3ogQhVDIhv+ScmEb4ZBzlhCW5JJtu8jwsaTfQ=; b=b9cx4/LKgU46os NOlyCgdFTHT44D7RRe2dfs8fUb+vBihxBxyaqgKhxX8iLTcXazbns6/RQsJiVUeJyeL8Jd41U+bOE GDPieL+RXONqiOMcF+C2e1nBhopAT1Z46Pih+uzQZxpRSXZdvq5GzNxGuHZc5s8Hm8BXB3ltdLh2+ imwtc0C2O9NxVs8thuBXPL6X2VBaYysoopb4r7T6L8JVX+GWHOwXGXLW7TCX8emfyn1Fxej4mmttl JkZ8pgU1uxVAMTNow5pZjBJUlGvXo8zcCMgYMB9zp1FfsYHr0dymIDbHWvyp/0EGvpMhskYClD8et 9lb7yuJSXCwtVbDYJRnw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cdJvN-00083E-KE; Mon, 13 Feb 2017 16:56:25 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdJuG-0006Wm-7V for linux-arm-kernel@bombadil.infradead.org; Mon, 13 Feb 2017 16:55:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FeBBrinNYmpqu4YvsR+QC4pn+7UfcxHv0BEKiR0/Y2Y=; b=XxTimBe/HhcXsYdvvyVUqim8p T0vD9fKzp1Q0AdDtWIOdz/516ceKzLxHAj8B1gEllOYaes8rJFRXd5nKxfhPZLHhemh8FVTbSteBh MW0yCpKzhvDQi7mX81xVzTzqVKsESV/rmh3QTruhKN38kRcxNKCvdCuORNle6Z1pa/xvIWZxitbN8 YS792O8sQbi/4O1JeRtIlmQYB2FVKW3n9DUmZzlFasESCIwRWNVhzuokwQruvPoDeTclp40aPVhVn lG08J8HGlC5P13rwiEPxitZpD6MxGZ/qiUWlQiQQp5yCqvJvPTP3zWJqQUcwjfyJrVkyYLOOClJuS i25R2u9wQ==; Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdJfD-0003xs-RC for linux-arm-kernel@lists.infradead.org; Mon, 13 Feb 2017 16:39:45 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by m0046037.ppops.net (8.16.0.11/8.16.0.11) with SMTP id v1DGYXXm016257; Mon, 13 Feb 2017 17:39:10 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-.pphosted.com with ESMTP id 28hs8wbd5n-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 13 Feb 2017 17:39:10 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 66EC534; Mon, 13 Feb 2017 16:39:08 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2CD552991; Mon, 13 Feb 2017 16:39:08 +0000 (GMT) Received: from localhost (10.201.23.162) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 13 Feb 2017 17:39:07 +0100 From: Arnaud Pouliquen To: Rob Herring , Mark Rutland , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown Subject: [RFC v2 2/7] IIO: Add bindings for simple sigma delta adc Date: Mon, 13 Feb 2017 17:38:24 +0100 Message-ID: <1487003909-11710-3-git-send-email-arnaud.pouliquen@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487003909-11710-1-git-send-email-arnaud.pouliquen@st.com> References: <1487003909-11710-1-git-send-email-arnaud.pouliquen@st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.23.162] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-02-13_08:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170213_163943_914402_0E95E971 X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, olivier moysan , kernel@stlinux.com, linux-iio@vger.kernel.org, arnaud.pouliquen@st.com, Maxime Coquelin , linux-arm-kernel@lists.infradead.org, Alexandre Torgue Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation of device tree bindings to support sigma delta modulator in IIO framework. Signed-off-by: Arnaud Pouliquen --- Documentation/devicetree/bindings/iio/adc/simple_sd_adc.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/simple_sd_adc.txt diff --git a/Documentation/devicetree/bindings/iio/adc/simple_sd_adc.txt b/Documentation/devicetree/bindings/iio/adc/simple_sd_adc.txt new file mode 100644 index 0000000..2b3968a --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/simple_sd_adc.txt @@ -0,0 +1,13 @@ +Device-Tree bindings for simple sigma delta adc + +Required properties: +- compatible: should be "sd-modulator". +- #io-channel-cells = <1>: See the IIO bindings section "IIO consumers". + +Example node: + + ads1202: simple_sd_adc@0 { + compatible = "sd-modulator"; + #io-channel-cells = <1>; + status = "okay"; + };