Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp44339imu; Fri, 14 Dec 2018 14:06:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/ValoNAib+p9k95rj+sRdxNSoDJ1KTukrkIdJBJ3jl9inYepUOOEjmUdqrerl4NBriCU96E X-Received: by 2002:a62:868b:: with SMTP id x133mr4705504pfd.252.1544825216614; Fri, 14 Dec 2018 14:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544825216; cv=none; d=google.com; s=arc-20160816; b=tLNxXnUNnhdTNgaIvoZHOWfX3QYlDsUN+g4Pch5afJpl5iLqOirW7+QoawF2+lzOQf 1+rD9kXXHV7NaAnsnHFDU6EJK6CUrr3z0znG6EVk6F92bv2Dpeo/GsVH9cQ9eNgu5QRK XEyQjP0iyTAEPXgPis2w7V6oZs2ILMGMspF8yqzAe3hxZrxDoc24tgCswG8L1c8oK07g nQ35GH4gIcMfCtOgnrgCH73cNmLonzoRs5mdsJxXZj/SbNBxxqrvht+czvOmSOZ0NnTO wN6spcUNKVhXhazPqsGY7FJQdiRRx31lL4dnzTt5Nwxa/Ydsf47s/PWwprA0XlbhvgMX ulNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:user-agent:from:message-id :references:to:subject:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=uPAu0PGfNDrz9YBvgI+ScdKRy4aJsIehPLLvwCnhnbs=; b=HAdMzQd8C1vEPX566FzXpxR9krwV1iR+gkQCvaQze3t0RYdTIyZkefLq9tFGwmLU4O fG0b9DGPbiprchO34a8q5qV5nT/97qjqhZOxVV7PNGEfZeeWF5Bg3NDTg/EwgRgsbwrq 58gpSjjSWk4OTExDTRiv2Brdqxi44l5DdxxR3Sqe7mn1f7AmNvTy/qf1uLeSTb+rEQzV bCrIBhnsvDMmvF5V6Qc0/gRzvVk8Ps7WqDf1J1JpuHra607BKz+SsoaujOwr4zKDalZ6 Z5x5+zbfjbYlY63ZhE/aZU/+jQXroRZlp6b1vSKRUZfWmTJL7AOcw8/8Zajy/qm+w8Z+ WFYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=u9j7xXR+; 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 i13si4967754pgg.100.2018.12.14.14.06.42; Fri, 14 Dec 2018 14:06:56 -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=u9j7xXR+; 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 S1731347AbeLNWEo (ORCPT + 99 others); Fri, 14 Dec 2018 17:04:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:54580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730909AbeLNWEo (ORCPT ); Fri, 14 Dec 2018 17:04:44 -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 3BDD42080F; Fri, 14 Dec 2018 22:04:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544825084; bh=NLwTeu7fdWAbV8YgHfUMzhi344wmzGw+2qdSCrS4GLM=; h=In-Reply-To:Subject:To:References:From:Cc:Date:From; b=u9j7xXR+uTuo19BJ8loI1aqbYjhmWD48YyWABxmnXAf2uJkEGznTQFwhNB7N2/k3c NY0ynkm2D/N7xiD7iD4goNnj47aSIwWWFkHA2viPOcU0e91tAbc9vrdz20247aSkNu 6a7LAoSg8FyKx1LqhEoyQi0ijx6IyLN69WCUSz0o= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1544176659-32022-2-git-send-email-Anson.Huang@nxp.com> Subject: Re: [PATCH 2/3] clk: imx: imx7ulp: add arm hsrun mode clocks support To: "devicetree@vger.kernel.org" , "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 , Fabio Estevam References: <1544176659-32022-1-git-send-email-Anson.Huang@nxp.com> <1544176659-32022-2-git-send-email-Anson.Huang@nxp.com> Message-ID: <154482508301.19322.1653003805163251008@swboyd.mtv.corp.google.com> From: Stephen Boyd User-Agent: alot/0.8 Cc: dl-linux-imx Date: Fri, 14 Dec 2018 14:04:43 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Anson Huang (2018-12-07 02:03:34) > i.MX7ULP has a Cortex-A7 CPU which can run in RUN mode > or HSRUN mode, it is controlled in SMC1 module. The RUN > mode and HSRUN mode will use different clock source for > ARM, "divcore" for RUN mode and "hsrun_divcore" for HSRUN > mode, so the control bits in SMC1 module can be abstracted > as a HW clock mux, this patch adds HSRUN mode related > clocks in SCG1 module and adds "arm" clock in SMC1 module > to support RUN mode and HSRUN mode switch. >=20 > Latest clock tree in RUN mode as below: >=20 > firc 0 0 0 48000000 = 0 0 50000 > firc_bus_clk 0 0 0 48000000 = 0 0 50000 > hsrun_scs_sel 0 0 0 48000000 = 0 0 50000 > hsrun_divcore 0 0 0 48000000 = 0 0 50000 >=20 > sosc 3 3 3 24000000 = 0 0 50000 > spll_pre_sel 1 1 1 24000000 = 0 0 50000 > spll_pre_div 1 1 2 24000000 = 0 0 50000 > spll 1 1 2 528000000 = 0 0 50000 > spll_pfd0 1 1 1 500210526 = 0 0 50000 > spll_pfd_sel 1 1 0 500210526 = 0 0 50000 > spll_sel 1 1 0 500210526 = 0 0 50000 > scs_sel 1 1 0 500210526 = 0 0 50000 > divcore 1 1 0 500210526 = 0 0 50000 > arm 1 1 0 500210526 = 0 0 50000 >=20 > Signed-off-by: Anson Huang > --- Applied to clk-next