Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp1782333imc; Fri, 22 Feb 2019 11:04:31 -0800 (PST) X-Google-Smtp-Source: AHgI3IasDEhlTWV0TWv5Vs95KcBcjUW/BQ9prK5snU6WZNVkNitRSIHeAgPga2kuZAKSF5tJPDZI X-Received: by 2002:a63:e553:: with SMTP id z19mr5322008pgj.331.1550862271420; Fri, 22 Feb 2019 11:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550862271; cv=none; d=google.com; s=arc-20160816; b=wL4EtS7zubw0eGLrFaN6Kd64+rMQ6misG2NKZD76ljd6TTnYVhpOjFvn/EQYX0HZlM Vd7gpasn3N/xmg+HN7HJZEdBap2Tc+O/7/bW/ajhwRh8f1chhIZh128nV6zW5SHtzKOQ iGI/HcIwQ/5MKLVxZfd2mS2QzKg4mOYijU+yqfO1QjzZgQVllfKR2wzfqiXonrpmkXD+ B/fPhV0oM0+l+iW6lvNQeARH0AkuBPn9ZQURBU1oAqXRRPWctYPvXs9K6tVola1ggfxF 4ytUZVXbWsJ1s6iVLHI+tAFiRZdbk7TBWyiCw/1f9trKbDgvQkatqYs+P7yhCoXv0j2V sNkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:in-reply-to:from:references :user-agent:message-id:subject:content-transfer-encoding :mime-version:dkim-signature; bh=oHYuZyL+hSxgM6rvJNLmVtPyPI9Zmo8DfRJ6wDGNVqk=; b=ZBBfZaJ5JhV/iFgEE7lb36IBCFmIN3xzQReCFqKI5ZC+GbOsE5D4vJ7U3RkrRoW49o BhksNrJdj4xRtBvbEBAvSz0nhNsiEPG1ja+21rY8z4d6RiVFao6gaVbtQ7PelWtzMTvQ aosDr0s/P6rRSXvt4HUmsS3XZrn3m2S3Jv4/FuXX23me61YlqCJqApr3mJHCIkke51PU zfuAWTAhS1PjO+w046KTCm1OaauOMiMj78kTSbViCFs1fir+6aUgLKFxbgClMLxc/a0d L/EwM0tMd3hQt1+BTjxPKvDXDk7OJ+STOZJYtZFQZtzsms2Gl4QMWv34fsUnZRiJr3li if0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oht29A8G; 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 r15si1464642pgv.389.2019.02.22.11.04.15; Fri, 22 Feb 2019 11:04:31 -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=oht29A8G; 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 S1726604AbfBVTDv (ORCPT + 99 others); Fri, 22 Feb 2019 14:03:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:48808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbfBVTDu (ORCPT ); Fri, 22 Feb 2019 14:03:50 -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 0E5DB20700; Fri, 22 Feb 2019 19:03:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550862230; bh=oHYuZyL+hSxgM6rvJNLmVtPyPI9Zmo8DfRJ6wDGNVqk=; h=Subject:References:From:In-Reply-To:To:Cc:Date:From; b=oht29A8Geq9cg3EWochvXypGVtOlH1d1DhNwq39sJUF/DdAG7F8BaFD2/UBbXjTSh vjkKDUxrg1e7vkSxKiMqz5ivvvL7BsBB1GW5Ncx4OEoQsZ7W0QLCKQGUDboc9YmMw4 RecOwsq0dibUEzmMRUg4zqF0vE742ABAzqZSygNk= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH RESEND V6 2/2] clk: imx: scu: add cpu frequency scaling support Message-ID: <155086222918.77512.13959395913988791957@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 References: <1550802436-13007-1-git-send-email-Anson.Huang@nxp.com> <1550802436-13007-2-git-send-email-Anson.Huang@nxp.com> From: Stephen Boyd In-Reply-To: <1550802436-13007-2-git-send-email-Anson.Huang@nxp.com> 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 Cc: dl-linux-imx Date: Fri, 22 Feb 2019 11:03:49 -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-21 18:32:10) > 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