Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp882229img; Tue, 26 Feb 2019 10:09:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IYN73PfLWURKu2G0A+bU1XiO48g5R27QDMKgBuKaxzeq308XJzr4Kwem4jBjsC6kGJIuWZ8 X-Received: by 2002:a65:52c3:: with SMTP id z3mr7443094pgp.395.1551204588703; Tue, 26 Feb 2019 10:09:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551204588; cv=none; d=google.com; s=arc-20160816; b=Aw9YL/gsKsIbFf3aSfsHDt5qoJzFNSa+wMoOxtMIOpQ25WKgXjL9gHvXG/1WJHnc53 QJoEhZn+/lwQGujniJV4wdYRnEGsFA0PtkejliDxBTLwwoO6shexQeJLShi137sypecL 96lPbLbKi+QsP2o3ZsHr42z7/pBnxt+b9u0fQxRuKp9jnr5nrT2aMKwosXRYiCTuu5lw UsVbNj5kUzKZi0q7AtU2k3Dt8j8z+XExrLDzZ2iGxk0CqjGpK+vZ2q4Ej+KdNAUk7xU4 Zk9c+BYGlY5nnzJBLFCCeP9JBl3WI8IPtIvIHmjwpp+c200EjTQrYYXYLHz/ZABNbIw1 5vsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:in-reply-to:from:subject:cc :user-agent:message-id:references:to:content-transfer-encoding :mime-version:dkim-signature; bh=6luI78bJ4FYRrCrd9j5W8oBLzCAaME+1lLXedunPT7k=; b=Af0AFJaz6eHFk0tSFmnzeGsQMKQNKXlLFvZ3v4iVt+8dzPYanJ8ahmzaWxqOSbQbQf ngDI1WGZEeBkGv61sMn1q03GqplaXRLrrsasPEnrDMc04HQjqWlZWpnyjoqVnIkFfTVm Lf/ZrsnxEQFHJU1hOU0tzjoV8+Svkl6X5R71h3X7VV2Fr/MtiUIrUOg95yM2ha/tHwcu VZB96zex120mEeBo7W01EYz+xXmLJRiQZ62JW4OFDGBgfPT/9haoQOPxSmxXPF59awDa BDN96reAttuaE4HMtqEVwlbedDLO9lJuo/RbEO0kZnPyV7YS2iPZbK0cBQCD2rchxJlX 1ACA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K011+sfj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n17si12866045pff.225.2019.02.26.10.09.32; Tue, 26 Feb 2019 10:09:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K011+sfj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728937AbfBZSIk (ORCPT + 99 others); Tue, 26 Feb 2019 13:08:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:46352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728456AbfBZSIk (ORCPT ); Tue, 26 Feb 2019 13:08:40 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D2468217F5; Tue, 26 Feb 2019 18:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551204519; bh=6luI78bJ4FYRrCrd9j5W8oBLzCAaME+1lLXedunPT7k=; h=To:References:Cc:Subject:From:In-Reply-To:Date:From; b=K011+sfjrQJFpSVn8+2/GWdhhs+yGwngpiYn1zyWAriEJmyHOWTTPseavnAwEhJHK Zv+MsW7R2fUw598EUTTPROoUbCwOlkPzjBM7Wso31A7Xb/WHxhlrznT1PB2bApUEbx pB/YjiLWlr1VK2GY+g29bIr8S4+px8Yw0rOmHG9w= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "devicetree@vger.kernel.org" , "festevam@gmail.com" , "kernel@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mark.rutland@arm.com" , "mturquette@baylibre.com" , "robh+dt@kernel.org" , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" , Aisheng Dong , Anson Huang , Daniel Baluta References: <1551157967-30925-1-git-send-email-Anson.Huang@nxp.com> <1551157967-30925-2-git-send-email-Anson.Huang@nxp.com> Message-ID: <155120451899.260864.1060210942751564859@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Cc: dl-linux-imx Subject: Re: [PATCH V7 2/2] clk: imx: scu: add cpu frequency scaling support From: Stephen Boyd In-Reply-To: <1551157967-30925-2-git-send-email-Anson.Huang@nxp.com> Date: Tue, 26 Feb 2019 10:08:38 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Anson Huang (2019-02-25 21:17:36) > On NXP's i.MX SoCs with system controller inside, CPU frequency > scaling can ONLY be done by system controller firmware, and it > can ONLY be requested from secure mode, so Linux kernel has to > call ARM SMC to trap to ARM-Trusted-Firmware to request system > controller firmware to do CPU frequency scaling. >=20 > This patch adds i.MX system controller CPU frequency scaling support, > it reuses cpufreq-dt driver and implement the CPU frequency scaling > inside SCU clock driver. >=20 > Signed-off-by: Anson Huang > --- Applied to clk-next