All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
To: Phil Reid <preid@electromag.com.au>
Cc: Rob Herring <robh@kernel.org>, <jic23@kernel.org>,
	<knaack.h@gmx.de>, <lars@metafoo.de>, <pmeerw@pmeerw.net>,
	<mark.rutland@arm.com>, <Michael.Hennerich@analog.com>,
	<linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>
Subject: Re: [PATCH v4 1/2] dt-bindings: ad5272: Add bindings for Analog Devices digital potentiometers
Date: Wed, 7 Feb 2018 10:50:38 +0000	[thread overview]
Message-ID: <20180207105038.000004eb@huawei.com> (raw)
In-Reply-To: <f1d2bf62-c4b7-9cd4-4962-3c07c22bdb5e@electromag.com.au>

On Mon, 5 Feb 2018 15:25:59 +0800
Phil Reid <preid@electromag.com.au> wrote:

> On 5/02/2018 14:07, Rob Herring wrote:
> > On Mon, Jan 29, 2018 at 09:12:53PM +0800, Phil Reid wrote:  
> >> Add binding documentation for Analog Devices AD5272 and AD5274 digital
> >> potentiometer devices.
> >>
> >> Signed-off-by: Phil Reid <preid@electromag.com.au>
> >> ---
> >>   .../bindings/iio/potentiometer/ad5272.txt          | 27 ++++++++++++++++++++++
> >>   1 file changed, 27 insertions(+)
> >>   create mode 100644 Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt
> >>
> >> diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt b/Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt
> >> new file mode 100644
> >> index 0000000..11e804c
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt
> >> @@ -0,0 +1,27 @@
> >> +* Analog Devices AD5272 digital potentiometer driver  
> > 
> > Bindings describe h/w not drivers.  
> ok
> 
> >   
> >> +
> >> +The node for this driver must be a child node of a I2C controller, hence
> >> +all mandatory properties for your controller must be specified. See directory:
> >> +
> >> +        Documentation/devicetree/bindings/i2c
> >> +
> >> +for more details.
> >> +
> >> +Required properties:
> >> +	- compatible:  	Must be one of the following, depending on the model:
> >> +			adi,ad5272-020
> >> +			adi,ad5272-050
> >> +			adi,ad5272-100
> >> +			adi,ad5274-020
> >> +			adi,ad5274-100
> >> +
> >> +Optional properties:
> >> + - reset-gpios: GPIO specification for the RESET input. This is an
> >> +		active low signal to the PCA953x.
> >> +
> >> +Example:
> >> +ad5272: ad5272@2f {  
> > 
> > potentiometer@2f  
> ok
> 
> > 
> > Probably a node name we need to add to the spec.
> >   
> >> +	reg = <0x2F>;
> >> +	compatible = "adi,ad5272-020";
> >> +	reset-gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>;
> >> +};
> >> -- 
> >> 1.8.3.1
> >>  
> > 
> >   
> Jonathan,
> 
> How would you like me to fix this as you've applied it to togreg already?
> A patch on top of this or a v5.
> 
Do a v5, I'll drop v4 and pick it up if Rob is happy.

Jonathan
> 


WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Cameron <Jonathan.Cameron-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: Phil Reid <preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
Cc: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	knaack.h-Mmb7MZpHnFY@public.gmane.org,
	lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org,
	pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	Michael.Hennerich-OyLXuOCK7orQT0dZR+AlfA@public.gmane.org,
	linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v4 1/2] dt-bindings: ad5272: Add bindings for Analog Devices digital potentiometers
Date: Wed, 7 Feb 2018 10:50:38 +0000	[thread overview]
Message-ID: <20180207105038.000004eb@huawei.com> (raw)
In-Reply-To: <f1d2bf62-c4b7-9cd4-4962-3c07c22bdb5e-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>

On Mon, 5 Feb 2018 15:25:59 +0800
Phil Reid <preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org> wrote:

> On 5/02/2018 14:07, Rob Herring wrote:
> > On Mon, Jan 29, 2018 at 09:12:53PM +0800, Phil Reid wrote:  
> >> Add binding documentation for Analog Devices AD5272 and AD5274 digital
> >> potentiometer devices.
> >>
> >> Signed-off-by: Phil Reid <preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
> >> ---
> >>   .../bindings/iio/potentiometer/ad5272.txt          | 27 ++++++++++++++++++++++
> >>   1 file changed, 27 insertions(+)
> >>   create mode 100644 Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt
> >>
> >> diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt b/Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt
> >> new file mode 100644
> >> index 0000000..11e804c
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt
> >> @@ -0,0 +1,27 @@
> >> +* Analog Devices AD5272 digital potentiometer driver  
> > 
> > Bindings describe h/w not drivers.  
> ok
> 
> >   
> >> +
> >> +The node for this driver must be a child node of a I2C controller, hence
> >> +all mandatory properties for your controller must be specified. See directory:
> >> +
> >> +        Documentation/devicetree/bindings/i2c
> >> +
> >> +for more details.
> >> +
> >> +Required properties:
> >> +	- compatible:  	Must be one of the following, depending on the model:
> >> +			adi,ad5272-020
> >> +			adi,ad5272-050
> >> +			adi,ad5272-100
> >> +			adi,ad5274-020
> >> +			adi,ad5274-100
> >> +
> >> +Optional properties:
> >> + - reset-gpios: GPIO specification for the RESET input. This is an
> >> +		active low signal to the PCA953x.
> >> +
> >> +Example:
> >> +ad5272: ad5272@2f {  
> > 
> > potentiometer@2f  
> ok
> 
> > 
> > Probably a node name we need to add to the spec.
> >   
> >> +	reg = <0x2F>;
> >> +	compatible = "adi,ad5272-020";
> >> +	reset-gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>;
> >> +};
> >> -- 
> >> 1.8.3.1
> >>  
> > 
> >   
> Jonathan,
> 
> How would you like me to fix this as you've applied it to togreg already?
> A patch on top of this or a v5.
> 
Do a v5, I'll drop v4 and pick it up if Rob is happy.

Jonathan
> 

  reply	other threads:[~2018-02-07 10:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29 13:12 [PATCH v4 0/2] iio: ad5272: Add support for Analog Devices digital potentiometers Phil Reid
2018-01-29 13:12 ` Phil Reid
2018-01-29 13:12 ` [PATCH v4 1/2] dt-bindings: ad5272: Add bindings " Phil Reid
2018-01-29 13:12   ` Phil Reid
2018-02-04 10:34   ` Jonathan Cameron
2018-02-04 10:34     ` Jonathan Cameron
2018-02-05  6:07   ` Rob Herring
2018-02-05  6:07     ` Rob Herring
2018-02-05  7:25     ` Phil Reid
2018-02-05  7:25       ` Phil Reid
2018-02-07 10:50       ` Jonathan Cameron [this message]
2018-02-07 10:50         ` Jonathan Cameron
     [not found]   ` <1517231574-92777-2-git-send-email-preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
2018-02-05  8:34     ` Brandon Martin
2018-01-29 13:12 ` [PATCH v4 2/2] iio: ad5272: Add support " Phil Reid
2018-01-29 13:12   ` Phil Reid
2018-02-04 10:57   ` Jonathan Cameron
2018-02-04 10:57     ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180207105038.000004eb@huawei.com \
    --to=jonathan.cameron@huawei.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pmeerw@pmeerw.net \
    --cc=preid@electromag.com.au \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.