Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3894195pxk; Tue, 29 Sep 2020 08:49:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6XCRu/BX/fLnVfwv2bAm1JZ9zqsqqb7HwzlcJU/iqgs9PxxAPEMeSVzv5hmVSrEJYGFZ2 X-Received: by 2002:a17:906:d787:: with SMTP id pj7mr4402349ejb.340.1601394581907; Tue, 29 Sep 2020 08:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601394581; cv=none; d=google.com; s=arc-20160816; b=tc6m0cCSLZrUPudGzJmIdWYLJyOeRxfjaeOi7yIodhHE5fIBrviLU9UXz0nvVLEVUE ng2AU9aqx2uak0DHKYMihRqb44UAvxWkavB9qT0lt4YY4mgYDqImwmgNC6PpTwvJLqnM NTNO367aOFVThJ0v240Vb0X2rCOLIbeoZhwUFG1uq6DsiEF8QNnEilVtGJOoOaEG6QJn nD+7/z0KX4TKA/ZtPagfFxvSIU36ewqG8zE2Cz5T4hHSldeZpoKWS7xTkZEseEVZBPrN afpsuoBi1pjp+SCSZEMfNjFEZ6PjMFSnTddt/MfzG4KesZq8D2VWDhYcS5LhY5jTi9WS bUDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=82YXup//WqvHHuNPJvSs5LTXwLyt5Tq8/AxJT+Fruls=; b=HoPiASDux+jLjP0b6Ta9d2fVr2M9P/6EN3Ex6CctG+z0TOlyE2MGHl/nUcWb/UycZ5 8TZd6uheKP+AAR4VvmnftSxlsb8Y78i0sRUGtSnHh0EJ9DPMMb9ESG+KyDI3yjQnfa6y L52ZrFler37ML13LpOa+7idlGBL7nEhQRNfsVltbodMel8L16HYiizWfNwu2pq8zpnV+ qmeo59ZkF50bSX2De65V7LB11DWIJvU4Zp/ps7M8ew/hAHOJAK/3O4jhuIPr6VG2G/LX fI9LXYvS45+QkZajIdsRPhufwKtadai2nS0sNPbpc8GXsyxZOUYCrtZLxvjO1PvXGzw1 PqRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NIno9hha; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si3498891edq.101.2020.09.29.08.49.18; Tue, 29 Sep 2020 08:49:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NIno9hha; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729206AbgI2PsT (ORCPT + 99 others); Tue, 29 Sep 2020 11:48:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:40260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbgI2PsT (ORCPT ); Tue, 29 Sep 2020 11:48:19 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 00729206D9; Tue, 29 Sep 2020 15:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601394498; bh=WW9lgDeN8iQFoq7lTXLFBgvRZng4yjecbQILCi4uOd0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NIno9hhau8LsyYnfVKhWqYr7gfl/Yh8wBMCWreIxuqNk0Yj207B4DQ1tb3FFgcxMt qGz50qnVmVUWGEVAOStcyHD42XhDl8ci5cIwSZfyGfRFRw7/Ce2EOqDm3bBQaGy5fm KpFnzsWuDAUaiIG9H/jxJbf8i2Y1n9tRgrkbl1zs= Date: Tue, 29 Sep 2020 16:48:13 +0100 From: Jonathan Cameron To: Cristian Pop Cc: , , Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH v7 5/5] dt-bindings:iio:adc:adc.txt: Add documentation for channel label attribute Message-ID: <20200929164813.2a9bfcf7@archlinux> In-Reply-To: <20200928090959.88842-5-cristian.pop@analog.com> References: <20200928090959.88842-1-cristian.pop@analog.com> <20200928090959.88842-5-cristian.pop@analog.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Sep 2020 12:09:59 +0300 Cristian Pop wrote: > Optional attribute for better identification of the channels. > > Signed-off-by: Cristian Pop This one is on my list of binding files to convert fairly soon so I'm fine with this going in whilst it's still in txt form. The addition of reg here shows up a quirk of this binding. We originally introduced it to specify differential pairs, hence the @ can refer to the first value of diff-channels instead of reg. Hopefully I'll remember to clarify that when doing the yaml conversion. The series looks good to me, but given timing it won't make the merge window for the coming cycle. +CC Rob and the dt list. > --- > Changes in v7: > - Add this extra commit > Documentation/devicetree/bindings/iio/adc/adc.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/adc.txt b/Documentation/devicetree/bindings/iio/adc/adc.txt > index 5bbaa330a250..4b37575bbddc 100644 > --- a/Documentation/devicetree/bindings/iio/adc/adc.txt > +++ b/Documentation/devicetree/bindings/iio/adc/adc.txt > @@ -5,18 +5,24 @@ Optional properties for child nodes: > - diff-channels : Differential channels muxed for this ADC. The first value > specifies the positive input pin, the second value the negative > input pin. > +- reg: The channel number. > +- label: Unique name to identify which channel this is. > > Example: > adc@0 { > compatible = "some,adc"; > ... > channel@0 { > + reg = <0>; > + label = "channel_0_name"; > bipolar; > diff-channels = <0 1>; > ... > }; > > channel@1 { > + reg = <1>; > + label = "channel_1_name"; > diff-channels = <2 3>; > ... > };