linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: arm: stm32: st,mlahb: Drop spurious "reg" property from example
@ 2024-05-23 15:42 Rob Herring (Arm)
  2024-05-24 19:01 ` Conor Dooley
  2024-05-28 20:51 ` Rob Herring (Arm)
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-05-23 15:42 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue, Fabien Dessenne, Arnaud Pouliquen
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel

"reg" is not documented nor used for st,mlahb, so drop it from the
example to fix the warning:

Documentation/devicetree/bindings/arm/stm32/st,mlahb.example.dtb: ahb@38000000: Unevaluated properties are not allowed ('reg' was unexpected)
        from schema $id: http://devicetree.org/schemas/arm/stm32/st,mlahb.yaml#

Since "reg" is dropped, the unit-address must be as well.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
index d2dce238ff5d..3e996346b264 100644
--- a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
@@ -54,11 +54,10 @@ unevaluatedProperties: false
 
 examples:
   - |
-    mlahb: ahb@38000000 {
+    ahb {
       compatible = "st,mlahb", "simple-bus";
       #address-cells = <1>;
       #size-cells = <1>;
-      reg = <0x10000000 0x40000>;
       ranges;
       dma-ranges = <0x00000000 0x38000000 0x10000>,
                    <0x10000000 0x10000000 0x60000>,
-- 
2.43.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] dt-bindings: arm: stm32: st,mlahb: Drop spurious "reg" property from example
  2024-05-23 15:42 [PATCH] dt-bindings: arm: stm32: st,mlahb: Drop spurious "reg" property from example Rob Herring (Arm)
@ 2024-05-24 19:01 ` Conor Dooley
  2024-05-28 20:51 ` Rob Herring (Arm)
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2024-05-24 19:01 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue, Fabien Dessenne, Arnaud Pouliquen, devicetree,
	linux-stm32, linux-arm-kernel, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 598 bytes --]

On Thu, May 23, 2024 at 10:42:07AM -0500, Rob Herring (Arm) wrote:
> "reg" is not documented nor used for st,mlahb, so drop it from the
> example to fix the warning:
> 
> Documentation/devicetree/bindings/arm/stm32/st,mlahb.example.dtb: ahb@38000000: Unevaluated properties are not allowed ('reg' was unexpected)
>         from schema $id: http://devicetree.org/schemas/arm/stm32/st,mlahb.yaml#
> 
> Since "reg" is dropped, the unit-address must be as well.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] dt-bindings: arm: stm32: st,mlahb: Drop spurious "reg" property from example
  2024-05-23 15:42 [PATCH] dt-bindings: arm: stm32: st,mlahb: Drop spurious "reg" property from example Rob Herring (Arm)
  2024-05-24 19:01 ` Conor Dooley
@ 2024-05-28 20:51 ` Rob Herring (Arm)
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-05-28 20:51 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Fabien Dessenne, linux-arm-kernel, Arnaud Pouliquen, devicetree,
	linux-stm32, Conor Dooley, linux-kernel, Krzysztof Kozlowski,
	Maxime Coquelin, Alexandre Torgue


On Thu, 23 May 2024 10:42:07 -0500, Rob Herring (Arm) wrote:
> "reg" is not documented nor used for st,mlahb, so drop it from the
> example to fix the warning:
> 
> Documentation/devicetree/bindings/arm/stm32/st,mlahb.example.dtb: ahb@38000000: Unevaluated properties are not allowed ('reg' was unexpected)
>         from schema $id: http://devicetree.org/schemas/arm/stm32/st,mlahb.yaml#
> 
> Since "reg" is dropped, the unit-address must be as well.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 

Applied, thanks!


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2024-05-28 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-23 15:42 [PATCH] dt-bindings: arm: stm32: st,mlahb: Drop spurious "reg" property from example Rob Herring (Arm)
2024-05-24 19:01 ` Conor Dooley
2024-05-28 20:51 ` Rob Herring (Arm)

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).