From nobody Sun Apr 5 16:54:58 2026 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 88B8543D4FC for ; Fri, 27 Feb 2026 15:15:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772205303; cv=none; b=SqxwoMtl1d0uAWhxwrcxreNWmaut/DZAc7zRQf4R8EM0aCAmTrgILFf0jrZ0OTyedKknEhne/VPkWOFeW7NCc9+GYqK+WXmhW9wdVVNscCtiNfltpGeRUWY4L0cyUwQhPjWpNoo1IC73xwz8QTxK0Xjnlny8P8b6h4F2As9iqXg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772205303; c=relaxed/simple; bh=vm1+o6MK2KY2pTOwBMqE9+jhVE8i9ETufDcKynPk4PM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=F5j5dnWhVzYyA8TG+Ff6smAv4FS+0slN+BnAfPbbi0QA2NEbYHaZkwesTXKxgc3ixcjH1PFnqSk+skDq+3w7Pe+ySoMQ5ZA3bv7YH4StRkPxLXoBCvS/Cl1THnJ3Jk52fDNhqxeP6Hawm4/Qv96LbxinlWOWbZkDUG9B65PmjF0= 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=nPvwnJ/C; arc=none smtp.client-ip=209.85.215.176 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="nPvwnJ/C" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-c7103601c8cso912820a12.2 for ; Fri, 27 Feb 2026 07:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772205301; x=1772810101; 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=ePgSZPRRbECh1C3ufz9sKMRvaR3CgzOK7F/YlViJ0LU=; b=nPvwnJ/CPqmqWgtzdhxrC/xte3p6CT6qaoGKmTtB39MM7BfBertrXxloKiUsMgjpU5 fm1GdHUWYnY/01AkbUraEiPFxb3BPyupuwsJBRK/K9bMXSQclzVHPH92T8O7z+4E2BDn l40ZyHU+JWeSRbmTWRGuntIBGsTBZBbP2z75jXjkSLuwczuVOqg+M4BhYCpciM62bpE8 9Jua/MkfBa+Le9c6ynHy6zYJe8Uh3UJfYa20eoAIW2GjGamtY9VaK2L3Wgn8O8yp69Ff GQwk2FmrvviEwxggEJUe/zNz83Smdw2gsWDnnfrCeI8LGUeefhL0rJWY5Hti8v+szCXH mA0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205301; x=1772810101; 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=ePgSZPRRbECh1C3ufz9sKMRvaR3CgzOK7F/YlViJ0LU=; b=rVS9bGN5YgjGUboqfKN9EphT1cO9Oemlflp1oJg7ewZ0UuuEtbYZVRjoCzBRRg9kDf k8rUSuivJKioD+dx0C3oGucVIenhWlK9quAVfiaV4qpwOcfzoZTS1pqur9yqYYq/tePQ Meq0ADO/Y+nAoDxgSHu3DG/8NsZ1TokpbW8cueQ9+PUfotDkdM0LQtlA+KPJsMbBN0XT IgEX4YtvKjJo97QVZIhX+j28PQ+n3hyyiwhbOvt1h4dGAcjq0/pSEYxhsm2YBTxqtlhI d8ZH5wbHnYqRsx+qP4lqkGotKNNiYkDnyc9Gdqu9tWSBerDbMzuUervxdN9DnQrMDXgN Ab+Q== X-Forwarded-Encrypted: i=1; AJvYcCXTrLah2rdJC3hYXs1tcACF52tjSVTyHk3Vb8DtNAcGsWQMZmU3XLFKgFtnQDXkoAgio/CkdlXbgTewrP0=@vger.kernel.org X-Gm-Message-State: AOJu0YyMhJKvGFX4QS/BxmYieNYEYO5mMMKBMHplp85RbD9FX4p9omF7 SZr2+7ZNQvitzdwz7U31m5SWRATbG5McAUpjw142wkeABxvmkmjI4AKl X-Gm-Gg: ATEYQzzDVUSkxKy82+ZalqHGcXZRlvT3dX3Pv10NknPxtWQIXDc0kL1UZ+M23PS4D/N eNiOUJKFGqTqGcD23ovqcoSeYi5o7kePct9/REuloDAQ6W8HiLdsMGE468pXVPlaxBkWQOFWo6l Ikop4tCe++k4sNLjIVZfb6FU7BruoWIEFMN3AlEdCIJtWJfFN1jKxFfvPS+PQjHqSZeIKewaAd7 10nZXqQ5hGbuqYfG1EbgOR4NA/3/IhRLJ8UF2lvegPfW0tjPMpo7lTlKebaq1P55GWwvLGxsxCV cl5F/mkPyzVeJfBYyalp2a5EVzKyiORTJUCcr44mXUQpvrBT1eXiO5qgo5TG4yIfRUDQdNTgcUF vODQkY+mhHgQEAl4Dh8LpfyA1gCAU8gT53CiE1Y65pcHoDPWstlxpyqbay7FrpmoROi+ibdikTf tY3jZeviCS3HW1nJgYIyKmkfhzqXywr+XiDk1lecf+Gv1R1tPM X-Received: by 2002:a17:90b:1809:b0:359:2099:da20 with SMTP id 98e67ed59e1d1-35965cd0b4cmr3771969a91.17.1772205300796; Fri, 27 Feb 2026 07:15:00 -0800 (PST) Received: from LAPTOP-872M7T80.localdomain ([122.168.69.160]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-3593dcc9c37sm5485848a91.8.2026.02.27.07.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:15:00 -0800 (PST) From: Akhila YS Date: Fri, 27 Feb 2026 15:14:34 +0000 Subject: [PATCH v4 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: <20260227-arm-microchip-v4-4-7e2ae1c5b5d6@gmail.com> References: <20260227-arm-microchip-v4-0-7e2ae1c5b5d6@gmail.com> In-Reply-To: <20260227-arm-microchip-v4-0-7e2ae1c5b5d6@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 , Conor Dooley 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. Acked-by: Conor Dooley Signed-off-by: Akhila YS Reviewed-by: Claudiu Beznea --- .../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