public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: mtd: ti, gpmc-nand: support partitions node
@ 2024-09-03 16:29 Roger Quadros
  2024-09-04 14:58 ` Rob Herring (Arm)
  2024-09-06 15:08 ` Miquel Raynal
  0 siblings, 2 replies; 3+ messages in thread
From: Roger Quadros @ 2024-09-03 16:29 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Tony Lindgren,
	Nishanth Menon, Enric Balletbo i Serra, Javier Martinez Canillas
  Cc: srk, linux-mtd, devicetree, linux-kernel, linux-omap,
	linux-arm-kernel, Roger Quadros

Allow fixed-partitions to be specified through a partitions
node.

Fixes the below dtbs_check warning:

arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtb: nand@0,0: Unevaluated properties are not allowed ('partitions' was unexpected)

Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
Changes in v2:
- reference mtd.yaml for standard mtd properties like partition as
  suggested by Rob Herring.
- Link to v1: https://lore.kernel.org/r/20240830-gpmc-dtb-v1-1-792cac1ef3cc@kernel.org
---
 Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml b/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml
index 115682fa81b7..00540302bcae 100644
--- a/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml
@@ -61,12 +61,9 @@ properties:
       GPIO connection to R/B signal from NAND chip
     maxItems: 1
 
-patternProperties:
-  "@[0-9a-f]+$":
-    $ref: /schemas/mtd/partitions/partition.yaml
-
 allOf:
   - $ref: /schemas/memory-controllers/ti,gpmc-child.yaml
+  - $ref: mtd.yaml#
 
 required:
   - compatible

---
base-commit: 5be63fc19fcaa4c236b307420483578a56986a37
change-id: 20240830-gpmc-dtb-de2ce28acfb6

Best regards,
-- 
Roger Quadros <rogerq@kernel.org>


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH v2] dt-bindings: mtd: ti, gpmc-nand: support partitions node
  2024-09-03 16:29 [PATCH v2] dt-bindings: mtd: ti, gpmc-nand: support partitions node Roger Quadros
@ 2024-09-04 14:58 ` Rob Herring (Arm)
  2024-09-06 15:08 ` Miquel Raynal
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-09-04 14:58 UTC (permalink / raw)
  To: Roger Quadros
  Cc: linux-mtd, Conor Dooley, Krzysztof Kozlowski, Nishanth Menon,
	Javier Martinez Canillas, linux-omap, linux-kernel, Tony Lindgren,
	devicetree, Enric Balletbo i Serra, srk, Vignesh Raghavendra,
	Richard Weinberger, Miquel Raynal, linux-arm-kernel


On Tue, 03 Sep 2024 19:29:57 +0300, Roger Quadros wrote:
> Allow fixed-partitions to be specified through a partitions
> node.
> 
> Fixes the below dtbs_check warning:
> 
> arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtb: nand@0,0: Unevaluated properties are not allowed ('partitions' was unexpected)
> 
> Signed-off-by: Roger Quadros <rogerq@kernel.org>
> ---
> Changes in v2:
> - reference mtd.yaml for standard mtd properties like partition as
>   suggested by Rob Herring.
> - Link to v1: https://lore.kernel.org/r/20240830-gpmc-dtb-v1-1-792cac1ef3cc@kernel.org
> ---
>  Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH v2] dt-bindings: mtd: ti, gpmc-nand: support partitions node
  2024-09-03 16:29 [PATCH v2] dt-bindings: mtd: ti, gpmc-nand: support partitions node Roger Quadros
  2024-09-04 14:58 ` Rob Herring (Arm)
@ 2024-09-06 15:08 ` Miquel Raynal
  1 sibling, 0 replies; 3+ messages in thread
From: Miquel Raynal @ 2024-09-06 15:08 UTC (permalink / raw)
  To: Roger Quadros, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Tony Lindgren, Nishanth Menon,
	Enric Balletbo i Serra, Javier Martinez Canillas
  Cc: srk, linux-mtd, devicetree, linux-kernel, linux-omap,
	linux-arm-kernel

On Tue, 2024-09-03 at 16:29:57 UTC, Roger Quadros wrote:
> Allow fixed-partitions to be specified through a partitions
> node.
> 
> Fixes the below dtbs_check warning:
> 
> arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtb: nand@0,0: Unevaluated properties are not allowed ('partitions' was unexpected)
> 
> Signed-off-by: Roger Quadros <rogerq@kernel.org>
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2024-09-06 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 16:29 [PATCH v2] dt-bindings: mtd: ti, gpmc-nand: support partitions node Roger Quadros
2024-09-04 14:58 ` Rob Herring (Arm)
2024-09-06 15:08 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox