From nobody Tue Apr 7 18:45:29 2026 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEEAC44B698 for ; Thu, 26 Feb 2026 16:14:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772122442; cv=none; b=aCUr0KbC1kAH8KRKN9RBi0eCJWiNbSf2kiWo3KZ6Ddv0P1Q9yN9DULyJqDjJuNaz8ZRCf5W3IpsBmHnIScrf39qhEBahiqgblBbKzbMwL/G7QETUrRHpPVezP8rrOspCOLB1a6irok++J9q6TlEN9PIdLEpIO/UxRVehHw0Fl5o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772122442; c=relaxed/simple; bh=A3Vdj4/Wasior3ptVc0ONdH2LyugLoaGmrUrYqVgG4k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aGwGbj0mPHkt9OmLLJlFLcQ+qrwGiRe3LEa7PZVvrFo0OM0/E3gmhHpIP4Qx8dSKXR3KX8+Bmg2tFvsDeasN4qfXBEwIs4e0TFTsta1DT4gbRYdwlldhk6DXO1UD4LR0i9li8eSl+CeOi/eIvZBu8AC82JafevctYIL39pQDIno= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aBMbxXO5; arc=none smtp.client-ip=209.85.215.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aBMbxXO5" Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-c6dd5b01e14so362501a12.0 for ; Thu, 26 Feb 2026 08:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772122440; x=1772727240; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=98cDGFKI0ittGN9WTwtDxfJA6FpPSB/XcdXQA2mPpIs=; b=aBMbxXO5pnXXpfpueh1BaoUB/aU6d4nzQOjwb8AoTcXl5PC3SKs+tbwNvJw+tKrdlu IKPwdqkFr6sIGCMQYpbXkERa6aPfDgL/oQ/T1Y5AbUP7k7B4lu+DvNa1mqP7gEIgRF5D j3IDpeq4Vcs3cDzrxlMXp19TT2zIh8I1sB8l18zBicS0EeobJwUt+yzZM/XeMkbKkoUN SEma6UhXEo/8abN54v2vrT6NkBpxGeKMg4IrH8veMnmKpm8DL17mGiZLJQ9C7twnHMV/ yF5ybJU6awFLY01lp1IHVcrFOK5B4pYR9RxkhacUn7NM9QxbuBf1z9trKp3rfUxVR85b 6jMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772122440; x=1772727240; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=98cDGFKI0ittGN9WTwtDxfJA6FpPSB/XcdXQA2mPpIs=; b=FHoU3WO+F8JhVtTdx/xWTdhxPNAAw2ewZQFdyB7YLEH2edym8F/ISJyW1U3tqNGnaD p8hwNn7Y+n03WRfmhQ3MbpWkZqf8ZJWS8ahaHVHKH1EeM568rigdFltbYrpVbkX56tw1 eQDPJP0bGDWHhj1A8ArPdCouHeHHalscct4greZfdSn3HPKRRE4g8QEmhs3lmiOn1tDr Z5BgjItagp/TuiRl9ngB9ZgkxN/oGSKs6smzf6eHeWWJbMhCfkJtqccnwiyoxtfcBg6z zWGfhZWSIjWt/xPkTvQ036+fqwrUbVluWkXR4xA8hiREzf1OHZSCxPeFe4euED/6mM9S CXbQ== X-Forwarded-Encrypted: i=1; AJvYcCW6MglRmUvN3NrsedgW1pcQRhq3pnIe8zQMS9wtqpYVk1kxsltcO31++aj6kj6ML8/wXTTPa7AZAGoyD5g=@vger.kernel.org X-Gm-Message-State: AOJu0YydXY4rw5oAkJ/FJsiIRAJE4zFGkbqlmOR5Uvc0xLOBGSPGguk0 hcVkp16wBPF6xcEV0pYswKQIlYfl5rpleejcJaHsVI7cHaJ3tyyNQR7T X-Gm-Gg: ATEYQzzotWLIijz70bNxKh/FmDoU8W27eryVJbCMFChfpbQheYi/ZVHcRYGv8uGkYKc BMYCfSeO9rQEJ+5Cvzo2IwlLpwN6tTtA3nCXbiaJxCbsrKJYIW6HTxbHUdSe+Xg9Cb7ldedkwpO FK0wwqpngkOHLQeaTL72D4tEgCuUQ466Fch46p5wdfK7wPnRaa0Vj94M6ao9BkfchqJNTchvbpt OZpC8D/QmU9M9db7F48A6VM+mtFZNpOqCCvPKrKDTFNrJ11HgOFx2zgKBx2/BCxZY+3Y/UtdoVv MsgVanKZr1UYWVBnmWs5fg7bi4QXePl0Sn0cjewvrS0tN3NtpOPgqXe/adXtqGicFaaEiyY0abf uu4hnN7CcQleNim4U9xwR4HX4q2XXOFMGRzpYKAC4tiuokEfMXokDikXsAIiEYOq3ZIpBNIsFMz 5l1Mmy3CJ6cUcfPuJ8DIJWWoI3AyDDGaLafNmnPoxwU2isBQ== X-Received: by 2002:a17:902:e74e:b0:2a9:602c:159 with SMTP id d9443c01a7336-2ae0327267fmr27260525ad.19.1772122439955; Thu, 26 Feb 2026 08:13:59 -0800 (PST) Received: from LAPTOP-872M7T80.localdomain ([122.183.54.8]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2adfb6a0432sm44384595ad.52.2026.02.26.08.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Feb 2026 08:13:59 -0800 (PST) From: Akhila YS Date: Thu, 26 Feb 2026 16:13:36 +0000 Subject: [PATCH v3 4/5] dt-bindings: arm: atmel,at91rm9200-st: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260226-arm-microchip-v3-4-0bda15abd922@gmail.com> References: <20260226-arm-microchip-v3-0-0bda15abd922@gmail.com> In-Reply-To: <20260226-arm-microchip-v3-0-0bda15abd922@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Claudiu Beznea , Alexandre Belloni Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Akhila YS X-Mailer: b4 0.14.3 Convert System Timer binding to YAML format. Changes during conversion: - Add "#address-cells" and "#size-cells" to the properties and required as watchdog is defined as a child node to the timer parent node. - Define watchdog as a pattern property along with unit address in examples. Signed-off-by: Akhila YS --- .../bindings/arm/atmel,at91rm9200-st.yaml | 69 ++++++++++++++++++= ++++ .../devicetree/bindings/arm/atmel-sysregs.txt | 9 --- 2 files changed, 69 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml= b/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml new file mode 100644 index 000000000000..3f6a934a2a69 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/atmel,at91rm9200-st.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel System Timer + +maintainers: + - Nicolas Ferre + - Claudiu Beznea + +description: + The System Timer (ST) module in AT91RM9200 provides periodic tick and + alarm capabilities. It is exposed as a simple multi-function device + (simple-mfd + syscon) because it shares its register space and interrupt + with other System Controller blocks. + +properties: + compatible: + items: + - const: atmel,at91rm9200-st + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "^watchdog@[0-9a-f]+$": + $ref: /schemas/watchdog/atmel,at91rm9200-wdt.yaml# + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + timer@fffffd00 { + compatible =3D "atmel,at91rm9200-st", "syscon", "simple-mfd"; + reg =3D <0xfffffd00 0x100>; + interrupts =3D <1 IRQ_TYPE_LEVEL_HIGH 7>; + clocks =3D <&slow_xtal>; + #address-cells =3D <1>; + #size-cells =3D <1>; + + watchdog@fffffd40 { + compatible =3D "atmel,at91rm9200-wdt"; + reg =3D <0xfffffd40 0x40>; + }; + }; +... diff --git a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt b/Docu= mentation/devicetree/bindings/arm/atmel-sysregs.txt index d0561f7f465c..14642384bc87 100644 --- a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt +++ b/Documentation/devicetree/bindings/arm/atmel-sysregs.txt @@ -1,14 +1,5 @@ Atmel system registers =20 -System Timer (ST) required properties: -- compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt for the ST which is the IRQ line - shared across all System Controller members. -- clocks: phandle to input clock. -Its subnodes can be: -- watchdog: compatible should be "atmel,at91rm9200-wdt" - RAMC SDRAM/DDR Controller required properties: - compatible: Should be "atmel,at91rm9200-sdramc", "syscon" or "atmel,at91sam9260-sdramc" or --=20 2.43.0