From patchwork Thu Apr 27 14:37:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 9702953 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 AA23D6032C for ; Thu, 27 Apr 2017 14:37:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9429328636 for ; Thu, 27 Apr 2017 14:37:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88CA128645; Thu, 27 Apr 2017 14:37:58 +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 CB72928655 for ; Thu, 27 Apr 2017 14:37:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938340AbdD0Oh5 (ORCPT ); Thu, 27 Apr 2017 10:37:57 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36773 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162128AbdD0Oh4 (ORCPT ); Thu, 27 Apr 2017 10:37:56 -0400 Received: by mail-wr0-f194.google.com with SMTP id v42so4007683wrc.3; Thu, 27 Apr 2017 07:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=cQ0D8Vhs1+YIpS839YlEyccBfur8kCtk6hEY77s76Zc=; b=L/k0jmKDeMlF9+3YWL8RP+CSQcrsEgEJMGL7ThvhZvtYlJHf1iSvcf3TlVhATxblXc UIQ4/IE7TGFnYHB/HIFTI2crdMnh40hQ7QAFcjncfKsdTOC8ho2Yfbaw8BrfVqfFxzk/ +s2Z/i870Z0mJ7dCCdmcAKFIeudkkXLP0vtEe1QVNMKBM9GgY3gRC8Nagi7s2yfRAcgP ZOp+MV28BaO3EugnWfoZdgnoep0uea2LzTyTeVf072lkFPvYDMMpq1UNV7LtfCRZf75o YurRPWIuftJ4C8nOiad/WHwp8gmlbcIO4X3iqtWK/4LIFOu3edjIrFoFtEB/KDZxR1Md +koA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=cQ0D8Vhs1+YIpS839YlEyccBfur8kCtk6hEY77s76Zc=; b=TD6O7OvDO0KQtbSNcwG9Jgi+j3Ni80BZ2rYMH/x0RbDqWld7GuSxHokQHA9A57qjVt YJ0FZh7rcaixanvgW6ikvPS7/Quz20iTG7zxLjpuObI8fZbnqtIyk/i2jRqSmnFyBdY7 64EOI5IvnT5QP/BHEd0124Z2/+t7f45VvIDf+uhlbaFaQbG9isZ9mv11/B6mrPc3jziG dnS/qLuZIpkrmyXB8DMRq1MfqhY3Wcrwb5g07IPBhYItDPHdb6Uf93cfFhCYwKM+6tA6 D5XBEv4V15vlENUCmAELJqATSZZFLjTSzZAcYrJguhL8w0vbHeDZtL48zjfMRrl0ZqIu Fo5g== X-Gm-Message-State: AN3rC/4sg7HOLe//8RybZg2j/TZZBT651gFtHEr9vU1Hjb3JoZimjWXY xch43f5BYcHlLw== X-Received: by 10.80.174.36 with SMTP id c33mr5084611edd.103.1493303875157; Thu, 27 Apr 2017 07:37:55 -0700 (PDT) Received: from groucho.site (ipbcc0294b.dynamic.kabel-deutschland.de. [188.192.41.75]) by smtp.gmail.com with ESMTPSA id x18sm1295067eda.39.2017.04.27.07.37.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Apr 2017 07:37:54 -0700 (PDT) From: Ulrich Hecht To: geert@glider.be, horms@verge.net.au Cc: linux-pwm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, Ryo Kodama , Takeshi Kihara , Ulrich Hecht Subject: [PATCH v2 2/8] clk: renesas: r8a7796: add PWM clock Date: Thu, 27 Apr 2017 16:37:37 +0200 Message-Id: <1493303863-23719-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493303863-23719-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1493303863-23719-1-git-send-email-ulrich.hecht+renesas@gmail.com> 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: Ryo Kodama This patch adds PWM clock for PWM. Signed-off-by: Ryo Kodama Signed-off-by: Takeshi Kihara [uli: changed from S3D4 to S0D12 in accordance with datasheet] Signed-off-by: Ulrich Hecht --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mssr.c index 9d114b3..3f1c5aa4 100644 --- a/drivers/clk/renesas/r8a7796-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7796-cpg-mssr.c @@ -151,6 +151,7 @@ static const struct mssr_mod_clk r8a7796_mod_clks[] __initconst = { DEF_MOD("hscif1", 519, R8A7796_CLK_S3D1), DEF_MOD("hscif0", 520, R8A7796_CLK_S3D1), DEF_MOD("thermal", 522, R8A7796_CLK_CP), + DEF_MOD("pwm", 523, R8A7796_CLK_S0D12), DEF_MOD("fcpvd2", 601, R8A7796_CLK_S0D2), DEF_MOD("fcpvd1", 602, R8A7796_CLK_S0D2), DEF_MOD("fcpvd0", 603, R8A7796_CLK_S0D2),