From patchwork Wed Apr 19 17:46:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 9688513 X-Patchwork-Delegate: geert@linux-m68k.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 371FE60383 for ; Wed, 19 Apr 2017 17:48:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D9B8283E8 for ; Wed, 19 Apr 2017 17:48:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21FF928387; Wed, 19 Apr 2017 17:48:22 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 CF246283E8 for ; Wed, 19 Apr 2017 17:48:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935019AbdDSRsV (ORCPT ); Wed, 19 Apr 2017 13:48:21 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:35800 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965414AbdDSRsU (ORCPT ); Wed, 19 Apr 2017 13:48:20 -0400 Received: by mail-io0-f194.google.com with SMTP id d203so5638958iof.2; Wed, 19 Apr 2017 10:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=FZ23NzuAghKEKUMS6nRssiyJ+dfKPujmHJ88yJRbdDI=; b=BQqrbgYZY01r9VFtVVlir2H5SJirIzusKm5fW1CSZQjXme0eO0g7KpakY7k70OTS1U 7GNq8sBljPbatLgIgIaXMrn/EFHjecx+0A0JVN5aXG0bcWdcCk8DayhIifaOVYC523j4 B8UHcJEIfpO+Y+IkDMRxqyQzshu5W8BmSp0NkADENcNakeQbvz4TEUaJSqaJkmUf4O0V vVho7dRKJtG8Q3L61XGqvzZAML15YhFT1VrFKfPjqXgyjAyFLCXIV+JfZgtinMGM9jH3 foVlv0m5Dne+52hTnX7GVPPH4poUQH9wrMViGXwXpgqe3JRtzYsg88WGuZ38uECWHt+P Pd2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FZ23NzuAghKEKUMS6nRssiyJ+dfKPujmHJ88yJRbdDI=; b=EzJy60inMb16/BJQsXhK6kHE4eMxaayjO8RhFKs2O5hqUZnWR64N3NuwMy4ir8SoNU Ein7fKkpBWHBJVbKnop5fVyBwrCeFu1UXXwlhujfanKB8Je1F27w/hcGAgYbuAOzoexg H/ziDG7NUdq+LzIXB8myWs8/y557BbLcc+FoE408BADkz67cX8cwH8soXC1PSTQvwVbM Zf3CHpYhB0weqLzjnGrzJtgl8qFSJUXkQ95bdeI0skECd0MBFlIVE1Lsv8qecu+bxT43 BfQzoIrhmgxN/tQ5N3s+7Gj1Zc6w+2k0VfuZ8bu6DZivfmkHSboIf2UEL5RkgGsYWaZM Ojlw== X-Gm-Message-State: AN3rC/7CB1T6jDXSVYzbowCQFl09hWwhXt4zx1aR1eyb2URGzzWB0c85 hf8aTOyj5S2Vew== X-Received: by 10.99.43.212 with SMTP id r203mr4184238pgr.114.1492624099636; Wed, 19 Apr 2017 10:48:19 -0700 (PDT) Received: from localhost.localdomain (KD118152108246.ppp-bb.dion.ne.jp. [118.152.108.246]) by smtp.gmail.com with ESMTPSA id x68sm5760574pgx.57.2017.04.19.10.48.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Apr 2017 10:48:19 -0700 (PDT) From: Yoshihiro Kaneko To: linux-clk@vger.kernel.org Cc: Michael Turquette , Stephen Boyd , Geert Uytterhoeven , Simon Horman , Magnus Damm , linux-renesas-soc@vger.kernel.org Subject: [PATCH] clk: renesas: r8a7796: Add Sound SSI clock Date: Thu, 20 Apr 2017 02:46:34 +0900 Message-Id: <1492624001-3758-14-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kazuya Mizuguchi This patch adds SSI(all) and SSI{0,1,2,3,4,5,6,7,8,9} clocks for R8A7796 SoC. Signed-off-by: Kazuya Mizuguchi Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven --- This patch is based on the clk-next branch of linux-clk tree. drivers/clk/renesas/r8a7796-cpg-mssr.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mssr.c index 27afd48..9be8187 100644 --- a/drivers/clk/renesas/r8a7796-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7796-cpg-mssr.c @@ -208,6 +208,17 @@ enum clk_ids { DEF_MOD("i2c2", 929, R8A7796_CLK_S3D2), DEF_MOD("i2c1", 930, R8A7796_CLK_S3D2), DEF_MOD("i2c0", 931, R8A7796_CLK_S3D2), + DEF_MOD("ssi-all", 1005, R8A7796_CLK_S3D4), + DEF_MOD("ssi9", 1006, MOD_CLK_ID(1005)), + DEF_MOD("ssi8", 1007, MOD_CLK_ID(1005)), + DEF_MOD("ssi7", 1008, MOD_CLK_ID(1005)), + DEF_MOD("ssi6", 1009, MOD_CLK_ID(1005)), + DEF_MOD("ssi5", 1010, MOD_CLK_ID(1005)), + DEF_MOD("ssi4", 1011, MOD_CLK_ID(1005)), + DEF_MOD("ssi3", 1012, MOD_CLK_ID(1005)), + DEF_MOD("ssi2", 1013, MOD_CLK_ID(1005)), + DEF_MOD("ssi1", 1014, MOD_CLK_ID(1005)), + DEF_MOD("ssi0", 1015, MOD_CLK_ID(1005)), }; static const unsigned int r8a7796_crit_mod_clks[] __initconst = {