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.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 D7BC2C432C0 for ; Wed, 20 Nov 2019 15:04:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A893D20898 for ; Wed, 20 Nov 2019 15:04:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LDpD3hSB"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="rb/aD47w" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A893D20898 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID:Date :Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=iFk1xoQrl1G7k9mJhHEeO8wIFGmZUUQ7SBxnkloztUQ=; b=LDpD3hSBsbvEeg YNL+VsPe06y6Y7Fd15g37y2iv8PtiySmnhlh6JIUFQMR9su1E19moI2d0v7sRqBWIdW9IDlox3aO9 l52G2oKSjvWGCPmH7hOH4sRRBBYb045cC4++2NQUusfZK+4Oy/Yzgp7oenV0bm3oEckskweo33oQ6 xR4snqlOPBm9dLOkFjkJXbLcd/Pf7605lncNZ0beH4NqVUshGqsfUOzDA2OMXMC5fgwQhUFlwRMKj WmMyyk8j9D9SK4ZezrvjvsnYdV86xK3VGt1Jt6XSLWox6S/95EQRPhuxKtcqkKgfWVXBjY+GClvf9 ypX4itpn4g3qE10/za4g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXRX7-0007JV-Rt; Wed, 20 Nov 2019 15:04:41 +0000 Received: from mail-eopbgr70081.outbound.protection.outlook.com ([40.107.7.81] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXRX4-0007IU-8p for linux-arm-kernel@lists.infradead.org; Wed, 20 Nov 2019 15:04:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kvZBEOj9A8ZJe7OxuzxfXhf2HGU2KVVLoslwRe2fHSOjmOPwA7mB4i638SlBuq/iNHJ7CD6Dh1ZMH8ah4Q6X7FKBfHUcQrhb2RLQUgVMG2/tu/Oc7Q5Um7gZHEZ3Ts8oKBbDedVgHhJxBfWEk0wFDPOBzksbkRfWEVI3KYykvdkqmnjgDCKSc8DAosl162249n5rjzS27UXzd0+0bGBtqYQ6Jo2tZnUT0vqk/Nup0GTHJExB9kZyCc91SNOPoiNHM8fDRC26uvtTj+Zk2YxV+UNwAiZvanX0q3MvK1Wz3Q0jE04exdvBg8qR7T1fc8m6jxyKGOcKcuh8KZYy0Yt6wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CEy6VFUqKO7/sYosT1DOO4YdjRu9+pCyq6qi30pzkJM=; b=d3/NWg0XgQ4HNzAnP6v4U/0Cwih+27LKT2N3IiQj0zsCcBmyJAj3HGbfkC/7FQ10JhfwUpl1+NfxWO2yIh4iDqIz8HZh4lJeDDxDHQDF4ssdB0FUZUsbpjhAwMqh/HyU+hhg8pHAP6fdWulNo6MoXISkOGngy3NiqBifP4trp6ldJL5XEKybMviKwbSoyL8v8cgtKtb72zllbnR6QwPpD20mSTBmtX7rJXrBTukDnk3yAu8bXAi4sL5bBJp+QpmrC66SYI0LVmBx3DDpIgulPgS5JLbWIbplBeCqzqW2CzKH5zbeto0E6n7XJK8DZcIjy0Ikxj/zZjvh7K5gFfBTWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CEy6VFUqKO7/sYosT1DOO4YdjRu9+pCyq6qi30pzkJM=; b=rb/aD47ws1jXCG/NX5+jrG2H25W3jThjsBfeJh0FBRkTnTme79aYopEdftLklmDlGEE4oEri3uUms2Xk3kJ65o+iRn9Wh4gyNltDMYkNGwMX56x3gaz3b7X3acHH+0lmXxwzHsquemDQ37ZkELwPJ0eKQ2fqajxVJd9Zhakbq7Y= Received: from VI1PR04MB7023.eurprd04.prod.outlook.com (10.186.159.144) by VI1PR04MB4718.eurprd04.prod.outlook.com (20.177.50.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Wed, 20 Nov 2019 15:04:32 +0000 Received: from VI1PR04MB7023.eurprd04.prod.outlook.com ([fe80::dd0c:72dc:e462:16b3]) by VI1PR04MB7023.eurprd04.prod.outlook.com ([fe80::dd0c:72dc:e462:16b3%5]) with mapi id 15.20.2474.015; Wed, 20 Nov 2019 15:04:32 +0000 From: Leonard Crestez To: Angus Ainslie , Jacky Bai Subject: Re: [PATCH RFC v6 2/9] PM / devfreq: Add generic imx bus scaling driver Thread-Topic: [PATCH RFC v6 2/9] PM / devfreq: Add generic imx bus scaling driver Thread-Index: AQHVmyeZDID07b0oVkajwef04uXjmg== Date: Wed, 20 Nov 2019 15:04:32 +0000 Message-ID: References: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-originating-ip: [89.37.124.34] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 76422b5a-e3d6-4c9d-6d68-08d76dcaf2eb x-ms-traffictypediagnostic: VI1PR04MB4718:|VI1PR04MB4718: x-ms-exchange-purlcount: 3 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 02272225C5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(199004)(189003)(74316002)(7416002)(6436002)(2906002)(54906003)(316002)(44832011)(66446008)(64756008)(66556008)(66476007)(76116006)(91956017)(186003)(26005)(4001150100001)(6116002)(3846002)(76176011)(102836004)(4326008)(110136005)(486006)(7696005)(14454004)(6246003)(52536014)(53546011)(6506007)(305945005)(66946007)(86362001)(476003)(8936002)(14444005)(229853002)(966005)(33656002)(6636002)(81156014)(81166006)(7736002)(478600001)(5660300002)(99286004)(6306002)(8676002)(66066001)(71200400001)(71190400001)(25786009)(9686003)(55016002)(256004)(446003)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4718; H:VI1PR04MB7023.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4t9P8Z3aFxX5EcO4ALXEBZPaUZor2gZYEpscTDDgem7/UOhpzhkZFJ5DY8fzbA9jlvAFmPC9Gy/YOQbMJsJjWxZlwhKHTImExQiIjXKzYthwUvKn8uJ6X02RIlHbqk5DkIZ7Rg6O6NhEpcToHpaJNFTqmEZ+6IWOAhdUoi/SePHUD4Pde/S93vCQcI6W3ekrqar50K9tf9N2jhS+3TjPYsusaMdOEsRIr9bTyCmdOVS9rtQaIc6rE+dWS5Hv4NEwBAcbznOi5r6n3NuwZyKeXcQXBSa8gv8/uFv7eeCQzyqIrdr5wXgkvn8bsKSeN4YGPJaHH0U64u6Og9wJV4oBC03Tj0msoxEiYLGletRtXTlkCcw91dufityJuiWD0jGukOAqGdleP3u5VjvLxTM6OOCoW6aDWSXI0bZ0hqws+Rb1cCs+9S2wA4w2/VcObb3npFOz3+kh7xnK1h63rl2qgppSRQxLtEl86JXDyyw1uL0= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76422b5a-e3d6-4c9d-6d68-08d76dcaf2eb X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2019 15:04:32.1167 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yDF2fscqIc315saebDGbAjIwgXlvoVO4xN0KhIpPFadaQQdPPiobu2MZVKfWB1sNOIdmdL6okQRR7VE04p3VOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4718 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191120_070438_322175_2A486771 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , =?iso-8859-2?Q?Artur_=A6wigo=F1?= , "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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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? -- Regards, Leonard _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel