Received: by 10.223.185.116 with SMTP id b49csp1849032wrg; Sat, 24 Feb 2018 05:29:56 -0800 (PST) X-Google-Smtp-Source: AH8x225Q7Sr1pF4Ey6+ebAfPgEfAoCt+jZS3PrxscO9DuK6zpU6PeqilY67nQuPIJ5oE4axN3+yH X-Received: by 10.99.51.77 with SMTP id z74mr4105929pgz.120.1519478995857; Sat, 24 Feb 2018 05:29:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519478995; cv=none; d=google.com; s=arc-20160816; b=eI+IIufjLgOkH30r74yClgqH0XRhHCqGFwMeA0L3aveabM+lRLt8Kr7Wad3ypzxf7q /nDV995fLyIbOQXh/vm4CImAP44tjaLi+7urwTdtJKRKxG2mjsfMzFBnerC+mowkMwsF RNoqeIMxEK16eAAq7c9W9XQbiE/wGjveADv559CF8H3lagdTMXtFwOLhnzDzRDuQLXMM JsAYJzyG7BkzIA4hxe5c2Ta5oxHtBw50Y+z+4qqBRLtHM0pqUX8SbnPhW5PnF3WIWa9A py/GBzgihHkQcKXP9qIOB/PEbm2neWT9q1BwAHSgaIlzNrJPUbJVzYVV7L9KxOgSKWHn cDnw== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=OdEM+wu2sGwXfRsVJZWY2G4+E+AEdG6PF0+mOrhAJss=; b=om/BkIv23PerKhCJQnY6NnDGl4RvVOIgx+CFlnfzBJacPxPthom5YcHKRidFPpPgr5 8XwtBVvvx1ANybzkWb7ScaZla7PfrmDa06BAYzcJGod74pUbCyhvjHa0FVXj6Hok/nIx MBnds04ze9Yj6ZO4mn6o+bgwDzyp+9bFlFeuEeThUSwtjQ+Sfpo/K4V6PO6y8r2b3nfh EDtFWWhA8cdYUP4bEYAnIv555ci2hdjOkBH42NRNe5CX3gDrAQA91m0ZZAaZQj1FFzX5 IGrVjEPanQQNUVe1HvWdKdlfjoKf7x9D1a12pBcMrtzC4YUYNLABvs4WlxKeXMMvglGU 4g3g== 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 p1-v6si3558492plb.760.2018.02.24.05.29.28; Sat, 24 Feb 2018 05:29:55 -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 S1751417AbeBXN2W (ORCPT + 99 others); Sat, 24 Feb 2018 08:28:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:48820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbeBXN2V (ORCPT ); Sat, 24 Feb 2018 08:28:21 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B59F221774; Sat, 24 Feb 2018 13:28:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B59F221774 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 24 Feb 2018 13:28:14 +0000 From: Jonathan Cameron To: Arnaud Pouliquen Cc: Fabrice Gasnier , , , , , , , , , , , , , Subject: Re: [PATCH] dt-bindings: iio: adc: sd-modulator: fix io-channel-cells Message-ID: <20180224132814.392603c3@archlinux> In-Reply-To: References: <1519384041-23782-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Feb 2018 14:46:19 +0100 Arnaud Pouliquen wrote: > Hello, > > Acked-by: Arnaud Pouliquen Applied to the fixes-togreg branch of iio.git. Thanks, Jonathan > > 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>; > > }; > >