All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name
@ 2020-07-02 11:32 Fabio Estevam
  2020-07-09 23:28 ` Rob Herring
  2020-07-16 15:03 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2020-07-02 11:32 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, devicetree, linux-kernel, benjamin.gaignard, Fabio Estevam

Remove the I2C unit name to fix the following build warning with
'make dt_binding_check':

Warning (unit_address_vs_reg): /example-0/i2c@0: node has a unit name, but no reg or ranges property

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/st,stmfx.yaml b/Documentation/devicetree/bindings/mfd/st,stmfx.yaml
index bed22d4abffb..888ab4b5df45 100644
--- a/Documentation/devicetree/bindings/mfd/st,stmfx.yaml
+++ b/Documentation/devicetree/bindings/mfd/st,stmfx.yaml
@@ -93,7 +93,7 @@ required:
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
-    i2c@0 {
+    i2c {
       #address-cells = <1>;
       #size-cells = <0>;
       stmfx@42 {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name
  2020-07-02 11:32 [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name Fabio Estevam
@ 2020-07-09 23:28 ` Rob Herring
  2020-07-16 15:03 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-07-09 23:28 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: benjamin.gaignard, robh+dt, devicetree, lee.jones, linux-kernel

On Thu, 02 Jul 2020 08:32:33 -0300, Fabio Estevam wrote:
> Remove the I2C unit name to fix the following build warning with
> 'make dt_binding_check':
> 
> Warning (unit_address_vs_reg): /example-0/i2c@0: node has a unit name, but no reg or ranges property
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name
  2020-07-02 11:32 [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name Fabio Estevam
  2020-07-09 23:28 ` Rob Herring
@ 2020-07-16 15:03 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2020-07-16 15:03 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: robh+dt, devicetree, linux-kernel, benjamin.gaignard

On Thu, 02 Jul 2020, Fabio Estevam wrote:

> Remove the I2C unit name to fix the following build warning with
> 'make dt_binding_check':
> 
> Warning (unit_address_vs_reg): /example-0/i2c@0: node has a unit name, but no reg or ranges property
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-16 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 11:32 [PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name Fabio Estevam
2020-07-09 23:28 ` Rob Herring
2020-07-16 15:03 ` Lee Jones

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.