Received: by 10.223.185.116 with SMTP id b49csp555757wrg; Fri, 23 Feb 2018 03:09:24 -0800 (PST) X-Google-Smtp-Source: AH8x226nAYEV3j3mOJiFLFUa6R4lfBKsSvGu7dMxHQpaHDkXxrY+7FK9EvO2FXEkApEOKLp9t3zY X-Received: by 10.99.113.90 with SMTP id b26mr1161144pgn.10.1519384163943; Fri, 23 Feb 2018 03:09:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519384163; cv=none; d=google.com; s=arc-20160816; b=mM11OW0lY7wFfOD8HrnfDSFTe9sfcuWWxbRUMTOEN2zTgMRuakH/lTCobYTMha437R Gheq+H4IZF7cZBlFU+SEIrDMj4BUmBV/DKt86DytnS57pienM6fCVhYq8+h0yCzuQdT0 G8s/2QxE9m/oXPs1cucqrghJt8lzbEdJIBtRtvjEgmlEEPdyqhVnS9A6D+/ADZEVJOnL QiGN54rj2xxf67MYnsTHnW8AovqmvL71xVCqnDGhW8vBHz7b4QTkBChQuvFJ/FDA6uCL kcil43HFNAAWWkHGWr/R9tb0Dsen1qY/izALQ2lnzsCCnJyarw+vk4IvXRTHYyaGr9TI luOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=idVS0vwvnyfenUNg82mipv2uV+hEp3UPGe2WXyfc8fk=; b=CfCnmC3UZZAa8wMka3JMWIwY8+ghgtqCQtfjG2lgSy3OztgaQKV75ORDzLAgf0akso DOPL3SVLJWyVg9gSYua2imc7HirX5tZOJIBGVGN9G5W0qWeCFEd9TCFtDijb+JDpiaNo 2LorloPJUxb0y5gbH9xuSnW7D0oSgEC1w4qhL0/mzsljZS0wcOFPA3YKrxxs5+eQ4Yx5 KK6TF2Q4FxMsWULxLFuL6yrUU3qOfA32M2UXeRhQLf2vvMMu8676OUWFoRTxj3S1hE1u 4ZknHTyA3pzoMQVKUChZ7pGa1HvVhPw/JUfQL8/7j+cE0+Tch2lcQZNdMXoPS21T23gY +ppA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si1630221plk.699.2018.02.23.03.09.09; Fri, 23 Feb 2018 03:09:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751378AbeBWLIa (ORCPT + 99 others); Fri, 23 Feb 2018 06:08:30 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:3883 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbeBWLI2 (ORCPT ); Fri, 23 Feb 2018 06:08:28 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1NB48KO024834; Fri, 23 Feb 2018 12:07:28 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2g9bn31bmx-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Feb 2018 12:07:28 +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 52EBA31; Fri, 23 Feb 2018 11:07:27 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0FA872AEA; Fri, 23 Feb 2018 11:07:27 +0000 (GMT) Received: from localhost (10.75.127.50) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 23 Feb 2018 12:07:26 +0100 From: Fabrice Gasnier To: , CC: , , , , , , , , , , , , , Subject: [PATCH] dt-bindings: iio: adc: sd-modulator: fix io-channel-cells Date: Fri, 23 Feb 2018 12:07:21 +0100 Message-ID: <1519384041-23782-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-23_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org io-channel-cells should be <0> since sigma delta modulator exports only one channel, as described in ../iio/iio-bindings.txt "IIO providers" section. Only the phandle is necessary for IIO consumers in this case. Fixes: af11143757b7 ("IIO: Add DT bindings for sigma delta adc modulator") Signed-off-by: Fabrice Gasnier --- Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt index e9ebb8a..ba24ca7 100644 --- a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt +++ b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt @@ -3,11 +3,11 @@ Device-Tree bindings for sigma delta modulator Required properties: - compatible: should be "ads1201", "sd-modulator". "sd-modulator" can be use as a generic SD modulator if modulator not specified in compatible list. -- #io-channel-cells = <1>: See the IIO bindings section "IIO consumers". +- #io-channel-cells = <0>: See the IIO bindings section "IIO consumers". Example node: ads1202: adc@0 { compatible = "sd-modulator"; - #io-channel-cells = <1>; + #io-channel-cells = <0>; }; -- 1.9.1