From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C964BC2D0BF for ; Mon, 9 Dec 2019 01:16:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 954DB2070A for ; Mon, 9 Dec 2019 01:16:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575854194; bh=YDwWdATh/SoQPRkS4uTPJ3LnkmG0F6FSkZtyg52ylVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=WbrrTm4FZFyfHel3u0O608JLzUGK1CV3oCK2s7YolRZx9hTXEdwciizdhuLV7Jgql chKsqo+/Qcck73DGbghRHXSLH+CTZENEmDZv6XDLqUpJYLRcWdA0/saviWZAgfBIC/ WWnh55pfVZh1ZnTRUhRspK3sSHi899u5veiB4Ih4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726748AbfLIBQd (ORCPT ); Sun, 8 Dec 2019 20:16:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:51200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbfLIBQd (ORCPT ); Sun, 8 Dec 2019 20:16:33 -0500 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 96EF9206DB; Mon, 9 Dec 2019 01:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575854192; bh=YDwWdATh/SoQPRkS4uTPJ3LnkmG0F6FSkZtyg52ylVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vzbexnPzjIjEtB4qvYgPtBDaALZV7N8FgYqF/kxaygBRnSa8WHU8QWlnbkgxx8vlG FxsWK4mYlY/IxiLatWvp8j82bpXEsaP+eW1sO+gnRTTY1nrN10/GgpEFaUdN+WzcYH Y5p7rDZMfPz8ErRGHdUblPKM8cDrolBwDpjlOy0I= Date: Mon, 9 Dec 2019 09:16:15 +0800 From: Shawn Guo To: Leonard Crestez Cc: Stephen Boyd , Chanwoo Choi , Rob Herring , MyungJoo Ham , Kyungmin Park , "Rafael J. Wysocki" , Mark Rutland , Michael Turquette , Artur =?utf-8?B?xZp3aWdvxYQ=?= , Saravana Kannan , Angus Ainslie , Martin Kepplinger , Matthias Kaehlcke , Krzysztof Kozlowski , Alexandre Bailon , Georgi Djakov , Dong Aisheng , Abel Vesa , Jacky Bai , Anson Huang , Fabio Estevam , Viresh Kumar , Silvano di Ninno , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v7 2/5] clk: imx: Mark dram pll on 8mm and 8mn with CLK_GET_RATE_NOCACHE Message-ID: <20191209011614.GR3365@dragon> References: <9d986ef7a3cb379cea59616ad18e96e3245cbaba.1574458460.git.leonard.crestez@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d986ef7a3cb379cea59616ad18e96e3245cbaba.1574458460.git.leonard.crestez@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, Nov 22, 2019 at 11:45:01PM +0200, Leonard Crestez wrote: > DRAM frequency switches are executed in firmware and can change the > configuration of the DRAM PLL outside linux. Mark these CLKs with > CLK_GET_RATE_NOCACHE so we always read back the PLL config registers and > recalculate rates. > > In current DRAM frequency tables on 8mm/8mn only the maximum frequency > uses the PLL so it's always configured in the same way. However reading > back the PLL configuration is the correct behavior and allows additional > setpoints in the future. > > Signed-off-by: Leonard Crestez > Reviewed-by: Abel Vesa Applied, thanks.