From nobody Thu Oct 2 04:51:49 2025 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 42AE42F5301 for ; Tue, 30 Sep 2025 08:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222015; cv=none; b=XP+L6FfLGl5/VvqVlSRHLHq3hVvN1JSREZ4S62S0Jk90Wm0uDrVWdunE0QjNuwoJuNb9F7qJSf+/5gU0dnuqe9Rg0ZUIaaqZOgEvlk0B/g/PTm5wJ63o3RNEDpfhPmHrb5buAO0JTWOyPbNoVgEP5C1GVnCtesWBmXzMqIiNCEc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222015; c=relaxed/simple; bh=qQyfE/HR1KEl42BgS27yYcLTdYp3wLZCK/9r2bpcFbY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oDRlR7pKw7YrTgbwx4sEyIjp+mgkvHIyNxTxUOvPKPyDFewS7wNy7PaHue9exfxXzwkrtPxEZv/ZxITh6fryeqQVkT4L2JUMtEI8dbGet8/hszFxWw9fL430JBwqRS0JcPFlFGa0C8p92/t1Gx6NT7UTlWtzfSnnvjEjQAlejm8= 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=S5hpc5U6; arc=none smtp.client-ip=209.85.128.53 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="S5hpc5U6" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-46e37d10f3eso42627185e9.0 for ; Tue, 30 Sep 2025 01:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759222011; x=1759826811; 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=yQkyDL/UyU0AOlGBBg/p3sULFCOnQoFDn72vXxom41I=; b=S5hpc5U6O0yct39BcP3t3leeI0Aeuz7HMa3ZW7etinyUk3Bhn3NYAPB5cZkIaOGmjp bF4uEQSblpUM+N982VfxdTbI6XbmCVaYq+Yfzk8yKZ6YjVmnmVVQ3fxncfkQHNESX6Sx zQv2Fj6Yctkxo8wrTCmVcixqQeXvYxG6Dp3ow3aAJwLfeLlhJtr5Dx4MdZFmmFvZRylC DaaGxHn7zyT04eKl7/Kqowu0a2yWoCg0Il2g+l7JxACA0FRhFCJ2jFi/5TYRiCpM7Sjg by+INGPUg9oQoV+vv7cJd3h+W7SilpjPYRStcqXLr+/cO1E/ybx3ANlB8QovOiP0tZ9Z 6sdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759222011; x=1759826811; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yQkyDL/UyU0AOlGBBg/p3sULFCOnQoFDn72vXxom41I=; b=QCZxMnR5PPKf+YrXA1TzO79UZx5mCk847XArzIHoKHpIU/dKmdIRcKVCEF6M3N8LmB BfONbwwhkKm67hjIGBF21iGdsiiUU0Kr5gJ1S/bZJWMtgJmylDfTfS1cimcX96b/u1KC Oz16VYNm1HkAi6jgWDiZ5D/FiopU0s4cUF28yerRmaIXq+m0aKIh6HCcanmDtI8z9AcQ arVXEhjjaLKZBwyBv4eGXaDDWCqicQRh90plZBwQg4VSy6KTttapBFt9Mtl5BAf6sa6h UWpN50FTYDtIFzTfUYG5LOK+irLqc38QjfygB4Y+vRyAAHWHxAgkboWyb+N8HZusg+xZ XSJg== X-Gm-Message-State: AOJu0Yw8gJuIm76HGUY8lv/PY/uFAh4o8lJR9CgON1Uu6tlWLfU7Msxe dP3UX7gHhaR5QmLhbhnrSJUoE6RvxEYdLYKE6dn4MbDWXii2e9TdqaG9 X-Gm-Gg: ASbGncscmTjRlL3gVPbADahsBjR6kxFJXcRXOMXdnyoJ4yC8ml69VId0m5TufzxpAYB hZMYMSNwjUE5iOFENa36xOM5oiOhnSAOlw2Vy303UCyNFb5kYpe2wujzFoeGSGQuD4GCQGX60Nx DGHm1c7oIvPr5YUaTMyf5esAFGE6TypFBGNY+BhZMXWzxmyZfWMRPryP/4HAEZSk0AYA/bIkgDg hNGGe+NxIf6OLgt9pz2Mv9OFB2w7A2I0l4EYTiZLllnqubOR2Rnr9/4TNTFJJlRB8sNFZyhmqvd dNveh9dzAQ9kmCJa9cdi2Qvlwc4OloifyrsKrye2UQbI02C2/Ae95CgIuEQklagvm28FAGLcKGB BZnPf042qKKetiQ2RnPoAwhbg50mtRe+ZbzA5S/cFbu89+06BKfOa94Neie91M0e9QGZSXH+Q2g 61byw9k4di/vmq9Jd7PDuQvd+xIbVWkK14wIc2Zzsm X-Google-Smtp-Source: AGHT+IHUW0KY2FKWo8nrRUZMd7SAgnbVpiI5ywcibvVT2PdmAhNIG/bS07n3xK/3WjGB++9DpjRJUA== X-Received: by 2002:a05:6000:2484:b0:3f1:2671:6d9e with SMTP id ffacd0b85a97d-40e497c346fmr16640937f8f.1.1759222011362; Tue, 30 Sep 2025 01:46:51 -0700 (PDT) Received: from localhost (2a02-8440-7149-a758-f461-9bc4-1c75-ebc1.rev.sfr.net. [2a02:8440:7149:a758:f461:9bc4:1c75:ebc1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-40fb89fb2fcsm23116418f8f.22.2025.09.30.01.46.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Sep 2025 01:46:51 -0700 (PDT) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 30 Sep 2025 10:46:44 +0200 Subject: [PATCH v8 1/7] dt-bindings: memory: factorise LPDDR props into SDRAM props 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: <20250930-b4-ddr-bindings-v8-1-fe4d8c015a50@gmail.com> References: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> In-Reply-To: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Julius Werner , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-0dae4 From: Cl=C3=A9ment Le Goffic LPDDR and DDR bindings are SDRAM types and are likely to share the same properties (at least for density, io-width and reg). To avoid bindings duplication, factorise the properties. The compatible description has been updated because the MR (Mode registers) used to get manufacturer ID and revision ID are not present in case of DDR. Those information should be in a SPD (Serial Presence Detect) EEPROM in case of DIMM module or are known in case of soldered memory chips as they are in the datasheet of the memory chips. Signed-off-by: Cl=C3=A9ment Le Goffic Signed-off-by: Cl=C3=A9ment Le Goffic --- .../memory-controllers/ddr/jedec,lpddr-props.yaml | 74 ----------------- .../memory-controllers/ddr/jedec,lpddr2.yaml | 2 +- .../memory-controllers/ddr/jedec,lpddr3.yaml | 2 +- .../memory-controllers/ddr/jedec,lpddr4.yaml | 2 +- .../memory-controllers/ddr/jedec,lpddr5.yaml | 2 +- .../memory-controllers/ddr/jedec,sdram-props.yaml | 94 ++++++++++++++++++= ++++ 6 files changed, 98 insertions(+), 78 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,lpddr-props.yaml b/Documentation/devicetree/bindings/memory-controllers/dd= r/jedec,lpddr-props.yaml deleted file mode 100644 index 30267ce70124..000000000000 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-= props.yaml +++ /dev/null @@ -1,74 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr-prop= s.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common properties for LPDDR types - -description: - Different LPDDR types generally use the same properties and only differ = in the - range of legal values for each. This file defines the common parts that = can be - reused for each type. Nodes using this schema should generally be nested= under - an LPDDR channel node. - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - description: - Compatible strings can be either explicit vendor names and part numb= ers - (e.g. elpida,ECB240ABACN), or generated strings of the form - lpddrX-YY,ZZZZ where X is the LPDDR version, YY is the manufacturer = ID - (from MR5) and ZZZZ is the revision ID (from MR6 and MR7). Both IDs = are - formatted in lower case hexadecimal representation with leading zero= es. - The latter form can be useful when LPDDR nodes are created at runtim= e by - boot firmware that doesn't have access to static part number informa= tion. - - reg: - description: - The rank number of this LPDDR rank when used as a subnode to an LPDDR - channel. - minimum: 0 - maximum: 3 - - revision-id: - $ref: /schemas/types.yaml#/definitions/uint32-array - description: - Revision IDs read from Mode Register 6 and 7. One byte per uint32 ce= ll (i.e. ). - maxItems: 2 - items: - minimum: 0 - maximum: 255 - - density: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Density in megabits of SDRAM chip. Decoded from Mode Register 8. - enum: - - 64 - - 128 - - 256 - - 512 - - 1024 - - 2048 - - 3072 - - 4096 - - 6144 - - 8192 - - 12288 - - 16384 - - 24576 - - 32768 - - io-width: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - IO bus width in bits of SDRAM chip. Decoded from Mode Register 8. - enum: - - 8 - - 16 - - 32 - -additionalProperties: true diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,lpddr2.yaml b/Documentation/devicetree/bindings/memory-controllers/ddr/jed= ec,lpddr2.yaml index a237bc259273..704bbc562528 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr2= .yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr2= .yaml @@ -10,7 +10,7 @@ maintainers: - Krzysztof Kozlowski =20 allOf: - - $ref: jedec,lpddr-props.yaml# + - $ref: jedec,sdram-props.yaml# =20 properties: compatible: diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,lpddr3.yaml b/Documentation/devicetree/bindings/memory-controllers/ddr/jed= ec,lpddr3.yaml index e328a1195ba6..0d28df3d2bfa 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr3= .yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr3= .yaml @@ -10,7 +10,7 @@ maintainers: - Krzysztof Kozlowski =20 allOf: - - $ref: jedec,lpddr-props.yaml# + - $ref: jedec,sdram-props.yaml# =20 properties: compatible: diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,lpddr4.yaml b/Documentation/devicetree/bindings/memory-controllers/ddr/jed= ec,lpddr4.yaml index a078892fecee..65aa07861453 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr4= .yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr4= .yaml @@ -10,7 +10,7 @@ maintainers: - Krzysztof Kozlowski =20 allOf: - - $ref: jedec,lpddr-props.yaml# + - $ref: jedec,sdram-props.yaml# =20 properties: compatible: diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,lpddr5.yaml b/Documentation/devicetree/bindings/memory-controllers/ddr/jed= ec,lpddr5.yaml index e441dac5f154..cf5d5a8e94b3 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr5= .yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr5= .yaml @@ -10,7 +10,7 @@ maintainers: - Krzysztof Kozlowski =20 allOf: - - $ref: jedec,lpddr-props.yaml# + - $ref: jedec,sdram-props.yaml# =20 properties: compatible: diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,sdram-props.yaml b/Documentation/devicetree/bindings/memory-controllers/dd= r/jedec,sdram-props.yaml new file mode 100644 index 000000000000..eb6f429e9eb2 --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sdram-= props.yaml @@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,sdram-prop= s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common properties for SDRAM types + +description: + Different SDRAM types generally use the same properties and only differ = in the + range of legal values for each. This file defines the common parts that = can be + reused for each type. Nodes using this schema should generally be nested= under + a SDRAM channel node. + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + description: | + Compatible strings can be either explicit vendor names and part numb= ers + (e.g. elpida,ECB240ABACN), or generated strings of the form + lpddrX-YY,ZZZZ or ddrX-YYYY,AAAA...,ZZ where X, Y, and Z are lowerca= se + hexadecimal with leading zeroes, and A is lowercase ASCII. + For LPDDR and DDR SDRAM, X is the SDRAM version (2, 3, 4, etc.). + For LPDDR SDRAM: + - YY is the manufacturer ID (from MR5), 1 byte + - ZZZZ is the revision ID (from MR6 and MR7), 2 bytes + For DDR4 SDRAM with SPD, according to JEDEC SPD4.1.2.L-6: + - YYYY is the manufacturer ID, 2 bytes, from bytes 320 and 321 + - AAAA... is the part number, 20 bytes (20 chars) from bytes 329 t= o 348 + without trailing spaces + - ZZ is the revision ID, 1 byte, from byte 349 + The former form is useful when the SDRAM vendor and part number are + known, for example, when memory is soldered on the board. The latter + form is useful when SDRAM nodes are created at runtime by boot firmw= are + that doesn't have access to static part number information. + + reg: + description: + The rank number of this memory rank when used as a subnode to an mem= ory + channel. + minimum: 0 + maximum: 3 + + revision-id: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: | + SDRAM revision ID: + - LPDDR SDRAM, decoded from Mode Registers 6 and 7, always 2 bytes. + - DDR4 SDRAM, decoded from the SPD from byte 349 according to + JEDEC SPD4.1.2.L-6, always 1 byte. + One byte per uint32 cell (e.g., ). + maxItems: 2 + items: + minimum: 0 + maximum: 255 + + density: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Density of the SDRAM chip in megabits: + - LPDDR SDRAM, decoded from Mode Register 8. + - DDR4 SDRAM, decoded from the SPD from bits 3-0 of byte 4 accordi= ng to + JEDEC SPD4.1.2.L-6. + enum: + - 64 + - 128 + - 256 + - 512 + - 1024 + - 2048 + - 3072 + - 4096 + - 6144 + - 8192 + - 12288 + - 16384 + - 24576 + - 32768 + + io-width: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + I/O bus width in bits of the SDRAM chip: + - LPDDR SDRAM, decoded from Mode Register 8. + - DDR4 SDRAM, decoded from the SPD from bits 2-0 of byte 12 accord= ing to + JEDEC SPD4.1.2.L-6. + enum: + - 8 + - 16 + - 32 + +additionalProperties: true --=20 2.43.0 From nobody Thu Oct 2 04:51:49 2025 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 D4A132F532F for ; Tue, 30 Sep 2025 08:46:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222016; cv=none; b=sp22xvplKPtDp8nclnzWYLCgfr5si6bPYjmpBLC5Yu0roJB04zujntw+/D97ZKupZNMWOxyhRGWw3l7wdJwu2YaBBoBmnH5YuVpZTVu1U9cItvTF1wthexb0LWWSCcW5HH3sJBJFHm6O+nKG3X/CBx6wdc35kY8poqvelwI9fNw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222016; c=relaxed/simple; bh=zn+CaRbVeke91i9T3DQ7+L4MQQGRwZK7VRhzOr2u8RA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qf3l/gVEPhcNuDv0tpQIMf6eEdMSbXCbpIOBJKNr8NaX2IQmfAg83qNVxvb8Avy/g5vDhPqcbYGiv2MXrjA4K9ZZhBV1T0lhNVzrAm2KHGdYk+1OyudU94ijDFgWInkeb6w0ohF2ntbdAhi76CWpgsL+EzktbmFxv7AkegGcqzc= 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=XttyYDmM; arc=none smtp.client-ip=209.85.128.49 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="XttyYDmM" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-46e30ef74b0so39083765e9.0 for ; Tue, 30 Sep 2025 01:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759222013; x=1759826813; 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=V33lrbDBdpgDfc9x4hYQa/F6X3VcQqYOJF639C+QnLE=; b=XttyYDmMvRIG02/ZyPu8rYaQV+8WziP8W8KhOEheKBC7ieJp0JTb8bWQ7jxy6NNG5u I9S4bFIwEZGazeN0HxdmooAdONnHe31ja3Qg13+5VfEA/W/fFUU9xKWsoAoAviwBcM0Q a25ty7TcJOWw+FzwpWu9RKQRP4RAq6Mq/9eWtVl8sZ22braR3S0GpIIjrUOIXQouQga+ 4/tYweo6m74cWELpYq/soGkeaynSs2wJ7iYvzMTqBZHvNihbEry2UM6WVOl8DXj/B1gp 3hM8lz68fGmtNgATJ4CwLXTVfKdN/DCMLLPfvi472568jzf5EjFLTinA6ILZQzn7rOYr SLUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759222013; x=1759826813; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V33lrbDBdpgDfc9x4hYQa/F6X3VcQqYOJF639C+QnLE=; b=qOk5j09hRGh9kxr8HJkGtaIvSOdzVI3jyRjUDg/GV2SK9f/QdxBRhLuiPWFMOUSWJX pbWC2obRU7Rx2w3Lb8AMKDg6P2N+zaqxJWPYw2EXpm5+UH+yu5oBxMmVwzl24uPsfFTX opiZIwnpG1ZZq1QtxNRCEIrSaGPtGSTSafhzBFRejNfwpzja5PfYCyfA1FVJ2Va73OGC UQirJa5qOlH7ZnI6woffJqrNMibGin2HOConZksEszgb9iuTfOPvaKvTSzIYA8xR8RVF PuiYDcoDb13eehK2n0LJMU68ySEqCdn1Wtxm3X4asNapToCaX85GQgkDiw4nEatlC7qq 22mw== X-Gm-Message-State: AOJu0YyaYFWTBwoejgbTqEpFv2A0QdFKFhQZj6m21nJXsrFLiIfWOfW8 luRFfmNDMWsm/7J0CkJWsUwOzDDkUrRf0W1c9dWpYENTGMt+EcoOk9Qz X-Gm-Gg: ASbGncvay2hgoXE1WpBVp0DWI/QJdsz7UrNkJyRxrylRMOyBUTl0ncGtGwEUg3t1OUF ZJBYZLWdJHfZ2blvfUSr8cyiwECJ3T8oeV0NuruXPgiEiSwgJtRU+QvhULvFPf8kM+G0ITaWyYp Djf2EPhMBEyMmrtpFWvSFS97nzDIbHMQN1graLqTGJVX7redR3YCItPWymvn2L9EBXtP0ChzqqS 6CWbIloLuFjsaJfR1hxdhY9hInEkc9MJ/n+0MV7Iox+Kr91P1KbWvcezaaN5yZb5uFbIwRkkz3b lYs7JIT4AymrVvIs+I1FC0jD0sB4ZT8FgOtCmoX4uaDgxvZO/VxdQVFxSvAXVr7dSYumYpOGVNs L9wmQpLEQJkKMlycyDEFSaQfCoab429bKO2T843+zL9nRCKeK5gClYjzI9S8XTKGAtzUsfgu2gh LhqBl/oaTUhZEq1MmY2LZnfKS3Ei8V63iq/uNsXSS7 X-Google-Smtp-Source: AGHT+IE6t7X9LCnai11B2rSAFpAnlmP2yS3ko2WKL5rG+zgL8fO97OZwBT8DQj4yAE2uWbubKrm0RA== X-Received: by 2002:a05:600c:a0d:b0:46e:45f7:34f3 with SMTP id 5b1f17b1804b1-46e45f736d6mr114824825e9.8.1759222012854; Tue, 30 Sep 2025 01:46:52 -0700 (PDT) Received: from localhost (2a02-8440-7149-a758-f461-9bc4-1c75-ebc1.rev.sfr.net. [2a02:8440:7149:a758:f461:9bc4:1c75:ebc1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e56f3dcacsm48573735e9.2.2025.09.30.01.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Sep 2025 01:46:52 -0700 (PDT) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 30 Sep 2025 10:46:45 +0200 Subject: [PATCH v8 2/7] dt-bindings: memory: introduce DDR4 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: <20250930-b4-ddr-bindings-v8-2-fe4d8c015a50@gmail.com> References: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> In-Reply-To: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Julius Werner , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-0dae4 From: Cl=C3=A9ment Le Goffic Introduce JEDEC compliant DDR bindings, that use new memory-props binding. Signed-off-by: Cl=C3=A9ment Le Goffic Signed-off-by: Cl=C3=A9ment Le Goffic --- .../memory-controllers/ddr/jedec,ddr4.yaml | 34 ++++++++++++++++++= ++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,ddr4.yaml b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,ddr4.yaml new file mode 100644 index 000000000000..a2eb6f63c0ce --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,ddr4.y= aml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,ddr4.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DDR4 SDRAM compliant to JEDEC JESD79-4D + +maintainers: + - Krzysztof Kozlowski + +allOf: + - $ref: jedec,sdram-props.yaml# + +properties: + compatible: + items: + - pattern: "^ddr4-[0-9a-f]{4},[a-z]{1,20},[0-9a-f]{2}$" + - const: jedec,ddr4 + +required: + - compatible + - density + - io-width + +unevaluatedProperties: false + +examples: + - | + ddr { + compatible =3D "ddr4-00ff,azaz,ff", "jedec,ddr4"; + density =3D <8192>; + io-width =3D <8>; + }; --=20 2.43.0 From nobody Thu Oct 2 04:51:49 2025 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 5289D2F5472 for ; Tue, 30 Sep 2025 08:46:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222018; cv=none; b=tt/ipTwK5K8D0u4F/Xrot39TQdDdRc53NaDoAGQpUDSoDFXR9lGGxR1CQMm51hr7b9U2B2DJvWvEviMY122LW8f7oSqZ3GdqZeXpR9gT9T5jYOZaditEtHn8NpRHc6HP/4v2rCkISTOzY7m/kDQ7eQJyDBuRhFdfCRfFNYkfDmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222018; c=relaxed/simple; bh=1Mdzq/652LBGyytQuIr/+WYxsQX1eeyePN4MTPuKWTU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BFbXEgWtnrT+XAx1QFTcC9g/I2pukh+zYVzntCgDERUkkGXePeRdjQQr8hreHkGzuUfl30EIlFpADqQoSNFZtZpFrGBcJQ1+R6zAjQ1Khzr2zfJLVcrdVRDYx9zYoXC2JWomLpOfyxa2/fBJ5exJKlJdJNGDH5as6XEMC4rveK8= 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=FG+isP62; arc=none smtp.client-ip=209.85.128.49 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="FG+isP62" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-46e504975dbso16903185e9.1 for ; Tue, 30 Sep 2025 01:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759222015; x=1759826815; 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=PFM4fgZANGXRwrvQV4wSC81b8D8h+yUyMHAkucbMQWo=; b=FG+isP62FmmOi9JEY0E9mfPLpjqPGU7JVZxL8jAfoeNVva8RD22hF+mRHnN8LPV8pV szNOc2t/qWhxh3EWxNRgFnVP0IlZsDjgilZohFu9C08CFr9XHb20cTn9xVJhZiNGqvm2 A+spAtnHydmczRoK3S2fcBctcBlZrwwV1UwSwpcAWuxgWcdf5v0zSXu9S3Tl2bNwlsMM /D8+RO3UvoXhKODmDFurUADo9A0JUHm5uZGSC5AGuUT/EZFw5KkHXIAO9n5SCFPjZS4j 9Y7w5FpLjbg5iLZtMKIhRqFXfhg2rlYaNS6nKDje7hGL0qgvnyQeDlh9rFo1OR/Y6QId 1tPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759222015; x=1759826815; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PFM4fgZANGXRwrvQV4wSC81b8D8h+yUyMHAkucbMQWo=; b=Mr+Vxq004Ufj3eJwaMfmOUFMtS3DdnH5LHl5KkqlJC6mTm76sNzxUWPP0Tp1z52CJG QmrZUMHNTvdMYQwK2PQibbznvVWRfikrCdsGY+VhV26OvT+/P7TYpOiKWkYjZvFVYWqM XZTW2jJCkQKOQgalYgvR4EtOdm5VNw9MDptczFal/LuT1KrGr+R/+5jUHFJjycn3PYyJ RlJPLnF0b4NvcBkPkJ5K3vmOB86QQr7YFAi7NFt5tzQY8nE9orily+4pDWyMdVXZtrhs mIV1tZ8WWSvpMrRQOn3f1HDVlM97IFF0qLb6D4UdFgU9F1GYu6DkP1mVgPKlvFHkfsHl CNQw== X-Gm-Message-State: AOJu0Yw6UqLVjDo15rURO9vZsVX9BwE7TgkR0+I+HdFKd/sYDpjeBbv1 C5hW0v9n3g8VffinLDrrwW4Dcg9p968wGfEXO1oGOYqFpIZVeoVzlvZM X-Gm-Gg: ASbGncup3/kN1WlkTDO9V/5hdoFsH+A3xbes1xD2aBrd2Pljc9PG4cWwucscqw8UH4J AEcJ5iSI8QnyM6UUB3NL7yWqCJ6HkavsAXs9G3G9uMHnZTpRG4Esed+vE1xeryHXUxLh5N+I5mU qjS7Lz0fn0iAd0qsAxPbTFgeZ0N+XBl6XIzd/Ei/XAEwmEWIo3zfAKcPY+D05THX/oN672S/Kly s+npOez8lL5Y3apNWxg5iO/M73v7jyY4PXqsqQx1xkTbn/2cp2ZCUQH6KVyqutq1fkWx+m7xcqg sTKnAhI4nOIDosP0XeM+J6MNrKl4SDrNW+iWGWrjM8yms41TELVL0DsHaA7L0yAIo3XnAuHO2oL RJIFFvyWFeJuxKCLDU97wPA8OKXM00u6TyPVCg87z3/fI38maN3L+lgXQsU9rr1azg/ky776A27 CM36TCwpeGoaUZ48/TUedpF6lowc3mxxX898RPdS+AyRbnnW5Cwh8= X-Google-Smtp-Source: AGHT+IHTFPZzGx4b88SoI+qS9EQDgCRRYbI3BPB4d5PmhtBVYrKjFEQXmYR1LT+gc8Uw7C4dhTNdmA== X-Received: by 2002:a05:6000:4010:b0:3fb:ddb3:f121 with SMTP id ffacd0b85a97d-40e4b1a079dmr19776194f8f.45.1759222014438; Tue, 30 Sep 2025 01:46:54 -0700 (PDT) Received: from localhost (2a02-8440-7149-a758-f461-9bc4-1c75-ebc1.rev.sfr.net. [2a02:8440:7149:a758:f461:9bc4:1c75:ebc1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-40fc88b0779sm21417757f8f.58.2025.09.30.01.46.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Sep 2025 01:46:54 -0700 (PDT) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 30 Sep 2025 10:46:46 +0200 Subject: [PATCH v8 3/7] dt-bindings: memory: factorise LPDDR channel binding into SDRAM channel 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: <20250930-b4-ddr-bindings-v8-3-fe4d8c015a50@gmail.com> References: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> In-Reply-To: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Julius Werner , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-0dae4 From: Cl=C3=A9ment Le Goffic LPDDR, DDR and so SDRAM channels exist and share the same properties, they have a compatible, ranks, and an io-width. Signed-off-by: Cl=C3=A9ment Le Goffic Reviewed-by: Rob Herring (Arm) Signed-off-by: Cl=C3=A9ment Le Goffic --- ...lpddr-channel.yaml =3D> jedec,sdram-channel.yaml} | 23 +++++++++++-----= ------ 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,lpddr-channel.yaml b/Documentation/devicetree/bindings/memory-controllers/= ddr/jedec,sdram-channel.yaml similarity index 83% rename from Documentation/devicetree/bindings/memory-controllers/ddr/jedec,= lpddr-channel.yaml rename to Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sd= ram-channel.yaml index 34b5bd153f63..9892da520fe4 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-= channel.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sdram-= channel.yaml @@ -1,16 +1,17 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr-chan= nel.yaml# +$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,sdram-chan= nel.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: LPDDR channel with chip/rank topology description +title: SDRAM channel with chip/rank topology description =20 description: - An LPDDR channel is a completely independent set of LPDDR pins (DQ, CA, = CS, - CK, etc.) that connect one or more LPDDR chips to a host system. The main - purpose of this node is to overall LPDDR topology of the system, includi= ng the - amount of individual LPDDR chips and the ranks per chip. + A memory channel of SDRAM memory like DDR SDRAM or LPDDR SDRAM is a comp= letely + independent set of pins (DQ, CA, CS, CK, etc.) that connect one or more = memory + chips to a host system. The main purpose of this node is to overall memo= ry + topology of the system, including the amount of individual memory chips = and + the ranks per chip. =20 maintainers: - Julius Werner @@ -26,14 +27,14 @@ properties: io-width: description: The number of DQ pins in the channel. If this number is different - from (a multiple of) the io-width of the LPDDR chip, that means that + from (a multiple of) the io-width of the SDRAM chip, that means that multiple instances of that type of chip are wired in parallel on this channel (with the channel's DQ pins split up between the different chips, and the CA, CS, etc. pins of the different chips all shorted together). This means that the total physical memory controlled by a channel is equal to the sum of the densities of each rank on the - connected LPDDR chip, times the io-width of the channel divided by - the io-width of the LPDDR chip. + connected SDRAM chip, times the io-width of the channel divided by + the io-width of the SDRAM chip. enum: - 8 - 16 @@ -51,8 +52,8 @@ patternProperties: "^rank@[0-9]+$": type: object description: - Each physical LPDDR chip may have one or more ranks. Ranks are - internal but fully independent sub-units of the chip. Each LPDDR bus + Each physical SDRAM chip may have one or more ranks. Ranks are + internal but fully independent sub-units of the chip. Each SDRAM bus transaction on the channel targets exactly one rank, based on the state of the CS pins. Different ranks may have different densities a= nd timing requirements. --=20 2.43.0 From nobody Thu Oct 2 04:51:49 2025 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 C23142F5A29 for ; Tue, 30 Sep 2025 08:46:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222019; cv=none; b=Xkm+QW2o9hQ4/Kx1SjZsxDmwATOR/NkTYrizYjnyXqqxVYFNetnFajmxHRaSUrK9dTyh6DdCCEzbx/7CApSN0RcMb+zDCytdMuYAdMQ8ffOG6riXC8R/Ga6MPExO3DSF3qllZKhY6VoC/A/mcc0QtZerB6KiZuv0WquS4I0kKcs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222019; c=relaxed/simple; bh=1ehExbLkMmNgsVXFhI/3vAuhpWWLmzmhuVgV7QDcaGQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nDPqVRfPhYRuzujQg54mVnGidOCjVS1HtGum3hicXIa7zwvVE1YJue7DAlzuA/1lu/SnjbfTAv5IptDedecyfdZX3XC0AyDUvmOghY3EVDWY56F6c3v7E1lrWxWPsHAsb17UfNnAx5TNIVhhHDoMYSm8vttt5i/gA7EI74inu9I= 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=dmQTL9pC; arc=none smtp.client-ip=209.85.128.50 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="dmQTL9pC" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-46e47cca387so36852395e9.3 for ; Tue, 30 Sep 2025 01:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759222016; x=1759826816; 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=bsYAjCVZTAgTbKUVHs9DAPmJO/mDOJAtaWrMK8+sbis=; b=dmQTL9pCbHHnJ6ezanJokkt4p7Xjuk8NPZvz3qU85ZVeRhNprRq59oi9izyIVMT2i8 Pfz74DSzjGhG4ngzmUVHM1/sGT8GL4pD8c7FgG4JxsYDg93oRfBivz4nMGKZ+Uw9SbCE 7ly2mRnhIqUIQgzn/2JcMavDOH3K1OCJLRTs+3UVOxkWnLfVybpWvZzDYwtIkFauO1OV 3U5n8TeA2+GeiTTWvWWrk5zHfzd/AS1BAcdZoS0YilTuHU1YgypND/axQ471gyyNsB6t v+hcHaaakEZDV4oUH1FunaFNhA2JW4Pmx4KAh7KvMzMuCF27vcDQ9nokh0ednfIlsHQk UoeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759222016; x=1759826816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bsYAjCVZTAgTbKUVHs9DAPmJO/mDOJAtaWrMK8+sbis=; b=Y4EuqHTUNDEfxaJ2CdnTmcdxC7gk1Vj4mdIMNDqmA3Yi+LRdeYiH0VkoYpr8o4CqD7 uXnW1T/Y7fkpOmJL+u8CT6IFwTCZ5IuqfS1rZ36L4R3jhjNxDiCnSPj8wsrcy+tZvXK8 AR1HZW7ssBXqnr3jNHYmZQdlRFDbFZxTjzokyL2VriaCqj0kEaYES3ali3VN+LY6tFDt zhRT8IlQyx9Y4sR+BOYlD42xKq7KZxfC0mTbp8Gb/Fe3Wr+WzpjqeweSjDASBh1D4flq 9l6Wi0Zg1aa5eti8eBAmwVlIcOK5zJmu0ArEcwp6NBadnuy1r4Bg3liVp7E8VPZ1Qpa8 OdiQ== X-Gm-Message-State: AOJu0YzAAc1KrSsbyJfRB3wPsWgYMD5I6htebr3f8Gw6zWd0dKPOfHS5 MpMfQvTPRtcg6b9A00s6dVlMfIUVvuPrHKSLSYje/3QX2lFK00IvwGqX X-Gm-Gg: ASbGncvGGALewU9CgC+xhhGyMG6+zIPqC9zFyui331bJ8S0lu5VgtZYPsfruJk45/6n ASATzEZNqyFgo5PoiIR7y0bfeWd1yluGZlt2Cfg6XMyPobpgnrUDj1oKd8USXXTSqqO+wRzHgrF sJi6yNuIqrA5WLW45OWdkZShdPJGoMnpELKfS0nJa0CN4CIxhUg9mMQH36+MtazhzImN28PB7so r/Ko+OZ1WmcIqt76Y2JZR8GOvdsN/TJLfmqWOyyFEmY/a8BIIZ7J/IwEy0+5bpWaWx2wFANYSAI b4rdH8a8xWgQhD92drjJoFXMvwDlC5fheUiCb01BTtyWkEGMx+WUsrubGrS9CUP5UzoY01s53v3 ttUxSE/hopJ5L4BNnxaCHBzZcSpERFpZU7VlEw8lOEsUcOC6Yh19XR16McWWQNgfx1E0y0y1Exb S6ofbRcleNfJpxcXdzGMq2ZCSR2LIu8mnqovBWSI/T4Dqc/AK7WhQ= X-Google-Smtp-Source: AGHT+IGVQJJHamU6NUy4goartpYaIkfUJZ0iBlzOkN6u19q5qmKKBnwS/nG0zfk91bdRAJZUfDhusw== X-Received: by 2002:a05:600c:1d16:b0:46d:5189:3583 with SMTP id 5b1f17b1804b1-46e3292fea3mr191174625e9.0.1759222016056; Tue, 30 Sep 2025 01:46:56 -0700 (PDT) Received: from localhost (2a02-8440-7149-a758-f461-9bc4-1c75-ebc1.rev.sfr.net. [2a02:8440:7149:a758:f461:9bc4:1c75:ebc1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e56f536a3sm54098975e9.8.2025.09.30.01.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Sep 2025 01:46:55 -0700 (PDT) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 30 Sep 2025 10:46:47 +0200 Subject: [PATCH v8 4/7] dt-binding: memory: add DDR4 channel compatible 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: <20250930-b4-ddr-bindings-v8-4-fe4d8c015a50@gmail.com> References: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> In-Reply-To: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Julius Werner , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-0dae4 From: Cl=C3=A9ment Le Goffic Add in the memory channel binding the DDR4 compatible to support DDR4 memory channel. Signed-off-by: Cl=C3=A9ment Le Goffic Reviewed-by: Rob Herring (Arm) Signed-off-by: Cl=C3=A9ment Le Goffic --- .../bindings/memory-controllers/ddr/jedec,sdram-channel.yaml | 10 ++++++= ++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,sdram-channel.yaml b/Documentation/devicetree/bindings/memory-controllers/= ddr/jedec,sdram-channel.yaml index 9892da520fe4..866af40b654d 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sdram-= channel.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sdram-= channel.yaml @@ -19,6 +19,7 @@ maintainers: properties: compatible: enum: + - jedec,ddr4-channel - jedec,lpddr2-channel - jedec,lpddr3-channel - jedec,lpddr4-channel @@ -61,6 +62,15 @@ patternProperties: - reg =20 allOf: + - if: + properties: + compatible: + contains: + const: jedec,ddr4-channel + then: + patternProperties: + "^rank@[0-9]+$": + $ref: /schemas/memory-controllers/ddr/jedec,ddr4.yaml# - if: properties: compatible: --=20 2.43.0 From nobody Thu Oct 2 04:51:49 2025 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 AAB402F6563 for ; Tue, 30 Sep 2025 08:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222021; cv=none; b=EswqJcT0vGpREccJPUX1+BhWpGOFmk0yUbR5PMTL+s2lsx3QYAilNoKEGI4P1OBTE5kMt1Qc+R1BDJg65J3GV3HLrLzxnwExLFDlBDEwjtfwLU6EVDEbn/jCVjU1Da8JzHmA8EjR/gr6I/+q3GlNyRTQD+0lY98eS6IEzTmUQNg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222021; c=relaxed/simple; bh=p6iwdyUUP5W8+77ExyG+J/4KTfuGbStSzXc5YQJ6uQg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kqnXfgzYQm80M91e0DJbd3nJUKi1gMvMJKjeFLDBsk9s7ixC88rPFRNwDpoMeEjEzqq5sdr/I2suJEYAR/usr/0OB6R72dIk77K+2dcX1xJGK0OU12HN4PzUe4HKyEiizRKWwEW7/dUuwgnyOQSzsbaZjSNi4bvw5FE4veLyeMM= 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=f9dh15bq; arc=none smtp.client-ip=209.85.128.51 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="f9dh15bq" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-46e42deffa8so47519685e9.0 for ; Tue, 30 Sep 2025 01:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759222018; x=1759826818; 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=Zz313f5+9XsH5+Eb3Bh9XStxpTdiNn9ua8EWNmWWJg0=; b=f9dh15bq/TIr5hGuMsYYaq8g8FVEROOC21yX3JNqal3LzK1rwDh/m4xC+zHmKmJbm0 PfaARLi9p7iKXAkSn8/2NMiDJ2xw5RO7nffl7xPmBa5Vu4PnziI2hYe6Cv6o8XWyVG8m SMzK9UQoAyYwMxTGMRRwvdhZxyrue7n6J58UTG+yJbJ8u7LAPpbBsxKSZjAxIvf08Qei EUC2zbiH36fyhRNsIXjdo+c+2MDtfkTqq454XJhaeKglm++iLmiqNih2tg7qpq8I+rTl OW19rTRMONTNKwL8f15flj2/KnyZM+vtWIiJZsMBPEZFSX5l0laJlj36sJ1ewZezkpR7 z5xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759222018; x=1759826818; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zz313f5+9XsH5+Eb3Bh9XStxpTdiNn9ua8EWNmWWJg0=; b=Z8jPpcuspgE2GU5gWKlMFNhLKYeqE/LKa/IONHNwOoZBmxqH2Ih+Swfp0xMd2Xq78s IVEeNrD0+SQJp3iCmcrjrXYEBZg0O/FrocHd3rH7nwXSqXoekBZQYOjx9KvJ2z3RqVeR LwEYvI1NlP/cmp9/n646ynxLePhRIUPqwe3nHF3RxtTNFUHXshPGagjl+4zROf7lG4Bx EU+QfUGwFtNjv42Ap4JaRUPhTOTHimSEE/Ykyszny5uoa2oDyPZ+QiKDRkshF+4rIhXj WJSrOfKyfcibXtkTFx5esAhvWFN0azyNbgbeOqCzypaPJ0A/k/Nqd2kJ69hwGBuaIZdy kUgw== X-Gm-Message-State: AOJu0YwUGqAosPhuZQdE1fFxqCFdCGFxFPrvwqQyYpslwZsEK/NHLosn qgszsDiciudD1dYIJ9pEEKGtuaK/h4Ek2ZjQZWLFcIuEZg9YGhZpZWrn X-Gm-Gg: ASbGncvFEPymgSE0zS4XwQlQeeM5MJ3TUzXZzg7m/Cm/DrKEoad3Ip8tXHe0ri10Dii uWy70zljUejYkf5pmM868GvmRAy9yhs6bFORuiSMlEsWA5u2T+uFrd/wZS/toGLEAqxdiFhaBGQ 5G1WF8S/jb3SILJtONzaVRA5djIlK3CN51SHZmd8UaOBTGBIVhmzOAyc85KbY+6qqyumxvOTcyy +Rt/9SQQhzPIbgNrgkY2HnYPYFMsQP4wGJjBqBIGNxO6YYHdrSz1sAzb1JyaYON+FlmenHKNDYc w2mYL/RcSk0pDul7JjatV2Qgz/1h+ftkbsPejkFp3rklx59OYeTHO6nzYi54ftCc4EekHSFXEkJ 1fmgl4n3cJw/+69N2x+kE0PsLy3aUWYNvDtFTPXTwA9zObJv4pA+PjBXscax+H3ikDX2dihWnxO MUlbvqiWrn6edWvhyst7RqHA0A96jD/nuetUt1bt7c X-Google-Smtp-Source: AGHT+IE5U4JjqYd6xwd8FJayS/jcOVFVp9zMugNYrK4b09ZbxPm2ncnyK5wWqHK+ARGFcMuJfSBjSw== X-Received: by 2002:a05:600c:1986:b0:45d:d8d6:7fcc with SMTP id 5b1f17b1804b1-46e32a057c2mr162105605e9.27.1759222017757; Tue, 30 Sep 2025 01:46:57 -0700 (PDT) Received: from localhost (2a02-8440-7149-a758-f461-9bc4-1c75-ebc1.rev.sfr.net. [2a02:8440:7149:a758:f461:9bc4:1c75:ebc1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e2ab31f1dsm258242245e9.13.2025.09.30.01.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Sep 2025 01:46:57 -0700 (PDT) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 30 Sep 2025 10:46:48 +0200 Subject: [PATCH v8 5/7] dt-bindings: memory: SDRAM channel: standardise node name 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: <20250930-b4-ddr-bindings-v8-5-fe4d8c015a50@gmail.com> References: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> In-Reply-To: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Julius Werner , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-0dae4 From: Cl=C3=A9ment Le Goffic Add a pattern for sdram channel node name. Signed-off-by: Cl=C3=A9ment Le Goffic Reviewed-by: Rob Herring (Arm) Signed-off-by: Cl=C3=A9ment Le Goffic --- .../bindings/memory-controllers/ddr/jedec,sdram-channel.yaml | 7 +++= ++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec= ,sdram-channel.yaml b/Documentation/devicetree/bindings/memory-controllers/= ddr/jedec,sdram-channel.yaml index 866af40b654d..5cdd8ef45100 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sdram-= channel.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,sdram-= channel.yaml @@ -17,6 +17,9 @@ maintainers: - Julius Werner =20 properties: + $nodename: + pattern: "sdram-channel-[0-9]+$" + compatible: enum: - jedec,ddr4-channel @@ -118,7 +121,7 @@ additionalProperties: false =20 examples: - | - lpddr-channel0 { + sdram-channel-0 { #address-cells =3D <1>; #size-cells =3D <0>; compatible =3D "jedec,lpddr3-channel"; @@ -133,7 +136,7 @@ examples: }; }; =20 - lpddr-channel1 { + sdram-channel-1 { #address-cells =3D <1>; #size-cells =3D <0>; compatible =3D "jedec,lpddr4-channel"; --=20 2.43.0 From nobody Thu Oct 2 04:51:49 2025 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 1AE132F745D for ; Tue, 30 Sep 2025 08:47:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222022; cv=none; b=B0nCjf1mdw52eu9HpYNuYQz7KGoZP3it7EpwZ/HFXuWveL6ODbEtaLstmJHtbTEElsbYE6fPLQViGBYXI8SQfEk5Qbq4VTGDKtSa2RnfDXDDZCMiJQL9KMe7piizsk5DHIHUSjcTtstVZpAoWHXE4VAi+nM/YWJ5pZR9uMe5L6o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222022; c=relaxed/simple; bh=1OJSwnVWIOwJ9ZLoYl+VQDzy0Ex+adY43gmbor4fP/w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AEOcujBS1ZHkt77xYW9tUGRpQEkmlcRxr/4G9eC5AuK1RGokrCahK5GG9vciqfEv1Pi7TuKP4nmlYOz0bfyFIQ02qIsdujNuu/Gkn5KmJ/7V6OzYs2xQHHSv0scePdBLIwalgTXbSuuSYlFHWutGbX0fC+xdVKQNFgC+ONrJnP0= 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=MCfI3pxz; arc=none smtp.client-ip=209.85.128.47 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="MCfI3pxz" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-46b303f7469so38702595e9.1 for ; Tue, 30 Sep 2025 01:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759222019; x=1759826819; 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=lkTVKKAKgDTt3rd0xPFa8W7IH6WaF3o91NFw0CHdy6w=; b=MCfI3pxzYEH3eY9ZSthqZjIfb1ci4bivOYw0iO+e8AmVRDzvB0t4frXslikHyRl1Un AXpUyxJmUGhBDo97QzVQc8BZFcjWAVyy4/se3QxvC4z66pEIvTp/eOg26YALdrFf3j3J wTzzaxG7vY3jpsSCwZzhBgQQW8TmLknEYWyTaddKSZvEw8mPr/gDjdHHRsSdveWrjskM OwpeLBrtB76ysXy0rniDB0v5h2dbA4fz5xsFCci531oNEDCri34zOLe0KMSynDdC6kni PlrgwV4z476IexAOvSxaidqt6oRecNVfTsCD6o+xFBnDy+gzJmtc+8dyPgR1iVZhSeNB F9eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759222019; x=1759826819; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lkTVKKAKgDTt3rd0xPFa8W7IH6WaF3o91NFw0CHdy6w=; b=kyn5jVX3GIp+nJgNRztud0c5OzFx3aVEpWqzfnWsKI0ozf0Rtg+h6BGxOpUhDVhLNk NlWWsC+8xcwCJ63NhhvnJ0sMeTTRZMzgiPAI4CTwiEo2g5ePv6AAWIZ3TcxBy5b4yRaa km3lcQhZBl+IjI5W0s4vvfjR1LE8cb6eXCuMaRu9phOExhyfJuDS0Nev5h2y0GU8+KxN cg5WhgYJFepatxfQLFJvX74GzFY48vacNxxT+cRAp31ittl0zjP7LnMnvshGglBLpB/Q Uwxfvu37j/YCU+eO7tF66TiwtRXNBRfNupfRxG0aYNTsQwd0jMmSYQEUhlE3PzOpSmIn Dq+g== X-Gm-Message-State: AOJu0YyG7PUFWnMPrP+iKhe3WZbphREvEVYqolLSK4jNz9FerVyCZNjN osxLionF0D306tMKAZRIlTR/bPeG7roRMIRrfYJjn31IS3UhTN0ixYqI X-Gm-Gg: ASbGncsPX/uso8XNKhmzYlysrp19i4qgI83C4PDOwI23sTpyfDGV3FaIasSss+nt2+1 vJETZk3kefJFPJXqB9u5tDrefp3erOav37bTXt9nfNb5dWJQUIN1BvCBdxZUX0FH9n3/5OKM52P Np6CHkJyNot0HGz8x3ruyFHdD2FMRQLy01cBLmz62MMNiYtJ9gLwLysQiyOkDVIR2BlpGfwf0/V ft1ZMjEjpykTWJ03WYToSAIlV9BYI20x0mm7aw0aTr3JurvVDfQ9fnk22Ed+yADeAq7oHPDlC/6 UWqvQJc7cuW08esyeFZMtVUm4ueIvC7k6YQURMkfsESyWIsswE1nL9H4nnm5RYtvifIAFNGGWiT MVWPiEaG/6KJUuWC7iDEwNMCe/HcU7VFJYLkW6LiiwL7JaxiiBLJqQmxMuXuLblrp5HyoDeLQbs uDym2XOXR8UquIacWDVPCLbGYZr4cA/AyhjLuiEr6L X-Google-Smtp-Source: AGHT+IF8wHDDTceWxUz+RFjOgHkPZcIHe9m5mYQi6GvRX5Bpn1/rX4YugXhmgUIs5mTCb6j8tM/B3A== X-Received: by 2002:a05:600c:3f12:b0:46e:42cb:d93f with SMTP id 5b1f17b1804b1-46e42cbdbacmr127109955e9.15.1759222019299; Tue, 30 Sep 2025 01:46:59 -0700 (PDT) Received: from localhost (2a02-8440-7149-a758-f461-9bc4-1c75-ebc1.rev.sfr.net. [2a02:8440:7149:a758:f461:9bc4:1c75:ebc1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e572683ccsm48034325e9.22.2025.09.30.01.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Sep 2025 01:46:58 -0700 (PDT) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 30 Sep 2025 10:46:49 +0200 Subject: [PATCH v8 6/7] arm64: dts: st: add LPDDR channel to stm32mp257f-dk board 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: <20250930-b4-ddr-bindings-v8-6-fe4d8c015a50@gmail.com> References: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> In-Reply-To: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Julius Werner , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-0dae4 From: Cl=C3=A9ment Le Goffic Add 32bits LPDDR4 channel to the stm32mp257f-dk board. Signed-off-by: Cl=C3=A9ment Le Goffic Signed-off-by: Cl=C3=A9ment Le Goffic --- arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dt= s/st/stm32mp257f-dk.dts index a278a1e3ce03..45ffa358c800 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts @@ -54,6 +54,13 @@ led-blue { }; }; =20 + lpddr_channel: sdram-channel-0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + compatible =3D "jedec,lpddr4-channel"; + io-width =3D <32>; + }; + memory@80000000 { device_type =3D "memory"; reg =3D <0x0 0x80000000 0x1 0x0>; --=20 2.43.0 From nobody Thu Oct 2 04:51:49 2025 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 7AF422F7ABC for ; Tue, 30 Sep 2025 08:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222024; cv=none; b=FbxeAArJsGUIJaScSF5A38LH3gf3saBflyB+uC+7v1UXpGMniuGiXHYNZgpk2TgbD5LlQKyN6I0bKw2OM79EXBOLz1tFxH4zvQkebbaxldAshoE3Yh2F6KyTvfYsFaYMQVgzbnO8+YqbGt3vQxHp3RA4YWhC2/n+5R1mejO66aY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759222024; c=relaxed/simple; bh=JE5vzNG6Sy2HEFoz+DBwUg/nv8rP+wKI7N6BxDeuvto=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rsEMvXraHiibov5aTg+iFnDeTN5msYUrDQ3Mb+rKDebRpnEL0wvQAgv2CAQxxqqGx/NN8wW9H3On0swvMfLCDIeQtKZePXc0nwZKcAqZhgU6bQOI4F9IVQMSVqLquJmTK42sDvsvL1Rtut1c4FMSNmj9ZNU2BEDavSnN/eOxIa0= 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=OBAmdwuu; arc=none smtp.client-ip=209.85.221.51 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="OBAmdwuu" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3e8ef75b146so3875897f8f.0 for ; Tue, 30 Sep 2025 01:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759222021; x=1759826821; 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=HQSp6khD66PWakk86QjUyhjTSipaHZaw5SNW0wYKmlw=; b=OBAmdwuueYmyBTRRG0U2mpZPkWRuEtqLS6p43sBi8sZEx1TdIpEbpllzKMmBhMOIeQ BiY3fYAjQa00aslOQN6Q164/9g3WC79Dx5axj9RU7Cd/hDWtDUnuPa93C7tcEnRilLNP c85AcXeGByCdyZATxwWkaVp9MaypIC7IQiK0VLmHviinA9k4/SI87uM+l8HZbNyAo6WB 9g6Zk1DPsVJMeR5kz7DgpCNUBSKTlLHjRWvsHCojktrA8+xlIZ51K0DnEJ10jWz2qNeD 4pKdEwjMUzvNByYJ2p7CIjqrxGhRv5euJUt6H8CEWVBHkGlLDlaQoKZ8rusY8uI/xLKk BGQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759222021; x=1759826821; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HQSp6khD66PWakk86QjUyhjTSipaHZaw5SNW0wYKmlw=; b=sIw87X4hMIHFNYa/0pLbTtG9IqlRLhl8BtvYALtsmWnW6PcujkbgDK5TnLKoDF+/9Z kfMX8WFKHxPeh1k4wsG7M8xF9SuN3rQVW+ZCTALfozGoqG/KKrJW64mLIXT6bljrBtvM 0k0G2uEzxvIQSEc9UiKCsKYCfSvVL4Wk5J0S0WQ2uNx99RcFBnZPnnFzvO/w925NF6nO KRl70lMaGjTzzbib6cNFHIyQk+x1UieC033GscGvrkHGhEPbGyucdg4xphuZXvINmw1o 9MPvqVp0rMJw6mTpBuw5QgzsE8Xw4YxEAuFc5KXMVPBrimciLPw08OuCyqPIvv5v/uj8 o+IQ== X-Gm-Message-State: AOJu0YxBl+Z3xJIE9fpr7c5bqpZRBCbytMrWjPR8u7KjYbfHz2JS4jHD lTneEdvsl+jxF89yaoTYpKydboCJ1CPebKXs44VoXK7XxhZejs2b6UvA X-Gm-Gg: ASbGncskZc4dGm4mXtKt91DRSNXHoGVSBSk+jhYaX+p50+b/ru46XrEJBijTwrtkUAu SMllj7DzQVp/ZB6TQaGD8H4UYEVWUQEK4+AN02wFYp/C8n0ZJDCxFrIE34I4jqXLq6MWzV8fN5p x6SMQvFgszA1l0Ie6icOXJfCmItvOZ79VS6WFfA/3P1R0KVmGkqzN9iQ6zy43n+O1vggIBwWXCQ e/5WwYdgssg89UMas0YUwqWPcKykD6K8gObIFtg6DOE0Si92NFCRcEvVVRXkw4ZItpQiwqAWHwQ OG15hIPJHWhaVh8i/Aiumy+QSzUVFoA5vemAUTG3/s1bVJJL35RjuMFA5Syh5yEKpJysuK7vnwt gnkLBWIc/O4QvKqZKuwXUMUp0qeoNRVL/7LGfHB1dFaZ1lrSvKT1PU/KkJ9uMHswTbeyuxKIdfT zwHzpUzhu140i9U1klKfyI+VY2O8kDs9/KTgwhRn26 X-Google-Smtp-Source: AGHT+IELjz8q9Wh4r7dTEajOLlhaehyVXuIINojrCEIqJ4/pZdMgPhXlF8x51ihCR4TA5ozMBPdmQw== X-Received: by 2002:a5d:5f85:0:b0:3f9:1571:fdea with SMTP id ffacd0b85a97d-40e4cc630b2mr20809863f8f.44.1759222020801; Tue, 30 Sep 2025 01:47:00 -0700 (PDT) Received: from localhost (2a02-8440-7149-a758-f461-9bc4-1c75-ebc1.rev.sfr.net. [2a02:8440:7149:a758:f461:9bc4:1c75:ebc1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e2a996e2fsm282983795e9.2.2025.09.30.01.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Sep 2025 01:47:00 -0700 (PDT) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 30 Sep 2025 10:46:50 +0200 Subject: [PATCH v8 7/7] arm64: dts: st: add DDR channel to stm32mp257f-ev1 board 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: <20250930-b4-ddr-bindings-v8-7-fe4d8c015a50@gmail.com> References: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> In-Reply-To: <20250930-b4-ddr-bindings-v8-0-fe4d8c015a50@gmail.com> To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Julius Werner , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-0dae4 From: Cl=C3=A9ment Le Goffic Add 32bits DDR4 channel to the stm32mp257f-dk board. Signed-off-by: Cl=C3=A9ment Le Goffic Signed-off-by: Cl=C3=A9ment Le Goffic --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/d= ts/st/stm32mp257f-ev1.dts index 836b1958ce65..c4223f06396a 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts @@ -41,6 +41,13 @@ pad_clk: pad-clk { }; }; =20 + ddr_channel: sdram-channel-0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + compatible =3D "jedec,ddr4-channel"; + io-width =3D <32>; + }; + imx335_2v9: regulator-2v9 { compatible =3D "regulator-fixed"; regulator-name =3D "imx335-avdd"; --=20 2.43.0