From patchwork Mon Nov 7 08:30:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirza Krak X-Patchwork-Id: 9414453 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 925A560512 for ; Mon, 7 Nov 2016 08:31:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80BAC289F7 for ; Mon, 7 Nov 2016 08:31:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 758F828BF7; Mon, 7 Nov 2016 08:31:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE852289F7 for ; Mon, 7 Nov 2016 08:31:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752596AbcKGIbi (ORCPT ); Mon, 7 Nov 2016 03:31:38 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:34344 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbcKGIaP (ORCPT ); Mon, 7 Nov 2016 03:30:15 -0500 Received: by mail-lf0-f65.google.com with SMTP id o141so7439635lff.1; Mon, 07 Nov 2016 00:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DCvvpZwumzFoxxedTsV2ulS58GSveqs76EB0XCUNL1Y=; b=ti6iqt8ALsUwT9EUrN9H0mUCzGBdByi6oRQsZLSRBgDoRMtM9dPB+WnLgZDYAKBGRU Iqm0zyaLv5fNzsLjhPu42CUlo949ZDf8U8xC13BJ5vpIrIphwT8+UryS2Q4hgrDq0bq3 qHB+IGX58RoHosq2y04ZlC5wUSmLShzePvigc+6qZNWynJOwLg3AywsDzALo3v19bAS4 JwmaZsmKVUbJm3MFmsUBndeWVZLpk6Iq0muOhWsS19u47bOtkabC5rpDswPe898K1n6z 836L+58R1J6C+PsctJsS2H/5Tu5rPevZWXrf9nAwBcOqXjpRbrGpEH5idIEJWjznBzqz ZjXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DCvvpZwumzFoxxedTsV2ulS58GSveqs76EB0XCUNL1Y=; b=hMwfvwgmxZbeYRWt3K3AGxYqX1ga36gtO9wRk8QKrhuahR6DJg9J0uCF7M2AXRLaoz a7t9pclC660pcgTdNCk6TQQWSk9LpWDyWfGpd13IrlZdggMpHaLgs4cQuvEUQkRpUQgu fcNAVk2b+tBq+DFM+rHiV21ovj/RCvdTvH3Nwy89lrmsc+9FocVP9hmLSApi+U2mOioz G0By7dg3rxU715/fnji4zufNHN5dfjicmLLzHrkCSRoK0V5b/NbUqkt6JWAPeEfavVqD 6wZzZEmJ55eA5ft8mq4MySH3r8gi8bBUsQf1eehW4Enls4teEfgg5T8PGkQ4pXLxj5hi srMQ== X-Gm-Message-State: ABUngvejhBXU8Vsofgxoeh5iirASDQai9ps8sfvws7W4ibAKhBnxXsCTWbXUz9dlAXTyng== X-Received: by 10.25.202.6 with SMTP id a6mr2871263lfg.30.1478507413557; Mon, 07 Nov 2016 00:30:13 -0800 (PST) Received: from mirza-hm.lan ([80.252.212.150]) by smtp.gmail.com with ESMTPSA id e15sm4928084lfg.32.2016.11.07.00.30.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 00:30:13 -0800 (PST) From: Mirza Krak X-Google-Original-From: Mirza Krak < mirza.krak@gmail.com > To: swarren@wwwdotorg.org, thierry.reding@gmail.com, jonathanh@nvidia.com Cc: gnurou@gmail.com, linux@armlinux.org.uk, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Mirza Krak Subject: [PATCH V4 2/6] clk: tegra: add TEGRA30_CLK_NOR to init table Date: Mon, 7 Nov 2016 09:30:01 +0100 Message-Id: <1478507405-13204-3-git-send-email-mirza.krak@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1478507405-13204-1-git-send-email-mirza.krak@gmail.com> References: <1478507405-13204-1-git-send-email-mirza.krak@gmail.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mirza Krak Add TEGRA30_CLK_NOR to init table and set default rate to 127 MHz which is max rate. The maximum rate value of 127 MHz is pulled from the downstream L4T kernel. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board Acked-by: Jon Hunter --- Changes in v2: - no changes Changes in v3: - Added comment in commit message where I got the maximum rates from. Changes in V4: - no changes drivers/clk/tegra/clk-tegra30.c | 1 + 1 file changed, 1 insertion(+) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c index 8e2db5e..67f1677 100644 --- a/drivers/clk/tegra/clk-tegra30.c +++ b/drivers/clk/tegra/clk-tegra30.c @@ -1252,6 +1252,7 @@ static struct tegra_clk_init_table init_table[] __initdata = { { TEGRA30_CLK_SDMMC1, TEGRA30_CLK_PLL_P, 48000000, 0 }, { TEGRA30_CLK_SDMMC2, TEGRA30_CLK_PLL_P, 48000000, 0 }, { TEGRA30_CLK_SDMMC3, TEGRA30_CLK_PLL_P, 48000000, 0 }, + { TEGRA30_CLK_NOR, TEGRA30_CLK_PLL_P, 127000000, 0 }, { TEGRA30_CLK_PLL_M, TEGRA30_CLK_CLK_MAX, 0, 1 }, { TEGRA30_CLK_PCLK, TEGRA30_CLK_CLK_MAX, 0, 1 }, { TEGRA30_CLK_CSITE, TEGRA30_CLK_CLK_MAX, 0, 1 },