* [PATCH v3 1/2] dt-bindings: reset: microchip: Add LAN969x support
@ 2025-09-22 14:27 Robert Marko
2025-09-22 14:27 ` [PATCH v3 2/2] reset: sparx5: add " Robert Marko
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Robert Marko @ 2025-09-22 14:27 UTC (permalink / raw)
To: p.zabel, robh, krzk+dt, conor+dt, steen.hegelund, lars.povlsen,
daniel.machon, devicetree, linux-kernel
Cc: luka.perkov, benjamin.ryzman, Robert Marko
LAN969x also uses the Microchip reset driver, it reuses the LAN966x
support so use a fallback compatible.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
Changes in v3:
* Fix compatible indentation
Changes in v2:
* Use a fallback compatible
.../devicetree/bindings/reset/microchip,rst.yaml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/reset/microchip,rst.yaml b/Documentation/devicetree/bindings/reset/microchip,rst.yaml
index f2da0693b05a..e190e526f3e9 100644
--- a/Documentation/devicetree/bindings/reset/microchip,rst.yaml
+++ b/Documentation/devicetree/bindings/reset/microchip,rst.yaml
@@ -20,9 +20,14 @@ properties:
pattern: "^reset-controller@[0-9a-f]+$"
compatible:
- enum:
- - microchip,sparx5-switch-reset
- - microchip,lan966x-switch-reset
+ oneOf:
+ - enum:
+ - microchip,sparx5-switch-reset
+ - microchip,lan966x-switch-reset
+ - items:
+ - enum:
+ - microchip,lan9691-switch-reset
+ - const: microchip,lan966x-switch-reset
reg:
items:
--
2.51.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH v3 2/2] reset: sparx5: add LAN969x support
2025-09-22 14:27 [PATCH v3 1/2] dt-bindings: reset: microchip: Add LAN969x support Robert Marko
@ 2025-09-22 14:27 ` Robert Marko
2025-09-23 19:03 ` [PATCH v3 1/2] dt-bindings: reset: microchip: Add " Conor Dooley
2025-10-30 12:54 ` Philipp Zabel
2 siblings, 0 replies; 4+ messages in thread
From: Robert Marko @ 2025-09-22 14:27 UTC (permalink / raw)
To: p.zabel, robh, krzk+dt, conor+dt, steen.hegelund, lars.povlsen,
daniel.machon, devicetree, linux-kernel
Cc: luka.perkov, benjamin.ryzman, Robert Marko
LAN969x uses the same reset configuration as LAN966x, but we need to
allow compiling it when ARCH_LAN969X is selected.
A fallback compatible to LAN966x will be used.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
Changes in v2:
* Drop driver changes as we are now just using fallback compatible
* Add missing whitespace after ARCH_LAN969X
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 78b7078478d4..59245cd0c393 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -170,7 +170,7 @@ config RESET_LPC18XX
config RESET_MCHP_SPARX5
tristate "Microchip Sparx5 reset driver"
- depends on ARCH_SPARX5 || SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST
+ depends on ARCH_SPARX5 || ARCH_LAN969X || SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST
default y if SPARX5_SWITCH
select MFD_SYSCON
help
--
2.51.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: reset: microchip: Add LAN969x support
2025-09-22 14:27 [PATCH v3 1/2] dt-bindings: reset: microchip: Add LAN969x support Robert Marko
2025-09-22 14:27 ` [PATCH v3 2/2] reset: sparx5: add " Robert Marko
@ 2025-09-23 19:03 ` Conor Dooley
2025-10-30 12:54 ` Philipp Zabel
2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2025-09-23 19:03 UTC (permalink / raw)
To: Robert Marko
Cc: p.zabel, robh, krzk+dt, conor+dt, steen.hegelund, lars.povlsen,
daniel.machon, devicetree, linux-kernel, luka.perkov,
benjamin.ryzman
[-- Attachment #1: Type: text/plain, Size: 52 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: reset: microchip: Add LAN969x support
2025-09-22 14:27 [PATCH v3 1/2] dt-bindings: reset: microchip: Add LAN969x support Robert Marko
2025-09-22 14:27 ` [PATCH v3 2/2] reset: sparx5: add " Robert Marko
2025-09-23 19:03 ` [PATCH v3 1/2] dt-bindings: reset: microchip: Add " Conor Dooley
@ 2025-10-30 12:54 ` Philipp Zabel
2 siblings, 0 replies; 4+ messages in thread
From: Philipp Zabel @ 2025-10-30 12:54 UTC (permalink / raw)
To: Robert Marko, robh, krzk+dt, conor+dt, steen.hegelund,
lars.povlsen, daniel.machon, devicetree, linux-kernel
Cc: luka.perkov, benjamin.ryzman
On Mo, 2025-09-22 at 16:27 +0200, Robert Marko wrote:
> LAN969x also uses the Microchip reset driver, it reuses the LAN966x
> support so use a fallback compatible.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Applied to reset/next, thanks!
[1/2] dt-bindings: reset: microchip: Add LAN969x support
https://git.pengutronix.de/cgit/pza/linux/commit/?id=0616ef5e16ed
[2/2] reset: sparx5: add LAN969x support
https://git.pengutronix.de/cgit/pza/linux/commit/?id=f764bafcdf58
regards
Philipp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-10-30 12:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-22 14:27 [PATCH v3 1/2] dt-bindings: reset: microchip: Add LAN969x support Robert Marko
2025-09-22 14:27 ` [PATCH v3 2/2] reset: sparx5: add " Robert Marko
2025-09-23 19:03 ` [PATCH v3 1/2] dt-bindings: reset: microchip: Add " Conor Dooley
2025-10-30 12:54 ` Philipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®