[1/2] dt-bindings: iio: health: Fix max30100 I2C chip address in example

Message ID 1507712948-29300-1-git-send-email-pmeerw@pmeerw.net
State Not Applicable
Headers show
Series
  • [1/2] dt-bindings: iio: health: Fix max30100 I2C chip address in example
Related show

Commit Message

Peter Meerwald-Stadler Oct. 11, 2017, 9:09 a.m.
Should be in hex, not decimal or even octal

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
---
 Documentation/devicetree/bindings/iio/health/max30100.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring Oct. 13, 2017, 9:54 p.m. | #1
On Wed, Oct 11, 2017 at 11:09:07AM +0200, Peter Meerwald-Stadler wrote:
> Should be in hex, not decimal or even octal
> 
> Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
> ---
>  Documentation/devicetree/bindings/iio/health/max30100.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jonathan Cameron Oct. 14, 2017, 6:23 p.m. | #2
On Fri, 13 Oct 2017 16:54:38 -0500
Rob Herring <robh@kernel.org> wrote:

> On Wed, Oct 11, 2017 at 11:09:07AM +0200, Peter Meerwald-Stadler wrote:
> > Should be in hex, not decimal or even octal
> > 
> > Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
> > ---
> >  Documentation/devicetree/bindings/iio/health/max30100.txt | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)  
> 
> Acked-by: Rob Herring <robh@kernel.org>
Applied to the togreg branch of iio.git and pushed out as testing.

Thanks,

Jonathan

> 
> --
> 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 devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/devicetree/bindings/iio/health/max30100.txt b/Documentation/devicetree/bindings/iio/health/max30100.txt
index 295a9ed..8d81764 100644
--- a/Documentation/devicetree/bindings/iio/health/max30100.txt
+++ b/Documentation/devicetree/bindings/iio/health/max30100.txt
@@ -20,9 +20,9 @@  Optional properties:
 
 Example:
 
-max30100@057 {
+max30100@57 {
 	compatible = "maxim,max30100";
-	reg = <57>;
+	reg = <0x57>;
 	maxim,led-current-microamp = <24000 50000>;
 	interrupt-parent = <&gpio1>;
 	interrupts = <16 2>;