Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1732397
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33 |
| Date | Thu, 14 Sep 2017 18:10:01 +0200 |
| Message-ID | <upESd-7ea-1@gated-at.bofh.it> (permalink) |
| References | <upEIx-6V9-7@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1505404340; x=1536940340; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ScSbu4HtnhRePJ9ocFjicbqBcWvCMuKxSfWEdvtyiTU=; b=g+m2AioAPWHhWEJlBpLtl8xsyONo9u8JooEJHpS+dxNo6P/D30SmBc4v VTReE+ebnjNTuAP4Y1W+9o0PVzzWmCRnDHNA1E5hYjq8tHXNAD2hdzGsZ ZAAdjaV9RcElGfq5FrSqfRQLr8uyZ+6jTyA+yDVn//BrvUkTAmNxDt7rs s=; |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1505404298; x=1536940298; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ScSbu4HtnhRePJ9ocFjicbqBcWvCMuKxSfWEdvtyiTU=; b=Pywm9CnzN1QMROfb/5/tCGJCK4/4FzhFl8JkZ3+7JhxmQO/I1rNXSwHb 3iQV/cEqvLa0rS3Jo5//p1Xe8mkxPqMGPl+zVSZ+HjZkR8d9zYgucDFsf HPSu7XPCHaUl7QNVvCT7hjsCgbJgJPZYD2MXwWPvi2A3QhLVTlQQhKq/Q 0=; |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1505404298; x=1536940298; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ScSbu4HtnhRePJ9ocFjicbqBcWvCMuKxSfWEdvtyiTU=; b=Pywm9CnzN1QMROfb/5/tCGJCK4/4FzhFl8JkZ3+7JhxmQO/I1rNXSwHb 3iQV/cEqvLa0rS3Jo5//p1Xe8mkxPqMGPl+zVSZ+HjZkR8d9zYgucDFsf HPSu7XPCHaUl7QNVvCT7hjsCgbJgJPZYD2MXwWPvi2A3QhLVTlQQhKq/Q 0=; |
| X-Host | discovery.odc.vzwcorp.com |
| Thread-Topic | [PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33 |
| Thread-Index | AQHTLXFHxnd1R0cBDEyoES5gae49pg== |
| Accept-Language | en-US |
| Content-Language | en-US |
| X-Ms-Exchange-Messagesentrepresentingtype | 1 |
| X-Ms-Exchange-Transport-Fromentityheader | Hosted |
| X-Originating-IP | [10.144.60.250] |
| Content-Type | text/plain; charset="iso-8859-1" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Icenowy Zheng <icenowy@aosc.xyz>, Maxime Ripard <maxime.ripard@free-electrons.com>, "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> |
| X-Original-Date | Thu, 14 Sep 2017 15:51:06 +0000 |
| X-Original-Message-ID | <20170914155051.8289-7-alexander.levin@verizon.com> |
| X-Original-References | <20170914155051.8289-1-alexander.levin@verizon.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1732397 |
Show key headers only | View raw
From: Icenowy Zheng <icenowy@aosc.xyz>
[ Upstream commit bb021cda2ccf45ee9470bf0f8c55323ad1c761ae ]
The CPUX clock on A33, which is for the Cortex-A7 cores, is designed to
be changeable by changing the rate of PLL_CPUX.
Add CLK_SET_RATE_PARENT flag to this clock.
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
---
drivers/clk/sunxi-ng/ccu-sun8i-a33.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-a33.c b/drivers/clk/sunxi-ng/ccu-sun8i-a33.c
index 9bd1f78a0547..d54e5db3959a 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-a33.c
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-a33.c
@@ -170,7 +170,7 @@ static SUNXI_CCU_N_WITH_GATE_LOCK(pll_ddr1_clk, "pll-ddr1",
static const char * const cpux_parents[] = { "osc32k", "osc24M",
"pll-cpux" , "pll-cpux" };
static SUNXI_CCU_MUX(cpux_clk, "cpux", cpux_parents,
- 0x050, 16, 2, CLK_IS_CRITICAL);
+ 0x050, 16, 2, CLK_IS_CRITICAL | CLK_SET_RATE_PARENT);
static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0);
--
2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33 "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-09-14 18:10 +0200
Re: [PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33 icenowy@aosc.io - 2017-09-15 04:10 +0200
Re: [PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33 "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-09-15 04:20 +0200
csiph-web