From nobody Tue Dec 2 02:42:44 2025 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 03054363C46 for ; Tue, 18 Nov 2025 15:08:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478541; cv=none; b=bb7xcP4pGvdw8SaIFQ8d7k9iBJQXKcx7GdvITvIJ8tLZ3HVF/yx6Muvsbmc+I4bzTjA5WXfaeLf37cOLBlA6xLOYMmD3JGXDF0ghuD5nL1dzlWIn8qQ+s69ml+O5xnFMNkQIPEZBFIqd5EZxp7uVZVcYLBbkoQtsgUjw8Vl6IAY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478541; c=relaxed/simple; bh=b9s039R3AyfTKrLW4QJkKiEj3I6mgg+anQzaMjLPC7s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pJtEENctIw5yCa0PZtrGdMk2fSDIGhl4LuDJ+PsCV0dBbCBgfd/xyT18MknBCZA7HaFC4ET5eLROwbofvI3Ln/H25c/OWaDJsLxKWJXu7I8NdPYXAtdZ4hX7+gPhLD3/i8CD2D6oeJBIav0Z7wBsSqpwzUdQ/YjIzll53nsxsj0= 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=Sv9ZFkD1; arc=none smtp.client-ip=209.85.128.43 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="Sv9ZFkD1" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-47775fb6cb4so40391735e9.0 for ; Tue, 18 Nov 2025 07:08:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763478537; x=1764083337; 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=HinfaPqd1yRAzxd+xjJYcXYd+xWyrMsS3t+eI3gtPdU=; b=Sv9ZFkD1PB5umszGHUg2g3ho+YsOAKfbC+B3lNWoO+6BWbWi+MsMzvqNRFbmdAzafV 9e/qLtZC0xVGFi8R3z9ZJA8hEuDRiqsPYQcCWqlLR+jHy+otXY5Sesq1MjV/QpYrC5L3 dr6HB71wMVpsklWtw3LBUAgX+qyGhVoe696aKTi7D8pPeI4nR9O31DwJ7hxmQE/27NTJ c64gbdfke4rpgfjamaRk0miLe1+pwlWCnjiphxBnjUoOBLKpVJiHVGtOfIPlCipjfyXs 9nkBz9Ru6ow8l569aiIHBR/Zx2KAZw50T7s6U7BoL4CPHg6cj3/aMUmDe5F52FdQ8hG4 4PjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763478537; x=1764083337; 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=HinfaPqd1yRAzxd+xjJYcXYd+xWyrMsS3t+eI3gtPdU=; b=F8n30p7qcnzNTQGV+xQryQCOXc8Xtv8R/sutuu+1dhOSQDI+7GH/fG5oC8+bUUDmnU kvBa7J9/MPV7NdiUjnLH9kBABjQgqjwPZkuQZaOstK0UPM+m5qrJXkWLoPhaK36xQRFK nI/oh5wPbo5vGmr7MwgPAApeowj3q1xEOsufncE3u5NLq0tgs8lzINvoUgfgFEEQheJq +sLNdn6pbkLplu/HBuloY2a7559JYbwynoQr+hkKiHOmUw72R00H48N0GAGBqftLILQo NfTr/LxndDnz5GwZ7KNcLSgglgFnOCozy6nCBx/wcgVa/a6q8/NF4DioSXw+MuMlwveL KwyA== X-Gm-Message-State: AOJu0YyD5ftLZPkcfdzflxB+PmoozpBGxdaWbV86qfYZFB3L0CTaMAGl tsRguTEk0raE9i9n9Fyq/rOqw478Q/yCBh9II+FzR7eY4S4OjuOrbdh7 X-Gm-Gg: ASbGncvqVZB44tFzXsy9w/+khyfOw3mCznvOTgLOD3y9eiAjAcjouR1RKUlamZWw4Gb TCqbOYpUB9oExQDEqAD4boaUO2Xjv7DlR/JvKNfTIg8aiDByx1zRnaD49YdHDciLjz4PJ0JLcTY XX03Zwv+y4AuQvI7TLTp3oQhLLselUaU/dQ1QDx6P47cA2E41ZbBU/1SCVjiSld8ZvB0vetrVeR HGtMV8Wl1nkLzO316BajPjVNQ+7/46VIASGVAKdvGtxm9yxCCI82CHa1GbWEwYWttdyXTXZMNTX OFEKF2g3jl62o6SY08sNUkwwzJCCwb3VmPSWBprHdpgGUcbI8ugkj/2TNbMRTHkIjJk+0qM3y1/ 79I8IVLm8KtZPPi8yQEgRsWl5F7qU94Xh7fYBs4YtmZr/nf55LrjUu6BaHkww8bIVI59iScPrci COF4Ln8dFa0j/Z4Bd5RhozxTS0yZLlNyDUdOELsvpzF2xWZ0WrMEvzlVW9ApJOB5CUgtFbNroPv hRy/ATyA3eF7vHE X-Google-Smtp-Source: AGHT+IHv1whfW/Gt4BR/61l0viGTeaPUBKraWX/Mr+1w9f4M9OK/6wicCkkZeRbs80bygRAnGOgpxw== X-Received: by 2002:a05:600c:c4ab:b0:477:8b2e:aa7d with SMTP id 5b1f17b1804b1-4778feaf8e6mr180161735e9.30.1763478536873; Tue, 18 Nov 2025 07:08:56 -0800 (PST) Received: from localhost (2a02-842a-9b20-0d01-432b-0dab-f195-2b25.rev.sfr.net. [2a02:842a:9b20:d01:432b:dab:f195:2b25]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47787e36ca3sm397339915e9.5.2025.11.18.07.08.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Nov 2025 07:08:56 -0800 (PST) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 18 Nov 2025 16:07:57 +0100 Subject: [PATCH v9 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: <20251118-b4-ddr-bindings-v9-1-a033ac5144da@gmail.com> References: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@gmail.com> In-Reply-To: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@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?= , Krzysztof Kozlowski X-Mailer: b4 0.15-dev-86b30 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 Reviewed-by: Krzysztof Kozlowski 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..fedd66eeb9d5 --- /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 Tue Dec 2 02:42:44 2025 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 0CEE2363C5E for ; Tue, 18 Nov 2025 15:08:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478543; cv=none; b=aGlGs+BdLRIlaYS4SaZUvgrCPcMO9z5xL30K/NjN6KtunvVeQr9232QWSTFxTBq4yw7dTQNi3FMvEovNtTevPAfqMzgKfEIU9kNTklsAVFg4x5LSvS3EG2gYZK2x4c6f0WtOEw+kRrMNhGPPxHyHW6+JndMH9dV6owSacrHomls= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478543; c=relaxed/simple; bh=BuavbZl2CuLyT2bJBQ2qGaxBmPAelG/doGphhiOsros=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=azJu6spep3zUe3OuRPi/h5GTHUADOUps/HLFF8/XzcnlNFdknAurNzamC4FZWQC0UTzzJvM3t/XdcFjaZDf1k2paWusO2MH9uf2iwICZEYPlms8NL4VLHxjz0h0dThD6ynaoaORjFmv0x40sAInU+QJR0l7SczsVgqHpOLkDZ6s= 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=HWxUDgFR; arc=none smtp.client-ip=209.85.221.41 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="HWxUDgFR" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-42b3b29153fso3085235f8f.3 for ; Tue, 18 Nov 2025 07:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763478538; x=1764083338; 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=vXSFON/1VQrHCM+f9FmS2ChuuEZCr9AFJjq4nQ/j5F0=; b=HWxUDgFRppSxB6QLY4moUKGg5aCIMLNUh/MNrXwRyJW+0ewOUuoA4Wls/BnclQs+YG TSKOzFPZ8eTw/fCrbYsBYsqICtaNKuBXyEM7rO1tfJcoQ1xNri0jHrVInpOtzuPb33zo 6gprizqZ0aKre+xsMzlQ/3Ks6cQ1+IKPWm2qYgRdU2k0tYghKeN87oA5zp0YTy8VwpD1 AnfQewMUKF4tJUZct9pFq/6oi7FtkaQQbHVwLY0aVvvQ/V82AKx99axB1OkiH4f1Sm8g 24Dr9Snva0j8b9xlDnOXTghK6oGzLorXlXkX9zxNBoDt8nK9QCySsuf1zLyzLTRcGTZd jDOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763478538; x=1764083338; 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=vXSFON/1VQrHCM+f9FmS2ChuuEZCr9AFJjq4nQ/j5F0=; b=F1tbl2vWC+qK5hdqgd2VheceUAZde383kN/pI8hcPJvxDzZdyrZvMdEdEJTxsEqVmj i6CUEQXwdjVQ9PZCjOWwsEyPc2w7l4VxcgBKi/6hh8zRXIeSV2CnvhfFnp9lGvkC6SQ3 6hj8dmhnPu9Mh+o5+7dP/iR19sLtKtzQM9irbK4zIbbhOXCr8y8M/8KEPBNkon7Jtf1s VBFaSxqXJxtWNyHfzUEWdnk9MORmfjN7k7tAsAVx09Z9PmC26vngEnLLdvf8CoXt2aj1 LmK7u6sFDXN5uLRP7Lf4Lmij5+mFiN8FYJG0qL1PimdBIS9R75kaD+E2qX52CIfOve+0 qSpQ== X-Gm-Message-State: AOJu0YxB9oecowxxPg5/GQFhx8ma+JZ/GONE0zag/KHzOMTb+0JCjWf1 XPPuPQNZQ/egpoXDvbEZLkZ/xvzzbIaPQiGsEQbpo/iUraJVSE0APPaT X-Gm-Gg: ASbGncsDD5t7b5LG/4zjjM5/GEeerlXk8KxijJs4wcL6yhjYYnOp63pTWdUHU2Ubme2 njZhiTw/VUXpKUWSY8J5g4zWwr98orgmTbk3z+cNP13KfL2uqWqTrOl4N95mtnPRRUyRZTne0hX 3+HpY1PgUWo5zk1fq+rzce4nUK1LlC2adVigt80uots8XO1mLUAJtvEgxUm3o0bAuDbztP1iRnP O3c33Fwxx23whvrhgxu5E5nysSnRhsgEVWsvcgc0s0Cs6g+6m1zHxM1EYmVuua4OHQsZK86V3A4 YnQoP5If516NKEA0N+akhLFON9LGBjywbBIKRbfT/KoQsbNNTz2qSklvxenhjEfiHFar0hYMpgA oKpqz4jf8w8UvJBlQTkC/h552Zwp1RqFZwE2A75z4xP3d2bAxn126tiLa+TyOt9NoPFkb50WA1F QkcE3kDW1sMv2FqJUUICyB4UKZv1DuGdjHgOHvIn8PNyrNo18tLOe8xhFxi2NRpfBju10= X-Google-Smtp-Source: AGHT+IEUJJGCTrmMLvsniUV7hiBdNMRfXZvya+c/u+hMC4mF96bJTPI256APV6+JR6pYbekvFc8AOA== X-Received: by 2002:a05:6000:2f83:b0:42b:3ee9:4772 with SMTP id ffacd0b85a97d-42b5937618emr15137124f8f.52.1763478538022; Tue, 18 Nov 2025 07:08:58 -0800 (PST) Received: from localhost (2a02-842a-9b20-0d01-432b-0dab-f195-2b25.rev.sfr.net. [2a02:842a:9b20:d01:432b:dab:f195:2b25]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53f0b894sm33875087f8f.26.2025.11.18.07.08.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Nov 2025 07:08:57 -0800 (PST) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 18 Nov 2025 16:07:58 +0100 Subject: [PATCH v9 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: <20251118-b4-ddr-bindings-v9-2-a033ac5144da@gmail.com> References: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@gmail.com> In-Reply-To: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@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-86b30 From: Cl=C3=A9ment Le Goffic Introduce JEDEC compliant DDR bindings, that use new memory-props binding. The DDR4 compatible can be made of explicit vendor names and part numbers or be of the form "ddrX-YYYY,AAAA...-ZZ" when associated with an SPD, where (according to JEDEC SPD4.1.2.L-6): - YYYY is the manufacturer ID - AAAA... is the part number - ZZ is the revision ID 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 firmware that doesn't have access to static part number information. Signed-off-by: Cl=C3=A9ment Le Goffic Signed-off-by: Cl=C3=A9ment Le Goffic Reviewed-by: Rob Herring (Arm) --- .../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..928961c74026 --- /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 Tue Dec 2 02:42:44 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 733B2357719 for ; Tue, 18 Nov 2025 15:09:01 +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=1763478544; cv=none; b=i1iy+0bx5rqZgQfqOvTU9NIdCDV9kMEnCER3l7s6jLFxzBshj0yaalygtd/AraF2UPC6sz/hjDX19OfgiQnjrKbaEPGxqtIpWFSlxFv0OM8HILfVTmymXO1uKGLafWoR4ravbV1slBK5GZBf3rTLtlLUkRNCf6ZaGdnFHfmQxTM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478544; c=relaxed/simple; bh=1Mdzq/652LBGyytQuIr/+WYxsQX1eeyePN4MTPuKWTU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=a6ESMLwlLQ9MlH4msD5FQiPIolijg1ziYSupWLRTpvGPB7QLBgICJ78nqUg6Fgh50pZDglJH0oAJkb9uC1WynqF7NEm2MjkvddqVR/+UdymdeTNz+zOsPYDLFk8awhT7nSlTTtQA3EdY7dm1HPumlr7lj5eBQCz4dvku33PnhXE= 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=COAeTMCo; 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="COAeTMCo" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-47118259fd8so42298975e9.3 for ; Tue, 18 Nov 2025 07:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763478540; x=1764083340; 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=COAeTMCo0QQg4+HYlSgGaurHcZQD+KsDieQNiJFQsPwvi8oqSCFV8JFYLK14lHkzWS qwDaBTN0Rdes7+I7CUnM2WT1y7lUQJgT6NEUV7DdgNAVMUhsaZuNL9U8kMFfaD0K2elJ i3M4ekEBYpY9pCqDccnZVyGGQXCsm45mP2kl/1SQHP3xY4eFhUGCQlYsKyM/2wu2c3VW EEutLvnMExzFYCXoTDiObvHFwXlxejk9X3FbwdI7Ue/5gXX11u0n1QxtZ08Alr4euCl0 MWbCDaVM8opsCIwwfXzhZpf0dOKb8S1Yzpxq1GAbW13K/jcSHckOescGOrMOQgkgVCVb WUFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763478540; x=1764083340; 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=PFM4fgZANGXRwrvQV4wSC81b8D8h+yUyMHAkucbMQWo=; b=a36Zv0u0nGU+j7kH6qMBFQpaJrVJlYx8/aY3ug15tnYV0ZwfHx8Hlg13YG5xM5/W3P qTdHVvINPKDz55b5cAQEPSpAlROP7TxTEsbsWDuf+LsaZ7lYwF1MwckLgt2o83G3VJIV veR0vuGFZTrabw34jbXl/xrhcpOJe+aPGcfxdIkX6lqnzYFI5TVSBQLtP01UM6Mjagd5 EklEpXT3qPGkuvcPCZykN9EbbAbZsH7LLQbD4t7RaFpON+XG0ZtVDvv22/bhk+RLu/YD R5vFK8x/KWdFQIjR2WW1plTwaL0eI0pRd8fWBszBC0Bvk9dGAJW3wKtNcL0hx1nu47m5 CvTw== X-Gm-Message-State: AOJu0Ywkvf7edYYrfdvzLr/4pckUWLNFrHlkF9E2gzbNE4BluH45JKAJ RGNw+NTz5sRjv6bTyaHDrJMeyYLvqy7GtyCANBNKq1Jr3uI6Vopb9AQl X-Gm-Gg: ASbGnctZOkUodHYwp0zQYKheMuCQfGNCOQG0BVDiZ5kLECTWVVrgE4VScDTwvfnM8By UZVdlyHGxBQh00oYLO9loqwj6kMEEWjhhQAiOmubVg0JL2gArzR/Bd2Rn+awha71jek4vuXJhV+ vx/Zt4lPyNeasMx1DxQ+jvt4//iI94OaF3TFXBEc75SZr5BdInbin6fJxPYuUrbHH6GCiRzKUDY 1YiguYjGAw/zcYrzAjdtbNgcjs7/1d7K1ghhykVknz0W106DwWgty36PwN6jD+Nm3PAyXpm0IjX GpJirNCLrj58PZXU+FrUFEXGmTER99R1LVyxPvb2B3pmj9Dyfnmg15tytt4JsIG7afrRB5e/xU0 lEJqij7sYfxX6IHycyhfoNBLplWCVMKUZkEhHeljntXD+H7/9nR1dBC6CZ/yHyA4czTfJvcQ37J NQtuLxlh01N1jtzmhuMVIqt1kScYtAhCKCxC4w/oxX3ocbD713AOu85LuKH+KnrfSUajYSWuLAt kkUkBPqOhLrSKR7 X-Google-Smtp-Source: AGHT+IFLl4dTul/hQUjz6znuPzdhl9FsYr/3lANR6xEisIy2fBHrkJclICxFWj3/Vuc18YtPkkQIbw== X-Received: by 2002:a05:600c:8b4c:b0:477:7925:f7fb with SMTP id 5b1f17b1804b1-4778fe67aeamr162299715e9.10.1763478539426; Tue, 18 Nov 2025 07:08:59 -0800 (PST) Received: from localhost (2a02-842a-9b20-0d01-432b-0dab-f195-2b25.rev.sfr.net. [2a02:842a:9b20:d01:432b:dab:f195:2b25]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47787e442c2sm382320455e9.7.2025.11.18.07.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Nov 2025 07:08:59 -0800 (PST) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 18 Nov 2025 16:07:59 +0100 Subject: [PATCH v9 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: <20251118-b4-ddr-bindings-v9-3-a033ac5144da@gmail.com> References: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@gmail.com> In-Reply-To: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@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-86b30 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 Tue Dec 2 02:42:44 2025 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 74E02364EA0 for ; Tue, 18 Nov 2025 15:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478544; cv=none; b=MRScp91IhOss3fJV34nyiYG/l2FCdqT5O9AOqN62l7orOsztQV8qpPK05KH79MsLo3z1FOjXyIITNh5YrId81/qSVg8l0UiMBDgrCBtBtfiE16RGT67kr5xHMOoqoV5vJTPzLK9u3TZXIhI+OIzY6CdYgCVNwMh4lVcW9AXqRNE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478544; c=relaxed/simple; bh=1ehExbLkMmNgsVXFhI/3vAuhpWWLmzmhuVgV7QDcaGQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Trp5FHv6sLaobvDZoElyPuXatJ4+YqElov2/8vUay/8XO4VeKvIVuKLqhaO+nmAaVhwNKgj/4PnY8E4bHgjYnspx/WucMGxk6b+g6InqJNK1+1uF7y1TSDBgteP0edFFvCq+CuGJnlsYpDyxEHI3Pj+CuJjqcPpJnzlaegJCiTc= 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=Tn3tOXj3; arc=none smtp.client-ip=209.85.221.54 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="Tn3tOXj3" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-42b3108f41fso3469773f8f.3 for ; Tue, 18 Nov 2025 07:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763478541; x=1764083341; 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=Tn3tOXj3n1wKPSz/QuesbZCY8Maf7QFZ+rwoCzxIvg4DdKkIopg4DPBpOmxtJtQSsx X7mqTgzQXIbAJlU/UXrPli/qNGypG622FZ/meZZJqGo7P6+Uz4hX2tqrFtXVq497HA4w 3dB9rQ1Lsn2DU7JVHtq7sJGeZoEM0Qcxe7UgXNFQP7v+lDeY6j9PrHiCjH902bAYvhru Kh+U/cQ9I30211qBbdKGbOPSbaJ0ekvv/VQGKeqz2ohrqZ2lW+oFU2HresMEJ4VlYGWC znmk+WRJKRwwjCbE3s531uahIS61+KeqI5ikKYJNykPViBMqiUmuMY14QkNJ9qJJdwOf 0VaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763478541; x=1764083341; 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=bsYAjCVZTAgTbKUVHs9DAPmJO/mDOJAtaWrMK8+sbis=; b=dvc7xOvkpz76gPi7fPVETme5hMwdOCoW2JTk7BBJFDpGo3I55+vZIlgblML/u1vo+6 FrYZroz6yLNHoNV5ZI8JNOBsFv17w/vtDC2NoxwWb81lj4U7N15gfS13Dq6uDV0uzxgE nnHnxDovuS4fIzkh7iOOL4NYQCJ508shbGUbrdnIaOU2SKfx1g/QwMAsfn+lyMXnI5Jq dKULpLcYPXnXivhdStat99LRiwk+UT39bp+iYq7F58zRdg2uuQToRdMITNQgNbJITkmx cVGkLNCJRjSkS3GTWTos01vDC3HKDej2LZm3FrxUiYw7w9jtNF9R3M8gBp13Rsz5JgDc 2EcQ== X-Gm-Message-State: AOJu0Yyc9JPSZ09FK9xvPPhSxgkwhxvHYil3jprYTYeGaV/gWTHqsewy BnXj7QXuQgAAI3GyePWmGDYqPcsdL4mHfxTKw8lVP73zw8F/UM9PVDwP X-Gm-Gg: ASbGnctub+/E5osxX5ePmsMMimtUHrPaDb6koIYKoCHhWZ+Q5EvcaAxLit7IYDdBwgl /okdEP48uZr8/AwcI0Er6lfrvFmx9ZTXCsiWU0GZoHlKge4oZgrQFsQLwUZHb/7ZolQler1tMtw NzzU7t12vrLU8kBR9ROQEe/S2Y2opuEoU5qdyLOP5RnkHj+GR1j46e+HGHAAUjFyBsjtG/9G1Eb TnmGLCjVqAOU7HE2QIg0K2LEjEaZ5nUVi3TFzzgwy0YeUXXJb8yDdrEQc/Fk3U8kGKPKLIY1/dK VJTI+/MDwS2Zb1ZeqBcGTvjRHR8Xof3OKMeevArPaQrADUyU1CwvyBIw8iIuXQ0eMhTl1Fo8w6R Nz63daQ4n2EDxTMgX9yp/t1DAbP1Zr1OTlXC/ehN1QsPNgY2WZVbykL8pBK+mEm1vZyBEHQDLDW 1E7ln8x4UA4gsvVFnO5xSVVceSSTWMh4dCChObFZ9kcejDI+6aLluGLqdpQsbTvy9vHmg= X-Google-Smtp-Source: AGHT+IEav3zLRv8xfizJMoA6AzANIil30gdXqV2ruo4JHsyCzceH+zoUGEb+0IQGqWiBDCnkBR0TuA== X-Received: by 2002:a05:6000:2083:b0:42b:3867:b39c with SMTP id ffacd0b85a97d-42b593745c4mr15995888f8f.34.1763478540535; Tue, 18 Nov 2025 07:09:00 -0800 (PST) Received: from localhost (2a02-842a-9b20-0d01-432b-0dab-f195-2b25.rev.sfr.net. [2a02:842a:9b20:d01:432b:dab:f195:2b25]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53f174afsm31825235f8f.33.2025.11.18.07.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Nov 2025 07:09:00 -0800 (PST) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 18 Nov 2025 16:08:00 +0100 Subject: [PATCH v9 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: <20251118-b4-ddr-bindings-v9-4-a033ac5144da@gmail.com> References: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@gmail.com> In-Reply-To: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@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-86b30 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 Tue Dec 2 02:42:44 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 055643659E7 for ; Tue, 18 Nov 2025 15:09:03 +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=1763478546; cv=none; b=U2+izrLAkVgHL+qjzGc5vlT++ziM7ftBgo5fzwpkG8hHgeOd+Lb5SNrHBrlzsmvlLjSZ2n6AynJI+93qnHHpmCnPCYmnxSsGcb4q0kMlsgQsaY/69EvM/2seemOBCoMliNlcDxIebCCRzXkZsDrFH8Q2iMaFiM5OSGI+cxnhYFc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478546; 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=bZlJr+lK+E/o7H5tHNHKm8rfgQ9Sh8LCbL9InFGAgZPnILyw7Z+CMWWo40TRLspggAUgO5oif3F8Ww3EFG6tjITmVJxm+efuZn5dgK4nO1nMBAsFZqWkhEMrtGkX2h+EYjtamfmA11eCfOehDsUAdpd0ongT+x8WEz8DXS0SgCU= 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=hiUiYJDG; 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="hiUiYJDG" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-47118259fd8so42299425e9.3 for ; Tue, 18 Nov 2025 07:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763478542; x=1764083342; 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=hiUiYJDGz2ipXcxvV9LNyGlvEovSEwXKqZc6vP64BDjPP3omBC2aeF62fTYruj0CiM Bi7Q9eXZ/mZd8BYleZQrqAUmr6IWQwVvIXCRfV2O4/0qeNTl6t4Xd7YfF3aHDthWfGko CEImHg0U+OyMJ5F9R/rDrcNEjw1l/W83Db2LgRxFnXfFi+NPYv2cpiSGUKRtvH05m4uy PBwNpbp1q3ejv7mWDA0IHBiBvS3/xoBmBARnXjJCNTj8uZ2wwavjdbMWiLL/7hTOt9L2 5TJ/50g5OC+RMazFQBMRhQ2dR0ZO/x5SFx0CBH1mxE+Jy+XGfF7TQxaXxqvwmmm2RAGs IqTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763478542; x=1764083342; 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=Zz313f5+9XsH5+Eb3Bh9XStxpTdiNn9ua8EWNmWWJg0=; b=GSvGdG1MGr5kRR3U1XSXz44sxRv0LICRtsh9pPNWT7IhIdNdRmhePEqIUG5ZmuKtAB slbDwdhDkHvxgu2fFzNYpSBMjQog/lb04jg/Nt05BH3F3djFJM4n0eyCV4jwmjbxnI02 XVqN9aIUOCiv+4hrGFw9gi7POpS+wVW+in7koqzJkABGv6xOQSMl60TlPXXrmZvj/l/N qPNTMugqaMSR8QAh8qb//vPVIf4vT1TwdsQ6bwbuXH8LCjilyskbyNtpj2nxleUaAGP+ S5h3X10QMBw0MhKiCTPX7ibpLWf5qOgUyx0hN7r9DWnHDYlyx51RTYkHKG2lEI8a8GzO fXZA== X-Gm-Message-State: AOJu0YwGsbN2s/iGW5D0yY7EK4swsgPeHt73gCEP/CNUSch+t5t13tXg zzZafhmRafg5vrD1vPjnLLtumD0nO5derGSZlZYg8fd4XTqLlwB/Prlx X-Gm-Gg: ASbGncupkGVbLWG+iracdSqDzu02ONVsvu7XO8sL2LAgtl3zg/ubeOl5lvwmF4wXSg8 XWFxlMJSFTWrhjhfqUsXic0DkMhxQkGIOwXqECIjIFk02Ta5FHKwQftvv/riC3RIBHSZSWMSzgY c8Ue7D5aLOFjn2xou6BOt/Qkpl4ETCyouLTm1LswKC20rJ+RT6OfDRDEjXhwxtUaVm9pOp6+4dO OpwP3u91BArCZ7nESlu9t67IpVkIrHXEpz5q8fQwJZj5Acp1cRAwows0dV5W08UtSlWCtZojGT6 7MagiWQ3srKRKZ/uD5gi9z9ZLTWlIoS9lvkGc0x3GIMm7Xan7hRQK2Peb0kRd6e+5l4Gg/i5K+H BmZFALp2F38azDZv1ZabxvEill7+ih+7F1EWK0s41UuDY9tLVjl1DVndrnmVeQTpm5d9LUKiWfE UUJ+lbH7Dx61VIy7fcwbPlsM0zug+eLyGdRdrOVDW/NuftSvjb8ym2swpHjEWu32KI41g/DfANY s8n71DDSRLZAgK6 X-Google-Smtp-Source: AGHT+IE6GAJOdG/qDGqIS1mCpN488TDzi+QKoUUH1cFmR3miBBoO1+a2akA4/Hkj6YnfPYg9iHTXrw== X-Received: by 2002:a05:600c:630c:b0:477:7a63:611f with SMTP id 5b1f17b1804b1-4778feba6demr143915445e9.36.1763478541562; Tue, 18 Nov 2025 07:09:01 -0800 (PST) Received: from localhost (2a02-842a-9b20-0d01-432b-0dab-f195-2b25.rev.sfr.net. [2a02:842a:9b20:d01:432b:dab:f195:2b25]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47796a8a695sm206281725e9.13.2025.11.18.07.09.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Nov 2025 07:09:01 -0800 (PST) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 18 Nov 2025 16:08:01 +0100 Subject: [PATCH v9 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: <20251118-b4-ddr-bindings-v9-5-a033ac5144da@gmail.com> References: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@gmail.com> In-Reply-To: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@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-86b30 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 Tue Dec 2 02:42:44 2025 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 89D283659E1 for ; Tue, 18 Nov 2025 15:09:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478546; cv=none; b=ObHgBouAVcv74NgOtPoQCMA0ir0JCb5QW7k3tGz20UmQsPUJmYrPOuykDMgLViNtb2Yu9yexzW2vBdOiCo6i0DsYuiX9+ZKgc8pqbsFnh3mVnOHQLh9o87fAVkomwakzZfQaobWyl1V2271dHr+c6h6ZkzO00FYgD33cs+TjL3M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478546; c=relaxed/simple; bh=i1re2cUiEXJBYFku45EOpp/aHmxsH3AjrIbn7i4tX2M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uEW6XvR8SR7iq0FFzt8lDeBZsS2E6nYJoDhN+vjrV3OOKwAWHFvanQDHe3fAHqYGz8OzVEM3YOSKSoa+eyIsMnoTUXNAk58O5hxay0NSZIitGtNhSt542KI+jtbp3xrR8ywWszQ4odBTtrdjINktVHaWrVVGXpve+qiSHT0/0II= 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=Djqf4Wjw; arc=none smtp.client-ip=209.85.128.52 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="Djqf4Wjw" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-47755a7652eso38325425e9.0 for ; Tue, 18 Nov 2025 07:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763478543; x=1764083343; 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=xn1amiUGhpNI5r8WdOtn7hNJ51WcbcveDFhQ+0agXLE=; b=Djqf4Wjwf8cca8kCMNteBoWAvVjlPvG1GDmZJMJTrF+Rk4+JSiKxYNL/BBmITcJ7VS oOcQQ9TCDxbCDUJNolzBz1AaWZcF9wAfNaTIAVfEVceTugyLPSzV8/iP+33obf1ro+z3 tfmOg2x2uOHXRe6hgql7/Y5X4s6YY6Q/O+iPFXO+t55SBb3IpLlWcoc26JRrcWaDR2lO bYn8DhWlfcNchibUsN+6AmU5EIE7Cp4pMnLt5Kz87uthY6gDPFRDu8wvew7+ti5qleNV y+hgNtUG52kSt1x77Ll+ApaGbWxY+1adMOamqzr5yh1gtDWpE7z7zbdPzN1BZLtqKpWH UYig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763478543; x=1764083343; 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=xn1amiUGhpNI5r8WdOtn7hNJ51WcbcveDFhQ+0agXLE=; b=Rofndt54CyNtcbfG4UDgyt6R5Vrc66hZKTjVp7/asyM32yCY0RPcwZzLzmhbHot+Ld BExVOXqJCboWm1xGDkE9fC1eajdME9EV0YqP+KSuzG42B1kZsTzRV6RX/spMU5HmGwD9 gucbU9wZFOndMRWs91vCIIxgdTbXKkiPJ7SBLieh4U52fX3BUuc3eqCCw9BhW/3EmVnX h4lHWbW8sOGaK6QrCib9DSUJQunMvJTbJSMqdGlB5Nbb7YTnHhoULdJxy2IMaAjv3vTa V3nl+bOxpuz5SHcnbddz29ES3vDgw5lBi//EMLzP2d1baxbsCLzASCydDLEAegZiOC8C nwSQ== X-Gm-Message-State: AOJu0YzaUHP4xLOwBh/y9cPovSTa8DsavfkpkWB1tNtiy6G6TxT8JqBY Gsr1nS9SXusxHiOKu6JlPWP0l8NNyKp6qJXByb3XNSnbP0p750KPftXv X-Gm-Gg: ASbGncvrIScRBzsYkyNBYwNqs80r3wviVmozIAJcxTXKtBYMdUNnlc+6IWGnKbIDLsj 2Y8cYCoEhX4dPuJUS4FFKSPfJlteMHSNPO9O7bKsHBBo2HEkl1/tMT2jR+00OQXLn/7AY+BdR5w hj5tn98lKvjK4CThqLIohDzoQCqFerehVSoxeNfZNpBiZ814TE0hAylld1PhHy2uzupP2X9CjWp BHmCFw5s8jXZZhKrQWsaDh/IPtfGe6fAKgWF8CGNwuFvt1lP+3aTBjOi1Cr5qaRLz82WRfvehFx 88jAujYZhdLGNH5dH5QRKdgi8J984H84TK6XsVCVY0Ta4w6GS1aM1OWKiM9OW1vkydSViQ+f5OH poOPOP2L4GfdUyekbbwce94M2n+vFpUqJsY3ykeUygWw5rvzltcIl1+3hArcE+kpKspgiWJrM6X bH5TxrTm4Mt6ESaI0PAwcV0ETsZnAE8wsiZRBZmxHcXj03LH1ojMWkLUWnS3GqZ80GcOhlIWuyj vVXmvPTvLthU6ti X-Google-Smtp-Source: AGHT+IGHfWRtYZTGPPYbxiOYmTOURyjIxMB6TDIV7lM+NaODJHSbF+ffu7r1vpKDpGdS19OrhVSrbg== X-Received: by 2002:a05:600c:a47:b0:477:79c7:8994 with SMTP id 5b1f17b1804b1-4778fea195emr185980455e9.30.1763478542674; Tue, 18 Nov 2025 07:09:02 -0800 (PST) Received: from localhost (2a02-842a-9b20-0d01-432b-0dab-f195-2b25.rev.sfr.net. [2a02:842a:9b20:d01:432b:dab:f195:2b25]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47799768409sm199879815e9.3.2025.11.18.07.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Nov 2025 07:09:02 -0800 (PST) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 18 Nov 2025 16:08:02 +0100 Subject: [PATCH v9 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: <20251118-b4-ddr-bindings-v9-6-a033ac5144da@gmail.com> References: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@gmail.com> In-Reply-To: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@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-86b30 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 e718d888ce21..5956d77f5fda 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts @@ -55,6 +55,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 Tue Dec 2 02:42:44 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 9F4F9365A04 for ; Tue, 18 Nov 2025 15:09:05 +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=1763478547; cv=none; b=l0TK1MN+jVFGrgWNbfF3ghCH8g1+7wL4uHdCYk67EciYF1GG/qwncQn7KrUCiCvqR+DBcSJxeS4Q/SC0gTqKxrfLZBv0XclPM29tq7fe/agU6c+82NGLaUWpYn3a/OKsJ/Ao+y1dDusahvIxbEVedeL3IMQtLH5FHT0Xj+agoBI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763478547; c=relaxed/simple; bh=dVGzqyZXkBwki97yMe5ElsDLZ0iannafMXlGf56ds08=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ioi1T0RStBZgLg1+NrVNIzsh+22RbzGZHTgiFbBfpeMqekNqQwupocH4I63i76WxdzD+l1+EHrTazyvPNwUiIi/ac7FECRsrrb/OF4POgBdyj7WEi6wUfxxE4YrAd4sSJMMJMhbIn10fYOcmXwp4dGYFYhPob+ubLz4lgcq/W/I= 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=Df9Tfxfy; 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="Df9Tfxfy" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-477a219dbcaso21495085e9.3 for ; Tue, 18 Nov 2025 07:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763478544; x=1764083344; 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=1aUWB5rfJH8WjlZ6mpwncNQxfl3NZrrgQFt7PCfUFlA=; b=Df9Tfxfy1drqC2h4aWRhxNfhlEWXRxgi/6W8+24ljo4hbKEZ2D25Wt8DhxVm2Oz2bO 3RlaBECQGdQfoaEljoRhu20Q/jZXSl0fJHTjaPwqlUPKSOj7Sw4vyEHBzVtehQ0ZIoR3 lwfV6zkv/lsvWBvtmWLAyFZQdxCXDnwvDSP2DR8HXrixXDyDg/Yr+jrdQ9cpRnu9LVkR GZlY88JJPJwB1VF7tJ/jc78Yixkh6pUSetHVnp8b1h/Zat1Vn+NKjD3RVXRQsHbLglVt 2/kpV1YJYFhg/z42djqZDE1z4wnFlpbfQs4qWh3HI8eIu7S1Tx4hhDiYt0ukDL9Ap2dQ Fgyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763478544; x=1764083344; 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=1aUWB5rfJH8WjlZ6mpwncNQxfl3NZrrgQFt7PCfUFlA=; b=a0w5WlC4WDVm9Tb3kU20HHzkFfEp/L0BwaWC50rMiLo1yXT32EcUikBspgYyUu3JF5 UkUsq34Gu8cCxEBJUCSq2Fg4omt9DFZwt2CJUk7BtxaqllSOlZSuSfWwAUNG6O5Ce0Tn jVw80Z1XhQivi5PotIvUbZrLYnWEXUDwEkIoN5r0z2IC4aBk8TmtdMRblQchu10LF87T uOMC9CFfPJPzQfNsAUx8g5OgdGe8J7fGxS30UNJTyUFmc9yT0OuuAemlBOb0bK6Lm670 LtHSRmu2fkKErD05/0kE1Nn7jgUyWvt9x7s/sFzb19x5H8G1wXsqg7DBku8y3rNNsB/Z guqg== X-Gm-Message-State: AOJu0YwNVtekq/eMA0BqYTE2aMRTHrU00935Ojyqplm6njwJM34zl2nC kOCCqS2P1vkbIQoQqUKiJsgHJ1bMlOXouuhEwoA1La1K9+vdaFaRgH/v X-Gm-Gg: ASbGnctn6wSHd7Tpp/c46gACy7sn0Dsa/8LPysThUVNb/DJJTeswoxIBHrFPL8LcRXZ m12UZeHh4IY1msLOUXiQicCF87kcPZ+s3LEFcST28SzrGyLA39tfiqdvNaDK2GxjB7Zd3QzvhFd lwvq5T4IkHLyath+gvBagFG9i/xUvVTUzNYAT9GLBNoy7SOAr0NH/LNWwSeQwaIgxoP9N0Fe6or o9rwhwnWES+DmtD2lKHCpXDLzOitn2fZ58LeZytuEM1RSpzCuEnE82eZWkoWuil07GbOTSUot1N uuwzVsDbnyrd9eEJc3IaWsKFNhYXhsghNp51q4nk5Z3sG7ye43hlf5GrOYQTMwqrUeAIDbg/GOg U1yz+3F1uYLo+GRPkAjBYUh9Wj4RnaeMxJKJ8O7Y/YCKnlt0QiK0OXL8hwaFKhdiONBl+BG/yQ3 9dVvAzNlL1SVZbBE1/iBuDrzpWM9F8V1TlkHQZGbMyqQwsY6YS3BwCtqpp2nk5OQtGXZczzI0kZ SNrH+3kdGz+X9Xy X-Google-Smtp-Source: AGHT+IGSEH+nZH3uDYlPARqsVIhZYpdp0LW2A5ByNrQdTilynl5MJD0kTuaNse/eSWnTTSY+SA+8rw== X-Received: by 2002:a05:6000:2c0f:b0:42b:3592:1b82 with SMTP id ffacd0b85a97d-42b5933e152mr14529598f8f.1.1763478543680; Tue, 18 Nov 2025 07:09:03 -0800 (PST) Received: from localhost (2a02-842a-9b20-0d01-432b-0dab-f195-2b25.rev.sfr.net. [2a02:842a:9b20:d01:432b:dab:f195:2b25]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53f206e2sm33027151f8f.41.2025.11.18.07.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Nov 2025 07:09:03 -0800 (PST) From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 18 Nov 2025 16:08:03 +0100 Subject: [PATCH v9 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: <20251118-b4-ddr-bindings-v9-7-a033ac5144da@gmail.com> References: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@gmail.com> In-Reply-To: <20251118-b4-ddr-bindings-v9-0-a033ac5144da@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-86b30 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 6e165073f732..84eb09f8b878 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts @@ -42,6 +42,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