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: 10606143 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-2.web.codeaurora.org (Postfix) with ESMTP id BBA73161F 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 A817A2CA57 for ; Wed, 19 Sep 2018 18:10:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A534C2CA65; 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=unavailable 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 E4C392CA7B for ; Wed, 19 Sep 2018 18:10:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728282AbeISXtu (ORCPT ); Wed, 19 Sep 2018 19:49:50 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:44134 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727675AbeISXtt (ORCPT ); Wed, 19 Sep 2018 19:49:49 -0400 Received: by mail-lf1-f66.google.com with SMTP id g24-v6so5947861lfb.11 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=spTNq4As5A3rSbTPa7VSxHCgFP/jSpAXePkFi6oaBCQUxuEjeakoCeYKfx4IEhlL/s 6SUDTtmjtd65wZGSmBHAwitv+0LjcwZ5xd2QlozF2Owm+vlnb1X/owgCJgalyoiXu3me wFDyUdTvIPRfvwrzzDjh3sTRvpUNonPOJ9WiBqEte8XuRcp7GAaHmlqA3U50GwYfQFWN G0z8sQPhLe00HUtGV80hIDfQoiThNbA3EyEa2f+lwYDR/HJUNoECRQ1/LnS9V3KLLZhI bYv8+lSOyvHExKRRNhHkBMM2Y9XlyIGhSbpk1iqKQy9irLb+jSJ3EV5QUH5V1NOKO+06 C/tQ== X-Gm-Message-State: APzg51A7FHFdFQ1RgVR+pgpI0cCpb6scvVHGZZNCQ8yNubYDPN+0qcx9 ymD7cy+ioHX6ItLU+4K2AhF6Ng== 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-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 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),