diff mbox series

[24/29] dt-bindings:iio:temperature:melexis,mlx90614 yaml conversion

Message ID 20201011170749.243680-25-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series dt-bindings:iio: Another set of yaml conversions. | expand

Commit Message

Jonathan Cameron Oct. 11, 2020, 5:07 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Simple conversion from txt to yaml.
I've listed all 3 authors of the driver as maintainers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
Cc: Crt Mori <cmo@melexis.com>
---
 .../iio/temperature/melexis,mlx90614.yaml     | 51 +++++++++++++++++++
 .../bindings/iio/temperature/mlx90614.txt     | 24 ---------
 2 files changed, 51 insertions(+), 24 deletions(-)

Comments

Crt Mori Oct. 11, 2020, 9 p.m. UTC | #1
Thanks for the conversion. No idea which tag to put, so:
Acked-by: Crt Mori <cmo@melexis.com>

On Sun, 11 Oct 2020 at 19:10, Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> Simple conversion from txt to yaml.
> I've listed all 3 authors of the driver as maintainers.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Peter Meerwald <pmeerw@pmeerw.net>
> Cc: Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
> Cc: Crt Mori <cmo@melexis.com>
> ---
>  .../iio/temperature/melexis,mlx90614.yaml     | 51 +++++++++++++++++++
>  .../bindings/iio/temperature/mlx90614.txt     | 24 ---------
>  2 files changed, 51 insertions(+), 24 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
> new file mode 100644
> index 000000000000..dcda203b2ba5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
> @@ -0,0 +1,51 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90614.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Melexis MLX90614 contactless IR temperature sensor
> +
> +maintainers:
> +  - Peter Meerwald <pmeerw@pmeerw.net>
> +  - Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
> +  - Crt Mori <cmo@melexis.com>
> +
> +description: |
> +  http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
> +
> +properties:
> +  compatible:
> +    const: melexis,mlx90614
> +
> +  reg:
> +    maxItems: 1
> +
> +  wakeup-gpios:
> +    description:
> +      GPIO connected to the SDA line to hold low in order to wake up the
> +      device.  In normal operation, the GPIO is set as input and will
> +      not interfere in I2C communication.  There is no need for a GPIO
> +      driving the SCL line.  If no GPIO is given, power management is disabled.
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/gpio/gpio.h>
> +    i2c {
> +        #address-cells = <1>;
> +        #size-cells = <0>;
> +
> +        temp-sensor@5a {
> +            compatible = "melexis,mlx90614";
> +            reg = <0x5a>;
> +            wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
> +        };
> +    };
> +...
> diff --git a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt b/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
> deleted file mode 100644
> index 9be57b036092..000000000000
> --- a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -* Melexis MLX90614 contactless IR temperature sensor
> -
> -http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
> -
> -Required properties:
> -
> -  - compatible: should be "melexis,mlx90614"
> -  - reg: the I2C address of the sensor
> -
> -Optional properties:
> -
> -  - wakeup-gpios: device tree identifier of the GPIO connected to the SDA line
> -      to hold low in order to wake up the device.  In normal operation, the
> -      GPIO is set as input and will not interfere in I2C communication.  There
> -      is no need for a GPIO driving the SCL line.  If no GPIO is given, power
> -      management is disabled.
> -
> -Example:
> -
> -mlx90614@5a {
> -       compatible = "melexis,mlx90614";
> -       reg = <0x5a>;
> -       wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
> -};
> --
> 2.28.0
>
Crt Mori Oct. 12, 2020, 8 a.m. UTC | #2
Hi Jonathan,
I got mail bounce (account doesn't exist) from Vianney le Clément de
Saint-Marcq <vianney.leclement@essensium.com>, so I would assume he is
not working there anymore. I think we can remove him from the
maintainers list?

Best regards,
Crt

On Sun, 11 Oct 2020 at 23:00, Crt Mori <cmo@melexis.com> wrote:
>
> Thanks for the conversion. No idea which tag to put, so:
> Acked-by: Crt Mori <cmo@melexis.com>
>
> On Sun, 11 Oct 2020 at 19:10, Jonathan Cameron <jic23@kernel.org> wrote:
> >
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > Simple conversion from txt to yaml.
> > I've listed all 3 authors of the driver as maintainers.
> >
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Peter Meerwald <pmeerw@pmeerw.net>
> > Cc: Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
> > Cc: Crt Mori <cmo@melexis.com>
> > ---
> >  .../iio/temperature/melexis,mlx90614.yaml     | 51 +++++++++++++++++++
> >  .../bindings/iio/temperature/mlx90614.txt     | 24 ---------
> >  2 files changed, 51 insertions(+), 24 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
> > new file mode 100644
> > index 000000000000..dcda203b2ba5
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
> > @@ -0,0 +1,51 @@
> > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90614.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Melexis MLX90614 contactless IR temperature sensor
> > +
> > +maintainers:
> > +  - Peter Meerwald <pmeerw@pmeerw.net>
> > +  - Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
> > +  - Crt Mori <cmo@melexis.com>
> > +
> > +description: |
> > +  http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
> > +
> > +properties:
> > +  compatible:
> > +    const: melexis,mlx90614
> > +
> > +  reg:
> > +    maxItems: 1
> > +
> > +  wakeup-gpios:
> > +    description:
> > +      GPIO connected to the SDA line to hold low in order to wake up the
> > +      device.  In normal operation, the GPIO is set as input and will
> > +      not interfere in I2C communication.  There is no need for a GPIO
> > +      driving the SCL line.  If no GPIO is given, power management is disabled.
> > +    maxItems: 1
> > +
> > +required:
> > +  - compatible
> > +  - reg
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > +  - |
> > +    #include <dt-bindings/gpio/gpio.h>
> > +    i2c {
> > +        #address-cells = <1>;
> > +        #size-cells = <0>;
> > +
> > +        temp-sensor@5a {
> > +            compatible = "melexis,mlx90614";
> > +            reg = <0x5a>;
> > +            wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
> > +        };
> > +    };
> > +...
> > diff --git a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt b/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
> > deleted file mode 100644
> > index 9be57b036092..000000000000
> > --- a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
> > +++ /dev/null
> > @@ -1,24 +0,0 @@
> > -* Melexis MLX90614 contactless IR temperature sensor
> > -
> > -http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
> > -
> > -Required properties:
> > -
> > -  - compatible: should be "melexis,mlx90614"
> > -  - reg: the I2C address of the sensor
> > -
> > -Optional properties:
> > -
> > -  - wakeup-gpios: device tree identifier of the GPIO connected to the SDA line
> > -      to hold low in order to wake up the device.  In normal operation, the
> > -      GPIO is set as input and will not interfere in I2C communication.  There
> > -      is no need for a GPIO driving the SCL line.  If no GPIO is given, power
> > -      management is disabled.
> > -
> > -Example:
> > -
> > -mlx90614@5a {
> > -       compatible = "melexis,mlx90614";
> > -       reg = <0x5a>;
> > -       wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
> > -};
> > --
> > 2.28.0
> >
Jonathan Cameron Oct. 12, 2020, 2:25 p.m. UTC | #3
On Mon, 12 Oct 2020 10:00:15 +0200
Crt Mori <cmo@melexis.com> wrote:

> Hi Jonathan,
> I got mail bounce (account doesn't exist) from Vianney le Clément de
> Saint-Marcq <vianney.leclement@essensium.com>, so I would assume he is
> not working there anymore. I think we can remove him from the
> maintainers list?
yup.

I put it in the cover letter, but one of the side effects of sending
this series out is to identify who we no longer have contact details
for and switch / drop them as necessary.  Will drop Vianney unless
anyone has a working email address.

Thanks,

Jonathan

> 
> Best regards,
> Crt
> 
> On Sun, 11 Oct 2020 at 23:00, Crt Mori <cmo@melexis.com> wrote:
> >
> > Thanks for the conversion. No idea which tag to put, so:
> > Acked-by: Crt Mori <cmo@melexis.com>
> >
> > On Sun, 11 Oct 2020 at 19:10, Jonathan Cameron <jic23@kernel.org> wrote:  
> > >
> > > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > >
> > > Simple conversion from txt to yaml.
> > > I've listed all 3 authors of the driver as maintainers.
> > >
> > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > > Cc: Peter Meerwald <pmeerw@pmeerw.net>
> > > Cc: Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
> > > Cc: Crt Mori <cmo@melexis.com>
> > > ---
> > >  .../iio/temperature/melexis,mlx90614.yaml     | 51 +++++++++++++++++++
> > >  .../bindings/iio/temperature/mlx90614.txt     | 24 ---------
> > >  2 files changed, 51 insertions(+), 24 deletions(-)
> > >
> > > diff --git a/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
> > > new file mode 100644
> > > index 000000000000..dcda203b2ba5
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
> > > @@ -0,0 +1,51 @@
> > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > > +%YAML 1.2
> > > +---
> > > +$id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90614.yaml#
> > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > +
> > > +title: Melexis MLX90614 contactless IR temperature sensor
> > > +
> > > +maintainers:
> > > +  - Peter Meerwald <pmeerw@pmeerw.net>
> > > +  - Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
> > > +  - Crt Mori <cmo@melexis.com>
> > > +
> > > +description: |
> > > +  http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
> > > +
> > > +properties:
> > > +  compatible:
> > > +    const: melexis,mlx90614
> > > +
> > > +  reg:
> > > +    maxItems: 1
> > > +
> > > +  wakeup-gpios:
> > > +    description:
> > > +      GPIO connected to the SDA line to hold low in order to wake up the
> > > +      device.  In normal operation, the GPIO is set as input and will
> > > +      not interfere in I2C communication.  There is no need for a GPIO
> > > +      driving the SCL line.  If no GPIO is given, power management is disabled.
> > > +    maxItems: 1
> > > +
> > > +required:
> > > +  - compatible
> > > +  - reg
> > > +
> > > +additionalProperties: false
> > > +
> > > +examples:
> > > +  - |
> > > +    #include <dt-bindings/gpio/gpio.h>
> > > +    i2c {
> > > +        #address-cells = <1>;
> > > +        #size-cells = <0>;
> > > +
> > > +        temp-sensor@5a {
> > > +            compatible = "melexis,mlx90614";
> > > +            reg = <0x5a>;
> > > +            wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
> > > +        };
> > > +    };
> > > +...
> > > diff --git a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt b/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
> > > deleted file mode 100644
> > > index 9be57b036092..000000000000
> > > --- a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
> > > +++ /dev/null
> > > @@ -1,24 +0,0 @@
> > > -* Melexis MLX90614 contactless IR temperature sensor
> > > -
> > > -http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
> > > -
> > > -Required properties:
> > > -
> > > -  - compatible: should be "melexis,mlx90614"
> > > -  - reg: the I2C address of the sensor
> > > -
> > > -Optional properties:
> > > -
> > > -  - wakeup-gpios: device tree identifier of the GPIO connected to the SDA line
> > > -      to hold low in order to wake up the device.  In normal operation, the
> > > -      GPIO is set as input and will not interfere in I2C communication.  There
> > > -      is no need for a GPIO driving the SCL line.  If no GPIO is given, power
> > > -      management is disabled.
> > > -
> > > -Example:
> > > -
> > > -mlx90614@5a {
> > > -       compatible = "melexis,mlx90614";
> > > -       reg = <0x5a>;
> > > -       wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
> > > -};
> > > --
> > > 2.28.0
> > >
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
new file mode 100644
index 000000000000..dcda203b2ba5
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml
@@ -0,0 +1,51 @@ 
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90614.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Melexis MLX90614 contactless IR temperature sensor
+
+maintainers:
+  - Peter Meerwald <pmeerw@pmeerw.net>
+  - Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
+  - Crt Mori <cmo@melexis.com>
+
+description: |
+  http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
+
+properties:
+  compatible:
+    const: melexis,mlx90614
+
+  reg:
+    maxItems: 1
+
+  wakeup-gpios:
+    description:
+      GPIO connected to the SDA line to hold low in order to wake up the
+      device.  In normal operation, the GPIO is set as input and will
+      not interfere in I2C communication.  There is no need for a GPIO
+      driving the SCL line.  If no GPIO is given, power management is disabled.
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        temp-sensor@5a {
+            compatible = "melexis,mlx90614";
+            reg = <0x5a>;
+            wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
+        };
+    };
+...
diff --git a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt b/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
deleted file mode 100644
index 9be57b036092..000000000000
--- a/Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
+++ /dev/null
@@ -1,24 +0,0 @@ 
-* Melexis MLX90614 contactless IR temperature sensor
-
-http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
-
-Required properties:
-
-  - compatible: should be "melexis,mlx90614"
-  - reg: the I2C address of the sensor
-
-Optional properties:
-
-  - wakeup-gpios: device tree identifier of the GPIO connected to the SDA line
-      to hold low in order to wake up the device.  In normal operation, the
-      GPIO is set as input and will not interfere in I2C communication.  There
-      is no need for a GPIO driving the SCL line.  If no GPIO is given, power
-      management is disabled.
-
-Example:
-
-mlx90614@5a {
-	compatible = "melexis,mlx90614";
-	reg = <0x5a>;
-	wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
-};