Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp795562imu; Fri, 16 Nov 2018 10:17:02 -0800 (PST) X-Google-Smtp-Source: AJdET5c6rmZx3WkB4NToKoY0wawiFxMQSQowtKOLufaECoVKCQQAjvrYIc/MQs716W1DlYwAuJB2 X-Received: by 2002:a63:bd51:: with SMTP id d17mr11085004pgp.443.1542392222477; Fri, 16 Nov 2018 10:17:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542392222; cv=none; d=google.com; s=arc-20160816; b=a62bKtIZL2is2l3gGl2irJS9KCNuc4QORm7fzK+nryg/Mr2czB4+/iyKd+Cyq039o0 Kg2jWp/zwlDy+ejpAvMuVE51k3ykIhdS6OVZ75GYU4m2f38BL1YRUFt065j9WCVbgqv0 Todgk9EbU+orOcWANGLASlEELfLiqDIBroHC8B3A/6fvX+9XAnnhnsynl9FjHS0SrdrK PCBHLS9wUOpU5f0BMVefUBbkiUlsH30m9TgcmyW3IZFQY1hA1c2QoygOXIXYL6qmhJxs lQ2IZa+JIZI1IiMFafd6N4O+WmwI3josWSRAhM44bP/41JtmPY3+Xi3RUBWf+TEftXXU U/LQ== 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; bh=K3RZXfa/s/aFHNhf/DqL3sjRxk0FPdjF097yLVa0t3g=; b=ExQ/DpUoD+gDpqS/SgzNzjtMIB+TX4K4wVQxQHc2bjeliF+jL3DgV8MpKPUbkxOCDb txz0nzViTA9fWp0/I9FebGfPxidgXXN5ZDOsEd0WZqROHhf3c/2iAEGiz1VTBb88s9YJ 2DjKWHKjKsttKBm+Lns01PcQm2T6j/xOMkhaIeKusgFAUPfn3EOVmeazIfUljJCPLt18 ai4nn3AocRr6IectH3HlfqrH6WRWx8SSNNgNV6C8MjuEMWoXOYTYzFOwcEGi3S6F7ZWV bDqXvyo3JOkdS4DImSZWva+VIY60L+bGPqnT9oBq90zLUV/KbvDsCnXXvg7kSFUXrcVR 69Yw== 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 b4-v6si34480453pfa.25.2018.11.16.10.16.47; Fri, 16 Nov 2018 10:17:02 -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 S1729270AbeKQE2M (ORCPT + 99 others); Fri, 16 Nov 2018 23:28:12 -0500 Received: from saturn.retrosnub.co.uk ([46.235.226.198]:59546 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727462AbeKQE2M (ORCPT ); Fri, 16 Nov 2018 23:28:12 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) by saturn.retrosnub.co.uk (Postfix; Retrosnub mail submission) with ESMTPSA id AC4359E7841; Fri, 16 Nov 2018 18:14:43 +0000 (GMT) Date: Fri, 16 Nov 2018 18:14:42 +0000 From: Jonathan Cameron To: Matthias Kaehlcke Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson Subject: Re: [PATCH v6 1/2] dt-bindings: iio: vadc: Add unit address to ADC channel node in example Message-ID: <20181116181442.0c2ce602@archlinux> In-Reply-To: <20181116181338.52674a46@archlinux> References: <20181112221126.27142-1-mka@chromium.org> <20181112221126.27142-2-mka@chromium.org> <20181116181338.52674a46@archlinux> X-Mailer: Claws Mail 3.17.1 (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, 16 Nov 2018 18:13:38 +0000 Jonathan Cameron wrote: > On Mon, 12 Nov 2018 14:11:25 -0800 > Matthias Kaehlcke wrote: > > > The node has a reg property, therefore its name should include a unit > > address. Also change the name from 'usb_id_nopull' to 'adc-chan', which > > is the preferred name for ADC channel nodes. > > > > Include headers for constants used in the example. > > > > Signed-off-by: Matthias Kaehlcke > > Reviewed-by: Douglas Anderson > Looks good to me. I'd just like to leave it a little longer > to give Rob or other device tree specialists a change > to take one last look at it. > > Ping me if I seem to have forgotten about it! > Ah, I should have read on. Already queued. That's fine with me. Jonathan > Thanks, > > Jonathan > > --- > > Changes in v6: > > - changed node name to adc-chan@ > > - added includes for constants used in the example > > - updated commit message > > - added 'Reviewed-by: Douglas Anderson ' tag > > > > Changes in v5: > > - patch added to the series > > --- > > .../devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt > > index b3c86f4ac7cdb..c81993f8d8c39 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt > > +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt > > @@ -140,6 +140,10 @@ VADC_GND_REF and VADC_VDD_VADC. > > > > Example: > > > > +#include > > +#include > > +/* ... */ > > + > > /* VADC node */ > > pmic_vadc: vadc@3100 { > > compatible = "qcom,spmi-vadc"; > > @@ -151,7 +155,7 @@ Example: > > io-channel-ranges; > > > > /* Channel node */ > > - usb_id_nopull { > > + adc-chan@VADC_LR_MUX10_USB_ID { > > reg = ; > > qcom,decimation = <512>; > > qcom,ratiometric; >