From patchwork Wed Apr 19 17:46:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 9688517 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 4412A602DC for ; Wed, 19 Apr 2017 17:48:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A53928354 for ; Wed, 19 Apr 2017 17:48:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F0ED2842E; Wed, 19 Apr 2017 17:48:45 +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 AF6CB28354 for ; Wed, 19 Apr 2017 17:48:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968709AbdDSRso (ORCPT ); Wed, 19 Apr 2017 13:48:44 -0400 Received: from mail-yb0-f194.google.com ([209.85.213.194]:36628 "EHLO mail-yb0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968672AbdDSRsn (ORCPT ); Wed, 19 Apr 2017 13:48:43 -0400 Received: by mail-yb0-f194.google.com with SMTP id b2so1506584yba.3; Wed, 19 Apr 2017 10:48:43 -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=t91VjSPEUJ96j7zWAUSzK/9jYsIpQ2/qVjT67esgkOo=; b=HKy7oMEP1RamarJo6fJRJHb46Sscnoar42G96899vy7Eai0pYpFOMjzthJJBckTA/l ljnko6dFnSJwc2N7/StGw8rWaeCcRcyGs1BFbBahZDFijVhjp/a0BDHSxaHh9a75mssz vVavB7caSbuNFJEHDuOSorWZ76ptWw6kwIxsCDc90XecnP6xHl/S03LY0INCbDBhG8Pw 1uqAHFa23JNiarfhq8mrDWGqkp51npp7zUdwVLIHonMPiyML/5yZMRal8eyiKVO8ckDN VcQMAGayn9DoeUJpFwsJhWKwV2tMFNSRpe/wZgXvSGURTKkG5SdDLqnSgFhPZY+VByM3 yx1A== 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=t91VjSPEUJ96j7zWAUSzK/9jYsIpQ2/qVjT67esgkOo=; b=L4IvpVe0HYeyxos7Pitg5fU0Yx0dTzArRa8ZjUbGhSoqEc53A+/IRA95p+8T2BggH+ u9fl7OVUUkXxE2rRI04m53bAW9BUDFLXHfkQEdolW9JkQuhMVqmRRgH7FYzS1M4VY+TM NuEcJDLFGuCW98njLGyn0MxijwGLk446CrrEAlmMH2edSZw1gEwCNiJr3h9LLnGZ0bew KQmd/Gr4mtNnb7qh3cu7ZUi4Lvq5WB7Po0/+spLcO7+ln2r5Rw3p/hUXkWUy7znHfcrW oHdvSMadVVWAkqV02MAVAcWHnsaAl+TgefAep708m0H1qviKmdz3Qibh2nwQU87v3klh n6GQ== X-Gm-Message-State: AN3rC/4DndErwzYkLo/dvtyal9Q6oK/fG9UEAm/KAYXFH5e37vH1jids Y+3d6Vt0RbAScA== X-Received: by 10.84.205.70 with SMTP id o6mr5220658plh.63.1492624122502; Wed, 19 Apr 2017 10:48:42 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Apr 2017 10:48:42 -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 SRC clock Date: Thu, 20 Apr 2017 02:46:35 +0900 Message-Id: <1492624001-3758-15-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 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: Kazuya Mizuguchi This patch adds SCU(all), SCU(SRC{0,1,2,3,4,5,6,7,8,9}), SCU(CTU00, CTU01, CTU02, CTU03, MIX0) and SCU (CTU10, CTU11, CTU12, CTU13, MIX1) 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mssr.c index 9be8187..9a18cb7 100644 --- a/drivers/clk/renesas/r8a7796-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7796-cpg-mssr.c @@ -219,6 +219,19 @@ enum clk_ids { DEF_MOD("ssi2", 1013, MOD_CLK_ID(1005)), DEF_MOD("ssi1", 1014, MOD_CLK_ID(1005)), DEF_MOD("ssi0", 1015, MOD_CLK_ID(1005)), + DEF_MOD("scu-all", 1017, R8A7796_CLK_S3D4), + DEF_MOD("scu-ctu1-mix1", 1020, MOD_CLK_ID(1017)), + DEF_MOD("scu-ctu0-mix0", 1021, MOD_CLK_ID(1017)), + DEF_MOD("scu-src9", 1022, MOD_CLK_ID(1017)), + DEF_MOD("scu-src8", 1023, MOD_CLK_ID(1017)), + DEF_MOD("scu-src7", 1024, MOD_CLK_ID(1017)), + DEF_MOD("scu-src6", 1025, MOD_CLK_ID(1017)), + DEF_MOD("scu-src5", 1026, MOD_CLK_ID(1017)), + DEF_MOD("scu-src4", 1027, MOD_CLK_ID(1017)), + DEF_MOD("scu-src3", 1028, MOD_CLK_ID(1017)), + DEF_MOD("scu-src2", 1029, MOD_CLK_ID(1017)), + DEF_MOD("scu-src1", 1030, MOD_CLK_ID(1017)), + DEF_MOD("scu-src0", 1031, MOD_CLK_ID(1017)), }; static const unsigned int r8a7796_crit_mod_clks[] __initconst = {