From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BEEB2ECE8D; Tue, 22 Jul 2025 14:07:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753193230; cv=none; b=CZPtH4b77etdkAaOvzb8gCDIelK0PeJ0+3yqEsWqjYtpWQ3SI/g6VbGlOvFCC4H3DutGjO4tZJqrAvS1fMX7z30wYbzRa6KtyddMMXReVpu2YvMZRxFHNj+v5bwlrORQ1L7+e1dzfClSp4FDwDGra/ElbSdPJQUERWv4lwgRkwc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753193230; c=relaxed/simple; bh=ph5M0Gyh9Uvom7i5MzWaD3d5Tx1EnAQLGoe6FmCT6Bg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=J6UQG4+TrZTK+BVHi03RlzU9/+8k7Akm4Z0PJIStpQ9tV4iDcteOPM2g0Publo+P9zVYtz4pFp0Ip+wBfnh+AAbwvhKNZQyiHiNT0o3zE8CJIB2uBXA/WdMZQesv8vZo//+ui5C1U7QYs5bNIJVOGr6W4uqWIeWUXbM5E6cKfZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=vFS0yAaA; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="vFS0yAaA" Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56MDYQBe022239; Tue, 22 Jul 2025 16:06:55 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= XcwsKU4SozbocDlreDEq6fvU3dVFMN2U6MRahxb2O9M=; b=vFS0yAaAEvapvEQK GNp7seENNK1sPcuDhyRuJH/N6nGw4UBl+Lsyr5ah4OlBwb4VRcHKeK8k0DEhJNiS Z7l7lGLI3DY6Rvi6vjhLUO8Rjn5zoeuIx6/stFE/xlxNubOxwtIf5zLod56WGMIN y+dsezBCcmdki5jZfXEqQ1ZlE20UZLyGKlusOx+BMY46SjiziwxWSfEioXTEgm2G W0ft07bDTeflLTW8eIbvGAsSROq3rwYd1dRfJzSUTKsezkTdBkYQI4W8r71pmMIt XHLYF/9SiQEe1Xubj6iSmWTE4Ow0OiUXxHkSlku8+GdyGyri1z2nt1LEP1uExZur XfclfA== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 4800g8pc73-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Jul 2025 16:06:55 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id B0A924005C; Tue, 22 Jul 2025 16:05:11 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D8AA87A2A4D; Tue, 22 Jul 2025 16:03:53 +0200 (CEST) Received: from localhost (10.48.86.185) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 22 Jul 2025 16:03:53 +0200 From: =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= Date: Tue, 22 Jul 2025 16:03:23 +0200 Subject: [PATCH v3 06/19] 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: 8bit Message-ID: <20250722-ddrperfm-upstream-v3-6-7b7a4f3dc8a0@foss.st.com> References: <20250722-ddrperfm-upstream-v3-0-7b7a4f3dc8a0@foss.st.com> In-Reply-To: <20250722-ddrperfm-upstream-v3-0-7b7a4f3dc8a0@foss.st.com> To: Will Deacon , Mark Rutland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Jonathan Corbet , Gatien Chevallier , Michael Turquette , Stephen Boyd , Gabriel Fernandez , Krzysztof Kozlowski , Le Goffic , Julius Werner CC: , , , , , , , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= X-Mailer: b4 0.15-dev-8018a X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-07-22_02,2025-07-21_02,2025-03-28_01 Introduce JEDEC compliant DDR bindings, that use new memory-props binding. Signed-off-by: Clément 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..117af9ac599b --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,ddr4.yaml @@ -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: DDR3 SDRAM compliant to JEDEC JESD79-4D + +maintainers: + - Krzysztof Kozlowski + +allOf: + - $ref: jedec,memory-props.yaml# + +properties: + compatible: + items: + - pattern: "^ddr4-[0-9a-f]{2},[0-9a-f]{4}$" + - const: jedec,ddr4 + +required: + - compatible + - density + - io-width + +unevaluatedProperties: false + +examples: + - | + ddr { + compatible = "ddr4-ff,000f", "jedec,ddr4"; + density = <8192>; + io-width = <8>; + }; -- 2.43.0