From patchwork Tue Nov 22 01:13:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jit Loon Lim X-Patchwork-Id: 1707624 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=VxLa6u9a; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NGR9N56Txz23mf for ; Tue, 22 Nov 2022 12:14:00 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA7D385299; Tue, 22 Nov 2022 02:13:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="VxLa6u9a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B1D9D851C2; Tue, 22 Nov 2022 02:13:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 39B62851C4 for ; Tue, 22 Nov 2022 02:13:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=jitloonl@ecsmtp.png.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669079633; x=1700615633; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gNjowB0/o10ZShzRitETbxwYVHi4pB1O/RO8+PVXtls=; b=VxLa6u9aIf8TM+sWZb2/bt0sAwk6B4zMMGJE/DQvDfjmd+6YqaFpYrFF dNp7bi9tMQ4SPg6F9h6kG1HBIDOCD4ym1JhRGTTRQgglJPxdi6HJnuGTu l7VJap+1HJcW0BweFQmL7YPwc1YlKMHzaBRlVFM+hs09j8MMivU0sUo/2 2loLRcOBAm/cry0m1b1FOjzooN02uNX4bCKLN1+m4N4a204GfJTqcax27 azGGTfOEQ08mAZqie/HRz8dZKjNthr2AUjfl+DuZlbxG0eDqNmn8KYWzY ldOQbc6rd2QlyFb/7h71wZyWiSBWkMZvZTW88EM2kHcciXgh7ucrmSKcs w==; X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="293409750" X-IronPort-AV: E=Sophos;i="5.96,182,1665471600"; d="scan'208";a="293409750" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 17:13:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="886333246" X-IronPort-AV: E=Sophos;i="5.96,182,1665471600"; d="scan'208";a="886333246" Received: from pglmail07.png.intel.com ([10.221.193.207]) by fmsmga006.fm.intel.com with ESMTP; 21 Nov 2022 17:13:47 -0800 Received: from localhost (pgli0028.png.intel.com [10.221.84.177]) by pglmail07.png.intel.com (Postfix) with ESMTP id 00B81483D; Tue, 22 Nov 2022 09:13:47 +0800 (+08) Received: by localhost (Postfix, from userid 12048045) id EACBFE00959; Tue, 22 Nov 2022 09:13:46 +0800 (+08) From: Jit Loon Lim To: u-boot@lists.denx.de Cc: Jagan Teki , Vignesh R , Marek , Simon , Tien Fong , Kok Kiang , Siew Chin , Sin Hui , Raaj , Dinesh , Boon Khai , Alif , Teik Heng , Hazim , Jit Loon Lim , Sieu Mun Tang Subject: [PATCH] ddr: altera: n5x: Enhance driver to support LPDDR4 Date: Tue, 22 Nov 2022 09:13:45 +0800 Message-Id: <20221122011345.14286-1-jit.loon.lim@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Tien Fong Chee Enhance driver to common DDR driver for supporting both DDR4 and LPDDR4. Signed-off-by: Tien Fong Chee Signed-off-by: Jit Loon Lim --- arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi index 502da36bd8..6c1d25fa05 100644 --- a/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi +++ b/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi @@ -15,7 +15,11 @@ memory { /* +<<<<<<< HEAD * Memory type: DDR4 (non-interleaving mode) +======= + * Memory type: DDR4 +>>>>>>> ddr: altera: n5x: Enhance driver to support LPDDR4 * 16GB * <0 0x00000000 0 0x80000000>, * <4 0x80000000 3 0x80000000>;