Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp363832imj; Sat, 16 Feb 2019 02:02:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IaPKof5otzj0gtFbTxwJdwJ4Mf82SWxtAVPaaWTOmzon8ehRB20MliIeNTWKq4/FnztyyJI X-Received: by 2002:a17:902:758f:: with SMTP id j15mr14488448pll.170.1550311328804; Sat, 16 Feb 2019 02:02:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550311328; cv=none; d=google.com; s=arc-20160816; b=Vqxljx3L2NSFGvVNyNUYQ6cL+ovh/0EpRoIOp9AEmfi9uw6ksis7VWaFhG76CjFimn 1raAHtb4VtJlKto8rWsxn45IGrFOxxFt+iz4tzsqks1epyjt/hVmg6reog0BnuawKGIs Y3IkkIz5GUcFIBeb+Gfve8TWGQ0AHhkzXTbzZWF4UT4O5m80fMissqie04Tr1IfHuSxS XmD/mKQlUBtgcTUbK/46Pl5NyY8m2owS+Wj5OBuFYAZPB/hZ5UE9hdqUzVEKXslEjrAm 2tj6fOaFoMFfrKU0u3+STDXBCPZeUwFM3/fkkI4Wl8W73BnaYmKzrHsANPkSGm5WBrVH KhOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:cc:references:message-id :subject:user-agent:in-reply-to:to:content-transfer-encoding :mime-version:dkim-signature; bh=O5tMFdEraOHdNmuSg5PUk6dWxbx6ysYD6z0WMVZZZyE=; b=XvJYWdi3e9l7qYwbGglA6ntpyS0RFozvbc87K/+rXNLL5rfro/Yi4S3056+eQLTSG6 dIcZIH2tFlV12nOiZYYXIqmQjtUi9UQQSSOcEzy7mxpaqyObot8dS+Kc/TGF5nl9gn4u kDXFGoFiOnU9xWDx5bF9RhYu4B5X53o8j751FacBRE1tjdvBrfTqOOpSutL1ZUiOAmKo Cwmi3W1xNXkym35xSHF5Vmdx5LAx7xrdYTosBq6Sgz3h0vNUc91p2NictmHz6WaoqzyS fjGUzEAZzhBLw/cMzsMuzuZnWr17oXGPgQ7vZZVfy9zkTktqNP5sumzgrstfnZ9AgA+B sLOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=J2LmySMk; 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 j1si7213578pff.42.2019.02.16.02.01.52; Sat, 16 Feb 2019 02:02:08 -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=J2LmySMk; 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 S2403796AbfBPAkV (ORCPT + 99 others); Fri, 15 Feb 2019 19:40:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:52294 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726145AbfBPAkV (ORCPT ); Fri, 15 Feb 2019 19:40:21 -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 49168222A1; Sat, 16 Feb 2019 00:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550277620; bh=O5tMFdEraOHdNmuSg5PUk6dWxbx6ysYD6z0WMVZZZyE=; h=To:In-Reply-To:Subject:References:Cc:From:Date:From; b=J2LmySMkhDzjYGgkXhfXO3JDaXBMArPrId82r9KN1iR2WE4X2uX9BtU/1ocJHBrER pY6B7EaHzYCuzX3BqpOH5TbkL6gW6dkPi4+UPGj0ztSThODvPUZfEKumfDVlYsvQ8i cHImqFfPR8GP+Y2FjAMrSiLSjS5UsfrD5NgK0w10= 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" , "viresh.kumar@linaro.org" , Aisheng Dong , Anson Huang , Daniel Baluta In-Reply-To: <1550137826-18531-2-git-send-email-Anson.Huang@nxp.com> User-Agent: alot/0.8 Subject: Re: [PATCH V6 2/2] clk: imx: scu: add cpu frequency scaling support Message-ID: <155027761947.115909.17708921995062238540@swboyd.mtv.corp.google.com> References: <1550137826-18531-1-git-send-email-Anson.Huang@nxp.com> <1550137826-18531-2-git-send-email-Anson.Huang@nxp.com> Cc: dl-linux-imx From: Stephen Boyd Date: Fri, 15 Feb 2019 16:40:19 -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-14 01:55:57) > 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 > --- Acked-by: Stephen Boyd