Skip to contentSkip to conversation

dt-bindings: mfd: st,stmfx: Remove I2C unit name

PATCH Applied Fabio Estevam 3 participants 3 messages Jul 2, 2020 – Jul 16, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: mfd: st,stmfx: Remove I2C unit name

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

---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mfd/st,stmfx.yaml +1 -1
index bed22d4abffb..888ab4b5df45 100644
@@ -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 {
Signature · 1 line
2.17.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · 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

---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 9 lines · 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

---
 Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

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