public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Cc: Marek Vasut <marex@denx.de>, Fabio Estevam <festevam@denx.de>,
	Peng Fan <peng.fan@nxp.com>, Stefano Babic <sbabic@denx.de>
Subject: [PATCH v2 04/23] imx8m: ddrphy_utils: Add 3732 MT/s mode
Date: Mon, 11 Apr 2022 21:45:24 +0200	[thread overview]
Message-ID: <20220411194543.730647-4-marex@denx.de> (raw)
In-Reply-To: <20220411194543.730647-1-marex@denx.de>

Add entry for 3732 MT/s mode of operation of the LPDDR4, in
which case the DDR PLL has to be configured in 933 MHz mode.

Reviewed-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
---
V2: Add RB by Fabio
---
 drivers/ddr/imx/imx8m/ddrphy_utils.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/ddr/imx/imx8m/ddrphy_utils.c b/drivers/ddr/imx/imx8m/ddrphy_utils.c
index 0f8baefb1f8..a54449e5f14 100644
--- a/drivers/ddr/imx/imx8m/ddrphy_utils.c
+++ b/drivers/ddr/imx/imx8m/ddrphy_utils.c
@@ -117,6 +117,10 @@ void ddrphy_init_set_dfi_clk(unsigned int drate)
 		dram_pll_init(MHZ(1000));
 		dram_disable_bypass();
 		break;
+	case 3732:
+		dram_pll_init(MHZ(933));
+		dram_disable_bypass();
+		break;
 	case 3200:
 		dram_pll_init(MHZ(800));
 		dram_disable_bypass();
-- 
2.35.1


  parent reply	other threads:[~2022-04-11 19:46 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 19:45 [PATCH v2 01/23] mmc: fsl_esdhc_imx: Add i.MX8MP compatible string Marek Vasut
2022-04-11 19:45 ` [PATCH v2 02/23] ARM: dts: net: dwc_eth_qos: Fix " Marek Vasut
2022-04-11 19:45 ` [PATCH v2 03/23] ARM: imx: imx8m: Add 933 MHz PLL settings Marek Vasut
2022-04-12 18:45   ` sbabic
2022-04-11 19:45 ` Marek Vasut [this message]
2022-04-12 18:46   ` [PATCH v2 04/23] imx8m: ddrphy_utils: Add 3732 MT/s mode sbabic
2022-04-11 19:45 ` [PATCH v2 05/23] pmic: pca9450: Add PCA9450C compatible string Marek Vasut
2022-04-12 18:43   ` sbabic
2022-04-11 19:45 ` [PATCH v2 06/23] pmic: pca9450: Add upstream regulators subnode match Marek Vasut
2022-04-18  0:10   ` Jaehoon Chung
2022-04-11 19:45 ` [PATCH v2 07/23] pmic: pca9450: Add regulator driver Marek Vasut
2022-04-18  0:13   ` Jaehoon Chung
2022-04-11 19:45 ` [PATCH v2 08/23] spi: nxp_fspi: Add i.MX8MP compatible string Marek Vasut
2022-04-11 19:45 ` [PATCH v2 09/23] ARM: dts: imx: Add flexspi node to i.MX8MP Marek Vasut
2022-04-11 19:45 ` [PATCH v2 10/23] ARM: imx: Decode ECSPI env location from i.MX8M ROMAPI tables Marek Vasut
2022-04-11 19:45 ` [PATCH v2 11/23] ARM: imx: Get rid of only i.MX8M SMCCC arch call Marek Vasut
2022-04-11 19:45 ` [PATCH v2 12/23] power-domain: Return 0 if ops unimplemented and remove empty functions Marek Vasut
2022-04-18  0:14   ` Jaehoon Chung
2022-04-11 19:45 ` [PATCH v2 13/23] imx: power-domain: Descend into pgc subnode if present Marek Vasut
2022-04-11 19:45 ` [PATCH v2 14/23] imx: power-domain: Inline arch-imx8m/power-domain.h Marek Vasut
2022-04-18  0:23   ` Jaehoon Chung
2022-04-11 19:45 ` [PATCH v2 15/23] imx: power-domain: Get rid of SMCCC dependency Marek Vasut
2022-04-11 19:45 ` [PATCH v2 16/23] power_domain: Add power_domain_get_by_name() Marek Vasut
2022-04-11 19:45 ` [PATCH v2 17/23] imx: power-domain: Add i.MX8MP support Marek Vasut
2022-04-11 19:45 ` [PATCH v3 18/23] imx: power-domain: Add i.MX8MP HSIOMIX driver Marek Vasut
2022-04-11 19:45 ` [PATCH v3 19/23] clk: imx8mp: Fill in DWC3 USB, USB PHY, HSIOMIX clock Marek Vasut
2022-04-11 19:45 ` [PATCH v2 20/23] phy: phy-imx8mq-usb: Add support for i.MX8MP USB PHY Marek Vasut
2022-04-12 18:44   ` sbabic
2022-04-11 19:45 ` [PATCH v2 21/23] usb: dwc3: Rename .select_dr_mode to .glue_configure Marek Vasut
2022-04-11 19:45 ` [PATCH v2 22/23] usb: dwc3: Implement .glue_configure for i.MX8MP Marek Vasut
2022-04-11 19:45 ` [PATCH v2 23/23] arm: dts: imx8mp: Import GPCv2 subset, HSIOMIX and USB PD Marek Vasut
2022-04-12 18:56 ` [PATCH v2 01/23] mmc: fsl_esdhc_imx: Add i.MX8MP compatible string Stefano Babic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220411194543.730647-4-marex@denx.de \
    --to=marex@denx.de \
    --cc=festevam@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox