All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: thermal: Remove soc unit address
@ 2020-06-30 12:18 Fabio Estevam
  2020-06-30 14:41 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2020-06-30 12:18 UTC (permalink / raw)
  To: robh+dt
  Cc: amit.kucheria, rui.zhang, daniel.lezcano, devicetree,
	linux-kernel, 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

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

diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
index fcd25a0af38c..727d04550324 100644
--- a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
+++ b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
@@ -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>;
 
-- 
2.17.1


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

* Re: [PATCH] dt-bindings: thermal: Remove soc unit address
  2020-06-30 12:18 [PATCH] dt-bindings: thermal: Remove soc unit address Fabio Estevam
@ 2020-06-30 14:41 ` Rob Herring
  2020-06-30 15:02   ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2020-06-30 14:41 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: daniel.lezcano, robh+dt, amit.kucheria, linux-kernel, devicetree,
	rui.zhang

On Tue, 30 Jun 2020 09:18:04 -0300, Fabio Estevam wrote:
> 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
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!

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

* Re: [PATCH] dt-bindings: thermal: Remove soc unit address
  2020-06-30 14:41 ` Rob Herring
@ 2020-06-30 15:02   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-06-30 15:02 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Daniel Lezcano, Amit Kucheria, linux-kernel, devicetree, Zhang Rui

On Tue, Jun 30, 2020 at 8:41 AM Rob Herring <robh@kernel.org> wrote:
>
> On Tue, 30 Jun 2020 09:18:04 -0300, Fabio Estevam wrote:
> > 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
> >
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > ---
> >  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

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

end of thread, other threads:[~2020-06-30 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 12:18 [PATCH] dt-bindings: thermal: Remove soc unit address Fabio Estevam
2020-06-30 14:41 ` Rob Herring
2020-06-30 15:02   ` Rob Herring

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.