Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1496599imm; Tue, 22 May 2018 05:08:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZquLmMRxaJbvD0OSpey/yPXNJ4Do4joIkt7VhA/9VUWyDKpQSdgIuJQsmckoh2gDtmPJzXt X-Received: by 2002:a17:902:7209:: with SMTP id ba9-v6mr24979146plb.119.1526990920359; Tue, 22 May 2018 05:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526990920; cv=none; d=google.com; s=arc-20160816; b=D+QHnI4YoHbpLjtrcGunixzY8BqqXufe5y8FlLgnUBZt1kcfA4JFRV7hzXHJyEpRI/ QdXe9RXmXN/0e9tcJ+xSc7wFSTUU8UEyQ+nrfYN4RFRctLpOOKs8wB2Kv/A2HK+2zJE7 cdM71MpglE6yqOqproIPNTPFgPn9xhjKMYMQp12OCFXObeIMZHH0QJpf48XHAnL6Fw9u RrIEK4v/Btp+pNshQ4fuUsA+IOVqbvY0/ufnYGSEW5Dtrm2i5NPbAOQRKuWPaIag5V0p +JKJARyU/xiqOYJXEnvl8EJAmwoVSuMcqb5KEHE/TE1xnxMYNewOjcUTemnMX0Nw+X2Z +rpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=q6rTqE6/tjF3jNBGI2vyupX4NB5A7Q7Afo1i3DQPlp4=; b=l/98yqIb6goQw0zm2QpJDUOyvz7Uo4cE6/8DrfzBTTZq9pPib7iOWsDn6TlUZipLfV Ez+T1jnYXziZX5I8jSxppW+DfXhONj7OPdMACaFrPduz/MRoh+28/gTdFIyuJf2EaQtI eK8yHJ8JqO+LDsOlEnw9KfBl7JqFOcepLMXc5mcsEP4079qCop6GATNbrRrqd3FHOhzV z1FwY2twSWYvNo1umbBF3gZiwDj/CGq6CgCISVEPW8gxbnSu97h4IIrmC7q7WoR7V3oR wBiHgnokdZ92KPyE0OfXMesjfSnPl7vGVHStEmTw4ZiFfUiNpqriItkX6MjS4zSUPWZi +7YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=r7zBLwux; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g59-v6si16459100plb.381.2018.05.22.05.08.23; Tue, 22 May 2018 05:08:40 -0700 (PDT) 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=@agner.ch header.s=dkim header.b=r7zBLwux; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752860AbeEVMHb (ORCPT + 99 others); Tue, 22 May 2018 08:07:31 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:40390 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751729AbeEVMHY (ORCPT ); Tue, 22 May 2018 08:07:24 -0400 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 2678A5C1B1B; Tue, 22 May 2018 14:07:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1526990842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q6rTqE6/tjF3jNBGI2vyupX4NB5A7Q7Afo1i3DQPlp4=; b=r7zBLwuxN99oFwpf2jZmHvlqXGlqIwe+fnwPuvQCzCGVuxAWs560aKPDhrdFGl4QcmtlnD awB9t1HDgl2VVvrdjg54HJFkZrPWm3lx/UnrZ2WuaM1JOH7xrQmIJO0FW2/4qq/PJGo+++ uCe2nNUNtJB50H3YWua0as2G/i82LLM= From: Stefan Agner To: boris.brezillon@bootlin.com, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, thierry.reding@gmail.com, mturquette@baylibre.com, sboyd@kernel.org Cc: dev@lynxeye.de, miquel.raynal@bootlin.com, richard@nod.at, marcel@ziswiler.com, krzk@kernel.org, digetx@gmail.com, benjamin.lindqvist@endian.se, jonathanh@nvidia.com, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mirza.krak@gmail.com, linux-mtd@lists.infradead.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Stefan Agner Subject: [RESEND PATCH 3/5] clk: tegra20: init NDFLASH clock to sensible rate Date: Tue, 22 May 2018 14:07:07 +0200 Message-Id: <7b870e6f8ea65606d136314a34a79f63c244b13c.1526990589.git.stefan@agner.ch> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: X-Spamd-Result: default: False [-2.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWELVE(0.00)[26]; BAYES_HAM(-3.00)[100.00%]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_CONTAINS_FROM(1.00)[]; ASN(0.00)[asn:6830, ipnet:46.140.0.0/17, country:AT]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lucas Stach Set up the NAND Flash controller clock to run at 150MHz instead of the rate set by the bootloader. This is a conservative rate which also yields good performance. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- drivers/clk/tegra/clk-tegra20.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c index 0ee56dd04cec..dff8c425cd28 100644 --- a/drivers/clk/tegra/clk-tegra20.c +++ b/drivers/clk/tegra/clk-tegra20.c @@ -1049,6 +1049,7 @@ static struct tegra_clk_init_table init_table[] __initdata = { { TEGRA20_CLK_GR2D, TEGRA20_CLK_PLL_C, 300000000, 0 }, { TEGRA20_CLK_GR3D, TEGRA20_CLK_PLL_C, 300000000, 0 }, { TEGRA20_CLK_VDE, TEGRA20_CLK_CLK_MAX, 300000000, 0 }, + { TEGRA20_CLK_NDFLASH, TEGRA20_CLK_PLL_P, 150000000, 0 }, /* must be the last entry */ { TEGRA20_CLK_CLK_MAX, TEGRA20_CLK_CLK_MAX, 0, 0 }, }; -- 2.17.0