devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC
@ 2025-02-28 15:24 Ryan.Wanner
  2025-02-28 15:24 ` [PATCH v2 1/2] dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt Ryan.Wanner
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ryan.Wanner @ 2025-02-28 15:24 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea, wim, linux
  Cc: vkoul, devicetree, linux-arm-kernel, linux-kernel, dmaengine,
	linux-watchdog, Ryan Wanner

From: Ryan Wanner <Ryan.Wanner@microchip.com>

This patch set adds support for the following systems in the SAMA7D65
SoC:
- DMAs
- Chip ID
- Dual watchdog timer.

Changes v1 -> v2:
- Removed pathes that have been accepted and applied from v1 [1].
- Corrected missing newline in dt-binding.
- Corrected mismatch in watchdog dt node.

1) https://lore.kernel.org/linux-arm-kernel/09eafe54-c262-4db4-b11d-0644a1f90a14@tuxon.dev/

Ryan Wanner (2):
  dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt
  ARM: dts: microchip: sama7d65: Add watchdog for sama7d65

 .../devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml    | 4 ++++
 arch/arm/boot/dts/microchip/sama7d65.dtsi                  | 7 +++++++
 2 files changed, 11 insertions(+)

-- 
2.43.0


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

* [PATCH v2 1/2] dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt
  2025-02-28 15:24 [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Ryan.Wanner
@ 2025-02-28 15:24 ` Ryan.Wanner
  2025-02-28 18:17   ` Conor Dooley
  2025-02-28 15:24 ` [PATCH v2 2/2] ARM: dts: microchip: sama7d65: Add watchdog for sama7d65 Ryan.Wanner
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Ryan.Wanner @ 2025-02-28 15:24 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea, wim, linux
  Cc: vkoul, devicetree, linux-arm-kernel, linux-kernel, dmaengine,
	linux-watchdog, Ryan Wanner

From: Ryan Wanner <Ryan.Wanner@microchip.com>

Add microchip,sama7d65-wdt compatible string to the dt-binding documentation.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
---
 .../devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml       | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml b/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml
index cdf87db36183..7668f1efdc6d 100644
--- a/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml
@@ -23,6 +23,10 @@ properties:
           - const: microchip,sam9x7-wdt
           - const: microchip,sam9x60-wdt
 
+      - items:
+          - const: microchip,sama7d65-wdt
+          - const: microchip,sama7g5-wdt
+
   reg:
     maxItems: 1
 
-- 
2.43.0


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

* [PATCH v2 2/2] ARM: dts: microchip: sama7d65: Add watchdog for sama7d65
  2025-02-28 15:24 [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Ryan.Wanner
  2025-02-28 15:24 ` [PATCH v2 1/2] dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt Ryan.Wanner
@ 2025-02-28 15:24 ` Ryan.Wanner
  2025-03-03 13:14 ` [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Rob Herring (Arm)
  2025-03-03 18:56 ` Claudiu Beznea
  3 siblings, 0 replies; 6+ messages in thread
From: Ryan.Wanner @ 2025-02-28 15:24 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea, wim, linux
  Cc: vkoul, devicetree, linux-arm-kernel, linux-kernel, dmaengine,
	linux-watchdog, Ryan Wanner

From: Ryan Wanner <Ryan.Wanner@microchip.com>

Add watchdog timer support for SAMA7D65 SoC.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
---
 arch/arm/boot/dts/microchip/sama7d65.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi
index 92a5347e35b5..179d7f54cc7f 100644
--- a/arch/arm/boot/dts/microchip/sama7d65.dtsi
+++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi
@@ -77,6 +77,13 @@ pmc: clock-controller@e0018000 {
 			clock-names = "td_slck", "md_slck", "main_xtal";
 		};
 
+		ps_wdt: watchdog@e001d000 {
+			compatible = "microchip,sama7d65-wdt", "microchip,sama7g5-wdt";
+			reg = <0xe001d000 0x30>;
+			interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&clk32k 0>;
+		};
+
 		clk32k: clock-controller@e001d500 {
 			compatible = "microchip,sama7d65-sckc", "microchip,sam9x60-sckc";
 			reg = <0xe001d500 0x4>;
-- 
2.43.0


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

* Re: [PATCH v2 1/2] dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt
  2025-02-28 15:24 ` [PATCH v2 1/2] dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt Ryan.Wanner
@ 2025-02-28 18:17   ` Conor Dooley
  0 siblings, 0 replies; 6+ messages in thread
From: Conor Dooley @ 2025-02-28 18:17 UTC (permalink / raw)
  To: Ryan.Wanner
  Cc: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea, wim, linux, vkoul, devicetree, linux-arm-kernel,
	linux-kernel, dmaengine, linux-watchdog

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

On Fri, Feb 28, 2025 at 08:24:10AM -0700, Ryan.Wanner@microchip.com wrote:
> From: Ryan Wanner <Ryan.Wanner@microchip.com>
> 
> Add microchip,sama7d65-wdt compatible string to the dt-binding documentation.
> 
> Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>

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

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

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

* Re: [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC
  2025-02-28 15:24 [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Ryan.Wanner
  2025-02-28 15:24 ` [PATCH v2 1/2] dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt Ryan.Wanner
  2025-02-28 15:24 ` [PATCH v2 2/2] ARM: dts: microchip: sama7d65: Add watchdog for sama7d65 Ryan.Wanner
@ 2025-03-03 13:14 ` Rob Herring (Arm)
  2025-03-03 18:56 ` Claudiu Beznea
  3 siblings, 0 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2025-03-03 13:14 UTC (permalink / raw)
  To: Ryan.Wanner
  Cc: wim, krzk+dt, linux, nicolas.ferre, alexandre.belloni, dmaengine,
	devicetree, linux-kernel, claudiu.beznea, vkoul, linux-watchdog,
	linux-arm-kernel, conor+dt


On Fri, 28 Feb 2025 08:24:09 -0700, Ryan.Wanner@microchip.com wrote:
> From: Ryan Wanner <Ryan.Wanner@microchip.com>
> 
> This patch set adds support for the following systems in the SAMA7D65
> SoC:
> - DMAs
> - Chip ID
> - Dual watchdog timer.
> 
> Changes v1 -> v2:
> - Removed pathes that have been accepted and applied from v1 [1].
> - Corrected missing newline in dt-binding.
> - Corrected mismatch in watchdog dt node.
> 
> 1) https://lore.kernel.org/linux-arm-kernel/09eafe54-c262-4db4-b11d-0644a1f90a14@tuxon.dev/
> 
> Ryan Wanner (2):
>   dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt
>   ARM: dts: microchip: sama7d65: Add watchdog for sama7d65
> 
>  .../devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml    | 4 ++++
>  arch/arm/boot/dts/microchip/sama7d65.dtsi                  | 7 +++++++
>  2 files changed, 11 insertions(+)
> 
> --
> 2.43.0
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/microchip/' for cover.1740675317.git.Ryan.Wanner@microchip.com:

arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dtb: watchdog@e001d000: Unevaluated properties are not allowed ('clocks' was unexpected)
	from schema $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml#
arch/arm/boot/dts/microchip/at91-dvk_som60.dtb: /ahb/apb/adc@f8018000: failed to match any schema with compatible: ['atmel,sama5d3-adc']
arch/arm/boot/dts/microchip/at91sam9g25-gardena-smart-gateway.dtb: nand-controller: #address-cells: 1 was expected
	from schema $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#






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

* Re: [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC
  2025-02-28 15:24 [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Ryan.Wanner
                   ` (2 preceding siblings ...)
  2025-03-03 13:14 ` [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Rob Herring (Arm)
@ 2025-03-03 18:56 ` Claudiu Beznea
  3 siblings, 0 replies; 6+ messages in thread
From: Claudiu Beznea @ 2025-03-03 18:56 UTC (permalink / raw)
  To: Ryan.Wanner, robh, krzk+dt, conor+dt, nicolas.ferre,
	alexandre.belloni, wim, linux
  Cc: vkoul, devicetree, linux-arm-kernel, linux-kernel, dmaengine,
	linux-watchdog



On 28.02.2025 17:24, Ryan.Wanner@microchip.com wrote:
> Ryan Wanner (2):
>   ARM: dts: microchip: sama7d65: Add watchdog for sama7d65

Applied to at91-dt, thanks!

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

end of thread, other threads:[~2025-03-03 18:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 15:24 [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Ryan.Wanner
2025-02-28 15:24 ` [PATCH v2 1/2] dt-bindings: watchdog: sama5d4-wdt: Add sama7d65-wdt Ryan.Wanner
2025-02-28 18:17   ` Conor Dooley
2025-02-28 15:24 ` [PATCH v2 2/2] ARM: dts: microchip: sama7d65: Add watchdog for sama7d65 Ryan.Wanner
2025-03-03 13:14 ` [PATCH v2 0/2] Add System Components for Microchip SAMA7D65 SoC Rob Herring (Arm)
2025-03-03 18:56 ` Claudiu Beznea

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