From patchwork Thu Oct 27 14:01:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirza Krak X-Patchwork-Id: 9399469 X-Patchwork-Delegate: sboyd@codeaurora.org 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 3B7C660231 for ; Thu, 27 Oct 2016 14:15:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D7932A280 for ; Thu, 27 Oct 2016 14:15:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F54B2A313; Thu, 27 Oct 2016 14:15:48 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 1E68C2A280 for ; Thu, 27 Oct 2016 14:15:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755565AbcJ0OB0 (ORCPT ); Thu, 27 Oct 2016 10:01:26 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:33541 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942177AbcJ0OBX (ORCPT ); Thu, 27 Oct 2016 10:01:23 -0400 Received: by mail-lf0-f65.google.com with SMTP id n3so2022577lfn.0; Thu, 27 Oct 2016 07:01:22 -0700 (PDT) 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=OYvonOxovlCPOCmzEF5tkFdO4+rjcuNcj3lKLz+De28=; b=z62SulDKfSKg5jLJqtglmuz9ETXseMH+XG9x7Hq3Rh/bKr2VtHDmZmPwdHTgcfroxo 5CNsF41I9idAhA+8NY1yos4opzKFwH3hsmMR2z9gQiejwAJMpbkf1UsE/bjJIOVI3k/z SXAkd3fGEw/maZUQKI6knyylJjy1L53UC739K568sx4t3uHII2jSclpORoN/emQrNmNh E+ipTnaIPBD/IXuoCu5rS8sewHBo3rGeoy99xEwaYv2/UoN0q7sCPHiQ+540F5ABV60Y 176vzt2Op7eHN/qrqviWbRwamiUvMYR9DgB7Qa58+fyU4cNtN4N6oD4dLx5xmEqz6a3+ 5wmw== 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=OYvonOxovlCPOCmzEF5tkFdO4+rjcuNcj3lKLz+De28=; b=Bp94uGwYqgFfPmfaocHUjgfnXuAh6eURzxyupTrKBmTtDNfWOPhzar1R9tLN31/fM2 PYlueK3CBD42elbTIc4aILG7w/H9Q2IQF7obZYyABJ2JaYhhj+AQBHBCVM3dGejkMl9i BdKPF6Bt1TIWrtt/PYm1szAQSvSpAsGrGRj7QAwrvXJO8n9KBij582kAh/qFmGWr+1aA e1BgjkbIQoHEBzmwmCPxmAtHDXHdhntfL+1z+R8sUfcpRzuDrUmHAEZNx1nzTb9/nyum k76r6Xhk6lqXIqikZwgxf2VEg9zaklCgnDhuFWg6GKNoimc2pqSEgNR2yuZ6uMYQG/f2 BpKg== X-Gm-Message-State: ABUngvfyKutfNtOTyjoRfC45tCK1t/dh9zEnVRi6QLjmsRuvZa4jh9nD3yR/ONtQKQapdg== X-Received: by 10.25.76.130 with SMTP id z124mr5355952lfa.53.1477576881128; Thu, 27 Oct 2016 07:01:21 -0700 (PDT) Received: from mirza-hm.lan ([80.252.212.150]) by smtp.gmail.com with ESMTPSA id 187sm1302752ljj.4.2016.10.27.07.01.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 07:01:20 -0700 (PDT) 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 V3 2/6] clk: tegra: add TEGRA30_CLK_NOR to init table Date: Thu, 27 Oct 2016 16:01:08 +0200 Message-Id: <1477576872-2665-3-git-send-email-mirza.krak@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1477576872-2665-1-git-send-email-mirza.krak@gmail.com> References: <1477576872-2665-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. 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 },