Skip to contentSkip to conversation

dt-bindings: thermal: Remove soc unit address

PATCH Applied Fabio Estevam 3 participants 3 messages Jun 30, 2020

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

PATCH 1/1 dt-bindings: thermal: Remove soc unit address

Remove the soc unit address to fix the following warning seen with 'make dt_binding_check':

Documentation/devicetree/bindings/thermal/thermal-sensor.example.dts:22.20-49.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property

---
 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/thermal/thermal-sensor.yaml +1 -1
index fcd25a0af38c..727d04550324 100644
@@ -41,7 +41,7 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     // Example 1: SDM845 TSENS
-    soc: soc@0 {
+    soc: soc {
             #address-cells = <2>;
             #size-cells = <2>;
 
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 10 lines · Fabio Estevam

Remove the soc unit address to fix the following warning seen with 'make dt_binding_check':

Documentation/devicetree/bindings/thermal/thermal-sensor.example.dts:22.20-49.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property

---
 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

#2 lore raw
Quoted 7 lines · Rob Herring
Quoted 5 lines · Fabio Estevam

Remove the soc unit address to fix the following warning seen with 'make dt_binding_check':

Documentation/devicetree/bindings/thermal/thermal-sensor.example.dts:22.20-49.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property

Quoted 7 lines
Quoted 5 lines
---
 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

thermal-zones.yaml had the same warning, so I added a fix for it to this.

Rob