mbox series

[0/3] dt-bindings:iio:adc: Convert generic ADC channel binding to yaml

Message ID 20201031182423.742798-1-jic23@kernel.org (mailing list archive)
Headers show
Series dt-bindings:iio:adc: Convert generic ADC channel binding to yaml | expand

Message

Jonathan Cameron Oct. 31, 2020, 6:24 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

This channel binding is not yet that heavily used, though that will slowly
change now we have a standard binding.  There are more properties coming
for this binding in the near future.

This series converts the channel binding itself then leverages it to
reduce repitition and improve consistency in a couple of drivers.

One thing to note is that we have similar defintion for DACs but so
far there are no generic properties.

Jonathan Cameron (3):
  dt-bindings:iio:adc: convert adc.txt to yaml
  dt-bindings:iio:adc:adi,ad7124: Use the new adc.yaml channel binding
  dt-bindings:iio:adc:adi,ad7292: Use new adc.yaml binding for channels.

 .../devicetree/bindings/iio/adc/adc.txt       | 23 -----------
 .../devicetree/bindings/iio/adc/adc.yaml      | 38 +++++++++++++++++++
 .../bindings/iio/adc/adi,ad7124.yaml          | 14 +++----
 .../bindings/iio/adc/adi,ad7292.yaml          |  8 ++--
 4 files changed, 47 insertions(+), 36 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/adc/adc.txt
 create mode 100644 Documentation/devicetree/bindings/iio/adc/adc.yaml

Comments

Rob Herring (Arm) Nov. 3, 2020, 2:31 a.m. UTC | #1
On Sat, Oct 31, 2020 at 06:24:20PM +0000, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> This channel binding is not yet that heavily used, though that will slowly
> change now we have a standard binding.  There are more properties coming
> for this binding in the near future.
> 
> This series converts the channel binding itself then leverages it to
> reduce repitition and improve consistency in a couple of drivers.
> 
> One thing to note is that we have similar defintion for DACs but so
> far there are no generic properties.
> 
> Jonathan Cameron (3):
>   dt-bindings:iio:adc: convert adc.txt to yaml
>   dt-bindings:iio:adc:adi,ad7124: Use the new adc.yaml channel binding
>   dt-bindings:iio:adc:adi,ad7292: Use new adc.yaml binding for channels.

For the series:

Reviewed-by: Rob Herring <robh@kernel.org>

> 
>  .../devicetree/bindings/iio/adc/adc.txt       | 23 -----------
>  .../devicetree/bindings/iio/adc/adc.yaml      | 38 +++++++++++++++++++
>  .../bindings/iio/adc/adi,ad7124.yaml          | 14 +++----
>  .../bindings/iio/adc/adi,ad7292.yaml          |  8 ++--
>  4 files changed, 47 insertions(+), 36 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/iio/adc/adc.txt
>  create mode 100644 Documentation/devicetree/bindings/iio/adc/adc.yaml
> 
> -- 
> 2.28.0
>
Jonathan Cameron Nov. 28, 2020, 4:39 p.m. UTC | #2
On Mon, 2 Nov 2020 20:31:46 -0600
Rob Herring <robh@kernel.org> wrote:

> On Sat, Oct 31, 2020 at 06:24:20PM +0000, Jonathan Cameron wrote:
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > 
> > This channel binding is not yet that heavily used, though that will slowly
> > change now we have a standard binding.  There are more properties coming
> > for this binding in the near future.
> > 
> > This series converts the channel binding itself then leverages it to
> > reduce repitition and improve consistency in a couple of drivers.
> > 
> > One thing to note is that we have similar defintion for DACs but so
> > far there are no generic properties.
> > 
> > Jonathan Cameron (3):
> >   dt-bindings:iio:adc: convert adc.txt to yaml
> >   dt-bindings:iio:adc:adi,ad7124: Use the new adc.yaml channel binding
> >   dt-bindings:iio:adc:adi,ad7292: Use new adc.yaml binding for channels.  
> 
> For the series:
> 
> Reviewed-by: Rob Herring <robh@kernel.org>
Series applied with just that small addition to patch 1.

Thanks,

Jonathan

> 
> > 
> >  .../devicetree/bindings/iio/adc/adc.txt       | 23 -----------
> >  .../devicetree/bindings/iio/adc/adc.yaml      | 38 +++++++++++++++++++
> >  .../bindings/iio/adc/adi,ad7124.yaml          | 14 +++----
> >  .../bindings/iio/adc/adi,ad7292.yaml          |  8 ++--
> >  4 files changed, 47 insertions(+), 36 deletions(-)
> >  delete mode 100644 Documentation/devicetree/bindings/iio/adc/adc.txt
> >  create mode 100644 Documentation/devicetree/bindings/iio/adc/adc.yaml
> > 
> > -- 
> > 2.28.0
> >