From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 513F43A0B30 for ; Tue, 24 Feb 2026 14:47:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771944444; cv=none; b=I+6XkKX6x80Hv/MU2gBvKPzGCW2G1GE+cg2Y+xxd6D633jGv8hnQutfzFj58dOk6nhgGs1/XZyohUVmbVTmVc9gRFTSaD24PwRrLphXm16adR43msUfwnaVKqRFiHXThZwXTxCtpnJGvh/DLrwbXZrsyQc/iyIqcwF8hJ4NXLAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771944444; c=relaxed/simple; bh=6pj4czSfC5AwFl7fC7622loFsarR0OofduXKnoBO3TU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YZacMWwYBeHxuJPR6ki67HEWV7/rizeuRWQBhlLt3EPIh1YkA/TFzk8b5PrMskGtZORTtpugftT0RYxmGMrfF3lBhDDV0nMkoPvTawl7meOLDFo7VGa4qB44d3Isvz+O2Izc87yq3mK7B44tITD+lF7KzUKShUjHccOIOi3sJQc= 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=jVqizp9L; arc=none smtp.client-ip=209.85.210.182 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="jVqizp9L" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-82418b0178cso3344623b3a.1 for ; Tue, 24 Feb 2026 06:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771944442; x=1772549242; 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=zjdpMyB6qGuRoWUV7GpKDY315X8Hm3FSv9zQSVKZysU=; b=jVqizp9LtY1bct3pstVADBqFn6zlFwqqc+vBo71xlI3AXsicG/LFXWyFBRGEF2smGs stul9VroYu9yfuouikbW/d9EWpjPUkABDNWAyJfkYZiVtIvIEH/l250zw7d4egpeFiKV w21bTIKUB+sHRlugkfgrosgWJGT5W+oWXZoelxyEjj6ihNGnsPaD6HIW+XI53RV2y3uV 7Dzy6dc4lFrMxeiUz9LqwMQ2RPTgV3sjKVPYzhnVLjhZYNIDu1NqskT+Ia0zwzst5Wcz UgmjtGQ/5VAkEngZfklfNmFUQQ36yUt8wUGd/gKOUq4zy//KeQ3PidwraJFiTixbE/2s L34w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771944442; x=1772549242; 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=zjdpMyB6qGuRoWUV7GpKDY315X8Hm3FSv9zQSVKZysU=; b=gDdrMRZp3l3BWU8KLA4vmyUqg96luDUOJ2S6vr4x+DrJHWvIlYnzKhqIn7O7UTIYUY qYzCjt8eSwx6G9/M5vneBSQBZUkhPe9K3jNFpBpKNnJTDqDWEeI2sYoiIoPpl88p91fg gg78uwC/eY+KuUfyUK5f5PuUmEcbYAvLANp4xxB7wzNXVq0dk8i512yjsoYLysjAk8gJ gHwvkGNe2UKRRTDbk/Y4uQd85Kl3gNW1D+w1vt2bSEBlggc0dN+pUMRCHD8RS5kVMZg5 uLTCZlQ0FX5leAM7XqAiPniojT/XJJ3pboT7wtFznDS3YnSFtKZRRG/z/mP+zBsVEv98 Uj3A== X-Forwarded-Encrypted: i=1; AJvYcCXHPBiaQ9Qvu9+3L2UTnPqCAJI9NV54WjrgbjX8IIiXpSm3rXuk7oQcKR/PNpU/DOGNpeS2S4LrChO7bZo=@vger.kernel.org X-Gm-Message-State: AOJu0YzwLZ1Y+AdZHaFqt09ldsKUqFntKelDeVJ9oX3cP9K95+1PFu4a C21tWZXkchQI4JYuiN/rqm9WM03qle+e5i71cvY6pMi15I+3Eq5DEggl3hLyHg== X-Gm-Gg: ATEYQzyL3nrpTD79wwc8Ub+G2cVP5TjNlagyjSaywyw/f0Rv1T1Lzx23j7URO4Akp9y QLcfZUWw8tO6I1Ju4pqozzor7BEkcl8wWzrhWoJEuw/+OoFt1OOquzcQLGdOdZdNAmZJPSZMQ1a 1htxsyiVXmoEaNBGlP60lQge3ysNJtCh2IUWcmkhXgHophb6M2Jb/XsmoBlz4dYKS3zYdx6TMbY 9Rdz1hVMZMA9TDYCpdhXiiP9tuZ1AMBytNHqLrc8P3AL0fHNeR6lYYwOZZzPeZ2dryLPA/LYySX GZoe4BvGYIwk9Eil6uasQVoOq8vQnpCGUydKvejtXjueySzyYFOY/yZO9/s7ALa1gMItVM29bWk 9gERjo7cKga7tgINFc9D33CzKDQnNsvjUljfNHw5kclZjXPq1BqArkih/iXrnVkmu/cqs3fvr1r Pafo5Sm5v6EcvMA39YEY3YGRp6Dtpt0XRdeu9pXpUKB2Xfrtht X-Received: by 2002:aa7:9a87:0:b0:823:9c0:47a8 with SMTP id d2e1a72fcca58-826da8d7c65mr9910568b3a.9.1771944442106; Tue, 24 Feb 2026 06:47:22 -0800 (PST) Received: from LAPTOP-872M7T80.localdomain ([122.168.64.105]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-826dd64367bsm11149895b3a.4.2026.02.24.06.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 06:47:21 -0800 (PST) From: Akhila YS Date: Tue, 24 Feb 2026 14:46:50 +0000 Subject: [PATCH v2 5/5] dt-bindings: arm: atmel,at91rm9200-sdramc: 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: 7bit Message-Id: <20260224-arm-microchip-v2-5-8bedacd2cdcb@gmail.com> References: <20260224-arm-microchip-v2-0-8bedacd2cdcb@gmail.com> In-Reply-To: <20260224-arm-microchip-v2-0-8bedacd2cdcb@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Claudiu Beznea , Alexandre Belloni , Claudiu Beznea 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 RAMC SDRAM/DDR controller binding to YAML format. Signed-off-by: Akhila YS --- .../bindings/arm/atmel,at91rm9200-sdramc.yaml | 67 ++++++++++++++++++++++ .../devicetree/bindings/arm/atmel-sysregs.txt | 48 ---------------- 2 files changed, 67 insertions(+), 48 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/atmel,at91rm9200-sdramc.yaml b/Documentation/devicetree/bindings/arm/atmel,at91rm9200-sdramc.yaml new file mode 100644 index 000000000000..2cc07a772063 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/atmel,at91rm9200-sdramc.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/atmel,at91rm9200-sdramc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip (Atmel) SDRAM / DDR Controller (RAMC / DDRAMC / UDDRC) + +maintainers: + - Nicolas Ferre + - Claudiu Beznea + +description: + The SDRAM/DDR Controller (often called RAMC or DDRAMC) in various + Atmel/Microchip ARM9 and Cortex-A5/A7 SoCs manages external + SDRAM / DDR memory. It is typically exposed as a syscon node for + register access from other drivers (e.g. for initialization or mode + configuration). No interrupts or clocks are usually required in the + binding. + +properties: + compatible: + oneOf: + - items: + - const: atmel,at91rm9200-sdramc + - const: syscon + - items: + - const: microchip,sama7d65-uddrc + - const: microchip,sama7g5-uddrc + - items: + enum: + - atmel,at91sam9260-sdramc + - atmel,at91sam9g45-ddramc + - atmel,sama5d3-ddramc + - microchip,sam9x60-ddramc + - microchip,sam9x7-ddramc + - microchip,sama7g5-uddrc + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + items: + - const: ddrck + - const: mpddr + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + ramc@ffffe400 { + compatible = "atmel,at91sam9g45-ddramc"; + reg = <0xffffe400 0x200>; + clocks = <&pmc PMC_TYPE_SYSTEM 2>; + clock-names = "ddrck"; + }; +... diff --git a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt b/Documentation/devicetree/bindings/arm/atmel-sysregs.txt deleted file mode 100644 index 5ce54f9befe6..000000000000 --- a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt +++ /dev/null @@ -1,48 +0,0 @@ -Atmel system registers - -Chipid required properties: -- compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid" - "microchip,sama7d65-chipid" -- reg : Should contain registers location and length - -PIT Timer required properties: -- compatible: Should be "atmel,at91sam9260-pit" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt for the PIT which is the IRQ line - shared across all System Controller members. - -PIT64B Timer required properties: -- compatible: Should be "microchip,sam9x60-pit64b" or - "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b" - "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt for PIT64B timer -- clocks: Should contain the available clock sources for PIT64B timer. - -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 - "atmel,at91sam9g45-ddramc" or - "atmel,sama5d3-ddramc" or - "microchip,sam9x60-ddramc" or - "microchip,sama7g5-uddrc" or - "microchip,sama7d65-uddrc", "microchip,sama7g5-uddrc" or - "microchip,sam9x7-ddramc", "atmel,sama5d3-ddramc". -- reg: Should contain registers location and length - -Examples: - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - -- 2.43.0