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=-7.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,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 E64FCC432C0 for ; Wed, 20 Nov 2019 15:29:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C6D4E206B6 for ; Wed, 20 Nov 2019 15:29:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731543AbfKTP3e (ORCPT ); Wed, 20 Nov 2019 10:29:34 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:49581 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730256AbfKTP3e (ORCPT ); Wed, 20 Nov 2019 10:29:34 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iXRv4-0008PX-2m; Wed, 20 Nov 2019 16:29:26 +0100 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iXRv0-0002km-Ac; Wed, 20 Nov 2019 16:29:22 +0100 Date: Wed, 20 Nov 2019 16:29:22 +0100 From: Marco Felsch To: Leonard Crestez Cc: Angus Ainslie , Jacky Bai , Mark Rutland , Artur =?utf-8?B?xZp3aWdvxYQ=?= , "Rafael J. Wysocki" , Viresh Kumar , Michael Turquette , Alexandre Bailon , Matthias Kaehlcke , Abel Vesa , Anson Huang , Krzysztof Kozlowski , Chanwoo Choi , MyungJoo Ham , dl-linux-imx , "devicetree@vger.kernel.org" , "linux-pm@vger.kernel.org" , Rob Herring , Martin Kepplinger , Silvano Di Ninno , "linux-arm-kernel@lists.infradead.org" , Aisheng Dong , Saravana Kannan , Stephen Boyd , Kyungmin Park , "kernel@pengutronix.de" , Fabio Estevam , Shawn Guo , Georgi Djakov Subject: Re: [PATCH RFC v6 2/9] PM / devfreq: Add generic imx bus scaling driver Message-ID: <20191120152922.vaisxxyizqgjsnld@pengutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 16:27:46 up 5 days, 6:46, 21 users, load average: 0.02, 0.04, 0.00 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: devicetree@vger.kernel.org Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Leonard, On 19-11-20 15:04, Leonard Crestez wrote: > On 20.11.2019 16:08, Angus Ainslie wrote: > > Hi Leonard, > > > > On 2019-11-14 12:09, Leonard Crestez wrote: > >> Add initial support for dynamic frequency switching on pieces of the > >> imx > >> interconnect fabric. > >> > >> All this driver does is set a clk rate based on an opp table, it does > >> not map register areas. > >> > > > > Is this working with mainline ATF or does it still need to be used with > > your modified ATF code ? > > This series doesn't perform SMC calls, that's done by the imx8m-ddrc > driver: https://patchwork.kernel.org/cover/11244283/ > > This particular patch allows switching NOC frequency but that's just > clk_set_rate. > > DDRC frequency switching requires the imx branch of ATF (v2.0 + ~200 > patches) otherwise you will get probe failures. Source for imx atf is > published here: https://source.codeaurora.org/external/imx/imx-atf/ > > For your particular 8mq B0 case slightly different setpoints are used > and the fix is not in any public release yet so you need this: > > https://github.com/cdleonard/arm-trusted-firmware/commits/imx_2.0.y_busfreq > > Is "mainline ATF" an important criteria for Purism? Sorry for jumping in here. Just asking myself if the nxp-atf is required for a mainline kernel for the imx8mq devices? Thanks, Marco > -- > Regards, > Leonard > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |