diff mbox

[v2,13/13] dt-bindings: iio: health: Add MAX30105 support to max30102.txt

Message ID 1509133543-4597-14-git-send-email-pmeerw@pmeerw.net
State New, archived
Headers show

Commit Message

Peter Meerwald-Stadler Oct. 27, 2017, 7:45 p.m. UTC
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: Matt Ranostay <matt.ranostay@konsulko.com>
Cc: Rob Herring <robh+dt@kernel.org>
---
 Documentation/devicetree/bindings/iio/health/max30102.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Matt Ranostay Nov. 19, 2017, 8:35 p.m. UTC | #1
On Fri, Oct 27, 2017 at 12:45 PM, Peter Meerwald-Stadler
<pmeerw@pmeerw.net> wrote:
> Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
> Cc: Matt Ranostay <matt.ranostay@konsulko.com>
> Cc: Rob Herring <robh+dt@kernel.org>

Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>

> ---
>  Documentation/devicetree/bindings/iio/health/max30102.txt | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/health/max30102.txt b/Documentation/devicetree/bindings/iio/health/max30102.txt
> index 8629c18..ef2ca0a 100644
> --- a/Documentation/devicetree/bindings/iio/health/max30102.txt
> +++ b/Documentation/devicetree/bindings/iio/health/max30102.txt
> @@ -1,9 +1,11 @@
>  Maxim MAX30102 heart rate and pulse oximeter sensor
> +Maxim MAX30105 optical particle-sensing module
>
>  * https://datasheets.maximintegrated.com/en/ds/MAX30102.pdf
> +* https://datasheets.maximintegrated.com/en/ds/MAX30105.pdf
>
>  Required properties:
> -  - compatible: must be "maxim,max30102"
> +  - compatible: must be "maxim,max30102" or "maxim,max30105"
>    - reg: the I2C address of the sensor
>    - interrupt-parent: should be the phandle for the interrupt controller
>    - interrupts: the sole interrupt generated by the device
> @@ -12,8 +14,10 @@ Required properties:
>    interrupt client node bindings.
>
>  Optional properties:
> -  - maxim,red-led-current-microamp: configuration for RED LED current
> +  - maxim,red-led-current-microamp: configuration for red LED current
>    - maxim,ir-led-current-microamp: configuration for IR LED current
> +  - maxim,green-led-current-microamp: configuration for green LED current
> +    (max30105 only)
>
>      Note that each step is approximately 200 microamps, ranging from 0 uA to
>      50800 uA.
> --
> 2.7.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jonathan Cameron Nov. 25, 2017, 2:20 p.m. UTC | #2
On Sun, 19 Nov 2017 12:35:04 -0800
Matt Ranostay <matt.ranostay@konsulko.com> wrote:

> On Fri, Oct 27, 2017 at 12:45 PM, Peter Meerwald-Stadler
> <pmeerw@pmeerw.net> wrote:
> > Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
> > Cc: Matt Ranostay <matt.ranostay@konsulko.com>
> > Cc: Rob Herring <robh+dt@kernel.org>  
> 
> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to play with it.

Thanks,

Jonathan 
> > ---
> >  Documentation/devicetree/bindings/iio/health/max30102.txt | 8 ++++++--
> >  1 file changed, 6 insertions(+), 2 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/health/max30102.txt b/Documentation/devicetree/bindings/iio/health/max30102.txt
> > index 8629c18..ef2ca0a 100644
> > --- a/Documentation/devicetree/bindings/iio/health/max30102.txt
> > +++ b/Documentation/devicetree/bindings/iio/health/max30102.txt
> > @@ -1,9 +1,11 @@
> >  Maxim MAX30102 heart rate and pulse oximeter sensor
> > +Maxim MAX30105 optical particle-sensing module
> >
> >  * https://datasheets.maximintegrated.com/en/ds/MAX30102.pdf
> > +* https://datasheets.maximintegrated.com/en/ds/MAX30105.pdf
> >
> >  Required properties:
> > -  - compatible: must be "maxim,max30102"
> > +  - compatible: must be "maxim,max30102" or "maxim,max30105"
> >    - reg: the I2C address of the sensor
> >    - interrupt-parent: should be the phandle for the interrupt controller
> >    - interrupts: the sole interrupt generated by the device
> > @@ -12,8 +14,10 @@ Required properties:
> >    interrupt client node bindings.
> >
> >  Optional properties:
> > -  - maxim,red-led-current-microamp: configuration for RED LED current
> > +  - maxim,red-led-current-microamp: configuration for red LED current
> >    - maxim,ir-led-current-microamp: configuration for IR LED current
> > +  - maxim,green-led-current-microamp: configuration for green LED current
> > +    (max30105 only)
> >
> >      Note that each step is approximately 200 microamps, ranging from 0 uA to
> >      50800 uA.
> > --
> > 2.7.4
> >  
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/iio/health/max30102.txt b/Documentation/devicetree/bindings/iio/health/max30102.txt
index 8629c18..ef2ca0a 100644
--- a/Documentation/devicetree/bindings/iio/health/max30102.txt
+++ b/Documentation/devicetree/bindings/iio/health/max30102.txt
@@ -1,9 +1,11 @@ 
 Maxim MAX30102 heart rate and pulse oximeter sensor
+Maxim MAX30105 optical particle-sensing module
 
 * https://datasheets.maximintegrated.com/en/ds/MAX30102.pdf
+* https://datasheets.maximintegrated.com/en/ds/MAX30105.pdf
 
 Required properties:
-  - compatible: must be "maxim,max30102"
+  - compatible: must be "maxim,max30102" or "maxim,max30105"
   - reg: the I2C address of the sensor
   - interrupt-parent: should be the phandle for the interrupt controller
   - interrupts: the sole interrupt generated by the device
@@ -12,8 +14,10 @@  Required properties:
   interrupt client node bindings.
 
 Optional properties:
-  - maxim,red-led-current-microamp: configuration for RED LED current
+  - maxim,red-led-current-microamp: configuration for red LED current
   - maxim,ir-led-current-microamp: configuration for IR LED current
+  - maxim,green-led-current-microamp: configuration for green LED current
+    (max30105 only)
 
     Note that each step is approximately 200 microamps, ranging from 0 uA to
     50800 uA.