From patchwork Wed Sep 19 18:10:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10606141 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 282E91508 for ; Wed, 19 Sep 2018 18:10:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D5212CA17 for ; Wed, 19 Sep 2018 18:10:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17C1A2CA2A; Wed, 19 Sep 2018 18:10:47 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 5AD1B2CA17 for ; Wed, 19 Sep 2018 18:10:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727675AbeISXtu (ORCPT ); Wed, 19 Sep 2018 19:49:50 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:36227 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728096AbeISXtu (ORCPT ); Wed, 19 Sep 2018 19:49:50 -0400 Received: by mail-lf1-f65.google.com with SMTP id v17-v6so2087253lfe.3 for ; Wed, 19 Sep 2018 11:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vLABoQpYkRGNgXag8xbagsTLUNnUT7hFPckmJUwwgTs=; b=ySqArXc6mc2ywEHo6ZETNc7/XnT/tp5Au4CtIsYgOvir5HYDhzwVaAg80lkkvw8kuk v+XWbLtXv8kAca2VkGa9zRALRrtiibZSSvvR3rFDjL8vZEfHDYUHyvT0uHljUKZEHY93 5SkULUcHKDg3Re6uyVYmgxcj+hmCc8JazPDhUUonvUePuWgVSe420Uca4spVIq5Dvh0j jkyNQfQ+nK30aQdRSh73AS60bh2l/XTSYVJdcCqUaj93JEHJ9rxPo9cXxsXA9WZ0iilC FaSTFUcv028oBLpRtNktUSCrhrOdWw+262XiYl2NXfoTyK7b7lgoUBWHju7XfXBLlG3W VZZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=vLABoQpYkRGNgXag8xbagsTLUNnUT7hFPckmJUwwgTs=; b=UcJdeygfdaQHQr7jZyZ5jHSUc3H9GFC+jKq4qmR2ezWzGPd6DOQOaCO/tlJ4PRZmBZ 4ZBxPQ7pJgroCVJFLSo2nWIoEJwyKV4W7nj6LB5hA1YX39MkYAMzDfk6U1Yln8f1a1eI 50s5zJmczhsUCwUg8snewkbEkwTG/HqJQolo+h7M2QeOvdaB+Xt8JmCwGXhTO+dqtd1e khQH6RpSkDJdAwMmHjbbQ+WF/Dxr98eSpOEaAxbd6v4nFUihvLMpc+pKygxQAz6JtrpY 5hRmyleqQYUJhdleIwe14aVFpI/UG49yTKkS0v/BGYAai3/eYjx+eBq5Jr6oXAIFeY6R Cfsg== X-Gm-Message-State: APzg51AOLoVWntOfyOTeE/pXtMj0Xl5wo7nDE4rQClA71s+e/dYdCFTJ GUdWG++bAtlrLfaeQEfH5/7VrsNFmDs= X-Google-Smtp-Source: ANB0VdZi020zx02/5jvzXYn5lgvslQVRX6jJkque09b8wnboDlMDHQOiTdf4EJyiETjGNRKhQLv30Q== X-Received: by 2002:a19:18c5:: with SMTP id 66-v6mr10938564lfy.133.1537380643094; Wed, 19 Sep 2018 11:10:43 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.87.45]) by smtp.gmail.com with ESMTPSA id m8-v6sm1173789lfh.25.2018.09.19.11.10.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 11:10:41 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] clk: renesas: r8a77970: add TPU clock To: "linux-renesas-soc@vger.kernel.org" , Michael Turquette , Stephen Boyd , Geert Uytterhoeven , linux-clk@vger.kernel.org References: <5b7895ac-11c1-ac2d-837b-56726bc6226a@cogentembedded.com> Organization: Cogent Embedded Message-ID: <53539d21-bb00-eb11-bfde-206f3b7e3fe0@cogentembedded.com> Date: Wed, 19 Sep 2018 21:10:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <5b7895ac-11c1-ac2d-837b-56726bc6226a@cogentembedded.com> Content-Language: en-MW 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 The TPU0 clock wasn't present in the original R8A77970 patch by Daisuke Matsushita, it was added in a later BSP version... Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- This patch is against the 'clk-renesas' branch of Geert's 'renesas-drivers.git' repo... drivers/clk/renesas/r8a77970-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) Index: renesas-drivers/drivers/clk/renesas/r8a77970-cpg-mssr.c =================================================================== --- renesas-drivers.orig/drivers/clk/renesas/r8a77970-cpg-mssr.c +++ renesas-drivers/drivers/clk/renesas/r8a77970-cpg-mssr.c @@ -127,6 +127,7 @@ static const struct mssr_mod_clk r8a7797 DEF_MOD("cmt2", 301, R8A77970_CLK_R), DEF_MOD("cmt1", 302, R8A77970_CLK_R), DEF_MOD("cmt0", 303, R8A77970_CLK_R), + DEF_MOD("tpu0", 304, R8A77970_CLK_S2D4), DEF_MOD("sd-if", 314, R8A77970_CLK_SD0), DEF_MOD("rwdt", 402, R8A77970_CLK_R), DEF_MOD("intc-ex", 407, R8A77970_CLK_CP),