* [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains'
@ 2025-10-02 14:23 Wolfram Sang
2025-10-02 18:36 ` Conor Dooley
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Wolfram Sang @ 2025-10-02 14:23 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Geert Uytterhoeven, Linus Walleij, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, linux-mtd,
devicetree
Physmap supports minimal PM since commit 0bc448b49e8a017e ("mtd: maps:
physmap: Add minimal Runtime PM support"), so support it also when used
in DT configurations.
Suggested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
Tested with a Renesas Genmai board (RZ/A1). Passes 'dt_binding_check'
and 'dtbs_check'. Supersedes my original approach "[RFC PATCH 0/4] ARM:
dts: renesas: mtd-rom has no clock and power domain":
https://lore.kernel.org/r/20250930101656.33435-6-wsa+renesas@sang-engineering.com
Documentation/devicetree/bindings/mtd/mtd-physmap.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
index 1b375dee83b0..a9ec3ca002c7 100644
--- a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
+++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
@@ -69,6 +69,16 @@ properties:
minItems: 1
maxItems: 8
+ clocks:
+ description: |
+ Chips may need clocks to be enabled for themselves or for transparent
+ bridges.
+
+ power-domains:
+ description: |
+ Chips may need power domains to be enabled for themselves or for
+ transparent bridges.
+
bank-width:
description: Width (in bytes) of the bank. Equal to the device width times
the number of interleaved chips.
--
2.47.2
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains'
2025-10-02 14:23 [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains' Wolfram Sang
@ 2025-10-02 18:36 ` Conor Dooley
2025-10-03 6:50 ` Geert Uytterhoeven
2025-10-22 10:02 ` Miquel Raynal
2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2025-10-02 18:36 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Geert Uytterhoeven, Linus Walleij,
Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel,
linux-mtd, devicetree
[-- Attachment #1.1: Type: text/plain, Size: 52 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 144 bytes --]
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains'
2025-10-02 14:23 [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains' Wolfram Sang
2025-10-02 18:36 ` Conor Dooley
@ 2025-10-03 6:50 ` Geert Uytterhoeven
2025-10-22 10:02 ` Miquel Raynal
2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2025-10-03 6:50 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Linus Walleij, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, linux-mtd,
devicetree
On Thu, 2 Oct 2025 at 16:26, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Physmap supports minimal PM since commit 0bc448b49e8a017e ("mtd: maps:
> physmap: Add minimal Runtime PM support"), so support it also when used
> in DT configurations.
>
> Suggested-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains'
2025-10-02 14:23 [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains' Wolfram Sang
2025-10-02 18:36 ` Conor Dooley
2025-10-03 6:50 ` Geert Uytterhoeven
@ 2025-10-22 10:02 ` Miquel Raynal
2 siblings, 0 replies; 4+ messages in thread
From: Miquel Raynal @ 2025-10-22 10:02 UTC (permalink / raw)
To: linux-renesas-soc, Wolfram Sang
Cc: Geert Uytterhoeven, Linus Walleij, Richard Weinberger,
Vignesh Raghavendra, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, linux-mtd, devicetree
On Thu, 02 Oct 2025 16:23:11 +0200, Wolfram Sang wrote:
> Physmap supports minimal PM since commit 0bc448b49e8a017e ("mtd: maps:
> physmap: Add minimal Runtime PM support"), so support it also when used
> in DT configurations.
>
>
Applied to nand/next, thanks!
[1/1] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains'
commit: 4e7a83ed83120858f676007706197aa5594d4dd9
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-10-22 10:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-02 14:23 [PATCH] dt-bindings: mtd: physmap: add 'clocks' and 'power-domains' Wolfram Sang
2025-10-02 18:36 ` Conor Dooley
2025-10-03 6:50 ` Geert Uytterhoeven
2025-10-22 10:02 ` Miquel Raynal
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).