Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29A66C433F5 for ; Sat, 5 Feb 2022 16:42:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E30683BBD; Sat, 5 Feb 2022 17:40:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1644079220; bh=pOZwyxsJQ8rX1C+Bv4ZXJ355c2F0fASrCzh1QkejkeQ=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=lziofdceH5J1c5grQwsw9OFKBOR3U+bDiFqIeXeDzfU3dR55ZVAftJxtlqMJjZy7g bfdjUEiXuQM2/kCFvEzidKTsDS3r434Fj6kBW+OlDgpQUjX5bA+ovRqSi+s8VH43uH 2tmqJpV6MXD/6EDI4x1XzQ3fKZ5d8Yv6LyOOqEVdL9+vHMriVrvRGsb1pKAG51bTzs 6ZlN/XdtWtGi/ikC6+A6n2/VVhQytysVIwVZDWtEp5h4+j4h6tKT2ThB94bTt2zn9r G8h/LlbjEj1tfuT1oMj5Zf0QKwWxkYQN7JuOESzUbJtEbph+xhFaE9XNT5ZzjC1BdN /veSiDqGjbCkg== Received: by phobos.denx.de (Postfix, from userid 109) id 0B3BA83BB5; Sat, 5 Feb 2022 17:40:19 +0100 (CET) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) (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 4FD3E83B54 for ; Sat, 5 Feb 2022 17:40:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4JrdS00FdTz1sYfM; Sat, 5 Feb 2022 17:40:16 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4JrdS002m4z1qqkC; Sat, 5 Feb 2022 17:40:15 +0100 (CET) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id okd0Q1SsyDHy; Sat, 5 Feb 2022 17:40:15 +0100 (CET) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 5 Feb 2022 17:40:15 +0100 (CET) From: sbabic@denx.de X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 1547751 X-Patchwork-Delegate: sbabic@denx.de To: "Peng Fan (OSS)" ,u-boot@lists.denx.de Subject: [PATCH 20/20] imx8ulp: ddr: Fix DDR frequency request issue In-reply-to: <20211029014634.20949-21-peng.fan@oss.nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20220205164019.0B3BA83BB5@phobos.denx.de> Date: Sat, 5 Feb 2022 17:40:16 +0100 (CET) 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.5 at phobos.denx.de X-Virus-Status: Clean > From: Ye Li > After acking the requested frequency, should wait the ack bit clear > by DDR controller and check the DFS interrupt for next request polling. > Otherwise, the next polling of request bit will get previous value > that DDR controller have not cleared it, so a wrong request frequency > is used. > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================