devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: aspeed: Remove the leading zeroes
@ 2020-06-29 21:40 Fabio Estevam
  2020-06-29 23:39 ` Tao Ren
  2020-06-30  2:03 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2020-06-29 21:40 UTC (permalink / raw)
  To: robh+dt; +Cc: rentao.bupt, balbi, devicetree, Fabio Estevam

Remove the leading zeroes to fix the following warning seen with
'make dt_binding_check':

Documentation/devicetree/bindings/usb/aspeed,usb-vhub.example.dts:37.33-42.23: Warning (unit_address_format): /example-0/usb-vhub@1e6a0000/vhub-strings/string@0409: unit name should not have leading 0s

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
index e4e83d3971ac..8b019ac05bbe 100644
--- a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
+++ b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
@@ -127,8 +127,8 @@ examples:
                 #address-cells = <1>;
                 #size-cells = <0>;
 
-                string@0409 {
-                        reg = <0x0409>;
+                string@409 {
+                        reg = <0x409>;
                         manufacturer = "ASPEED";
                         product = "USB Virtual Hub";
                         serial-number = "0000";
-- 
2.17.1


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

* Re: [PATCH] dt-bindings: usb: aspeed: Remove the leading zeroes
  2020-06-29 21:40 [PATCH] dt-bindings: usb: aspeed: Remove the leading zeroes Fabio Estevam
@ 2020-06-29 23:39 ` Tao Ren
  2020-06-30  2:03 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Tao Ren @ 2020-06-29 23:39 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: robh+dt, balbi, devicetree

On Mon, Jun 29, 2020 at 06:40:27PM -0300, Fabio Estevam wrote:
> Remove the leading zeroes to fix the following warning seen with
> 'make dt_binding_check':
> 
> Documentation/devicetree/bindings/usb/aspeed,usb-vhub.example.dts:37.33-42.23: Warning (unit_address_format): /example-0/usb-vhub@1e6a0000/vhub-strings/string@0409: unit name should not have leading 0s
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Thanks for the fix, Fabio!

Reviewed-by: Tao Ren <rentao.bupt@gmail.com>

> ---
>  Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
> index e4e83d3971ac..8b019ac05bbe 100644
> --- a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
> +++ b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
> @@ -127,8 +127,8 @@ examples:
>                  #address-cells = <1>;
>                  #size-cells = <0>;
>  
> -                string@0409 {
> -                        reg = <0x0409>;
> +                string@409 {
> +                        reg = <0x409>;
>                          manufacturer = "ASPEED";
>                          product = "USB Virtual Hub";
>                          serial-number = "0000";
> -- 
> 2.17.1
> 

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

* Re: [PATCH] dt-bindings: usb: aspeed: Remove the leading zeroes
  2020-06-29 21:40 [PATCH] dt-bindings: usb: aspeed: Remove the leading zeroes Fabio Estevam
  2020-06-29 23:39 ` Tao Ren
@ 2020-06-30  2:03 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-06-30  2:03 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: devicetree, balbi, robh+dt, rentao.bupt

On Mon, 29 Jun 2020 18:40:27 -0300, Fabio Estevam wrote:
> Remove the leading zeroes to fix the following warning seen with
> 'make dt_binding_check':
> 
> Documentation/devicetree/bindings/usb/aspeed,usb-vhub.example.dts:37.33-42.23: Warning (unit_address_format): /example-0/usb-vhub@1e6a0000/vhub-strings/string@0409: unit name should not have leading 0s
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-29 21:40 [PATCH] dt-bindings: usb: aspeed: Remove the leading zeroes Fabio Estevam
2020-06-29 23:39 ` Tao Ren
2020-06-30  2:03 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).