Received: by 10.223.185.116 with SMTP id b49csp716950wrg; Fri, 23 Feb 2018 05:48:01 -0800 (PST) X-Google-Smtp-Source: AH8x226mX/g7LdUN+FOfHMI4tCjMQKz5u7Iq02M++ksVNT6C9f8j6GY2jMCAal32LK6OAhdPMMfi X-Received: by 10.98.61.133 with SMTP id x5mr1848202pfj.181.1519393681244; Fri, 23 Feb 2018 05:48:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519393681; cv=none; d=google.com; s=arc-20160816; b=sW70lf0PvdZJRwTwdE+POM3ebl5pwz7cEzIwuNHJvgkdbS3fbOdnTxmxi9bnSdpMZg 2HDHiDtmysNO8IU9MI/cMQZov0wcudqZ4cZsKybJQ3qWXy4qCPSBAgCnqv6XvjbnoTn0 t0DEKGap/Ao5UjVB0fvrhSS2h1oKeDOtKPmqJKBxi6jj4YJvX5qIrKDVWz/NV6bu1VP3 U16uIn9432YZ/ymbcn3xPDvKxT3RJml5C1wFlfj+wTGPyw0jdMYJaO2Pj20rMnHs1O86 uWo+zt+jHoWOxKknC022Zih7hFJd8PBjytf+aUHKta86WJoaKOCcZyCR2lwdsFgrMn+5 bVfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=njI6hpt1F3n7rZUfon5o0qach0vjva7CpHYn503iO38=; b=JtohJX5Be3YGlsYnVyreNPsm6iiokgwj//JdMZ0zHXn5yLF2YkX6c3frMRctIBHmUE fH+GyBFt964/5aJU0CH/BdrXThX/FIVVFf/o7Mzuu3djpvg/2/zDyK3BesV7dojYtcqB KrAKtAm7d3Ssfar1xBIR9gqWAgkf762h/AhTKK/BUH9vwOzlxqnRThZk37uz1q8UubB/ L1KlzNNQOb6PyLsj/Z4mKUzmLrHSdPxuG9RSIlhKGqXpD/4kbsP/HTeiJo1vkVur4RAD 3F/An1ZI5SeUk6Bo0soCKLaMY2l7aKkXAYjefmGELkkZlVEsmfo0oh5lLZ7CLDmeZAjd bfrQ== 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 q2si1538892pgr.693.2018.02.23.05.47.46; Fri, 23 Feb 2018 05:48:01 -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 S1751546AbeBWNrL (ORCPT + 99 others); Fri, 23 Feb 2018 08:47:11 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:28496 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbeBWNrI (ORCPT ); Fri, 23 Feb 2018 08:47:08 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1NDiS8K009189; Fri, 23 Feb 2018 14:46:22 +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 2g9bqv1y4h-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Feb 2018 14:46:22 +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 8C18E31; Fri, 23 Feb 2018 13:46:21 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5E5854F7C; Fri, 23 Feb 2018 13:46:21 +0000 (GMT) Received: from [10.201.23.162] (10.75.127.48) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 23 Feb 2018 14:46:20 +0100 Subject: Re: [PATCH] dt-bindings: iio: adc: sd-modulator: fix io-channel-cells To: Fabrice Gasnier , , CC: , , , , , , , , , , , References: <1519384041-23782-1-git-send-email-fabrice.gasnier@st.com> From: Arnaud Pouliquen Message-ID: Date: Fri, 23 Feb 2018 14:46:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519384041-23782-1-git-send-email-fabrice.gasnier@st.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-23_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Acked-by: Arnaud Pouliquen Regards, Arnaud On 02/23/2018 12:07 PM, Fabrice Gasnier wrote: > 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>; > }; >