From patchwork Fri Dec 4 13:54:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 7768061 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 936849F350 for ; Fri, 4 Dec 2015 13:54:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C281A20351 for ; Fri, 4 Dec 2015 13:54:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ECBE1202D1 for ; Fri, 4 Dec 2015 13:54:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753214AbbLDNyx (ORCPT ); Fri, 4 Dec 2015 08:54:53 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:37449 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752710AbbLDNyw (ORCPT ); Fri, 4 Dec 2015 08:54:52 -0500 Received: by wmww144 with SMTP id w144so65795044wmw.0 for ; Fri, 04 Dec 2015 05:54:51 -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; bh=I675BffMBKd25QxSqZYhvuzAXVjhg3b7fMIanF4u4Iw=; b=iQS5f3PAKt3QQF+KPWEUzmtzcPq043bGW3VsLgRr3C+NVHoJFJnSraRzKrgpOzXSUB Q//Ld3G8jeT5uYhlS9cPBytAO6Ep4MxidW++zkZ7aPlbRtfmvB5EXNTciwQJZlxhOPDH 7QbxGZdl+b3yAeEAw1eLTgkGPc7AgaLMLD8+gwlVz6ceTCTlsanidOWjwik/uiTI4GNc W68dYtbk/5QP1UUUOUsH39EHOIfj4d0+wUJ1siZY1JVfcvDeadiOLcLP2hVmxxW9XdWJ xgaXNfDvtCCw3TaWOtgZcQyY7U3hklXCLEidSnwiBqclFdT2B8yFwLIi0sPuCkKwpkYn bvyg== X-Received: by 10.28.19.20 with SMTP id 20mr5416525wmt.49.1449237291441; Fri, 04 Dec 2015 05:54:51 -0800 (PST) Received: from localhost.localdomain (p4FEE0B7A.dip0.t-ipconnect.de. [79.238.11.122]) by smtp.gmail.com with ESMTPSA id hp9sm12175732wjb.43.2015.12.04.05.54.50 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 05:54:50 -0800 (PST) From: Dirk Behme To: linux-sh@vger.kernel.org, geert+renesas@glider.be, horms+renesas@verge.net.au Cc: Dirk Behme Subject: [PATCH] clk: shmobile: r8a7795: Add SDHI clocks Date: Fri, 4 Dec 2015 14:54:44 +0100 Message-Id: <1449237284-4744-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 2.6.3 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add R8A7795 SDHI clocks. Signed-off-by: Dirk Behme --- Note: This patch is based on https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/gen3-latest renesas-drivers-2015-12-01-v4.4-rc3 drivers/clk/shmobile/r8a7795-cpg-mssr.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/clk/shmobile/r8a7795-cpg-mssr.c b/drivers/clk/shmobile/r8a7795-cpg-mssr.c index 05479e6..b8831bd 100644 --- a/drivers/clk/shmobile/r8a7795-cpg-mssr.c +++ b/drivers/clk/shmobile/r8a7795-cpg-mssr.c @@ -99,6 +99,10 @@ static const struct cpg_core_clk r8a7795_core_clks[] __initconst = { DEF_FIXED("s3d1", R8A7795_CLK_S3D1, CLK_S3, 1, 1), DEF_FIXED("s3d2", R8A7795_CLK_S3D2, CLK_S3, 2, 1), DEF_FIXED("s3d4", R8A7795_CLK_S3D4, CLK_S3, 4, 1), + DEF_FIXED("sd0", R8A7795_CLK_SD0, CLK_PLL1_DIV2, 16, 1), + DEF_FIXED("sd1", R8A7795_CLK_SD1, CLK_PLL1_DIV2, 16, 1), + DEF_FIXED("sd2", R8A7795_CLK_SD2, CLK_PLL1_DIV2, 16, 1), + DEF_FIXED("sd3", R8A7795_CLK_SD3, CLK_PLL1_DIV2, 16, 1), DEF_FIXED("cl", R8A7795_CLK_CL, CLK_PLL1_DIV2, 48, 1), DEF_FIXED("cp", R8A7795_CLK_CP, CLK_EXTAL, 2, 1), @@ -120,6 +124,10 @@ static const struct mssr_mod_clk r8a7795_mod_clks[] __initconst = { DEF_MOD("sys-dmac1", 218, R8A7795_CLK_S3D1), DEF_MOD("sys-dmac0", 219, R8A7795_CLK_S3D1), DEF_MOD("scif2", 310, R8A7795_CLK_S3D4), + DEF_MOD("sdhi3", 311, R8A7795_CLK_SD3), + DEF_MOD("sdhi2", 312, R8A7795_CLK_SD2), + DEF_MOD("sdhi1", 313, R8A7795_CLK_SD1), + DEF_MOD("sdhi0", 314, R8A7795_CLK_SD0), DEF_MOD("pcie1", 318, R8A7795_CLK_S3D1), DEF_MOD("pcie0", 319, R8A7795_CLK_S3D1), DEF_MOD("intc-ap", 408, R8A7795_CLK_S3D1),