From patchwork Mon Feb 13 21:06:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9570761 X-Patchwork-Delegate: sboyd@codeaurora.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 1BD8B601E7 for ; Mon, 13 Feb 2017 21:06:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DCC626E4D for ; Mon, 13 Feb 2017 21:06:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0255A28355; Mon, 13 Feb 2017 21:06:33 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 8A72626E4D for ; Mon, 13 Feb 2017 21:06:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753147AbdBMVG1 (ORCPT ); Mon, 13 Feb 2017 16:06:27 -0500 Received: from mail-lf0-f50.google.com ([209.85.215.50]:35147 "EHLO mail-lf0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753074AbdBMVGZ (ORCPT ); Mon, 13 Feb 2017 16:06:25 -0500 Received: by mail-lf0-f50.google.com with SMTP id n124so56922840lfd.2 for ; Mon, 13 Feb 2017 13:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:user-agent:date:to:cc:subject:mime-version :content-disposition; bh=Z8s7aEpUcAQ314oC8uzg1TtCdIWEkOiwWm7m4OQI1lA=; b=S+D6JQrtHUEzw8qRv23gTPfY3Z6p8V3IwBe4cZnTAGagROmgJL+xnB7Iis702LMvsb z4FpgVleSr6UMokQYYA8QmtFpfpw2A0tp4QtmMEuBAKvUkjfKPllhZGSyhXQKqMXopFp L3eH/8pQ176eRSRg76kvwLDtyvvxI4s5vhr3ANnURSbWPzhO9IbLnVw7Gvpsy6EACdX/ PSotzlIPOc4ovvkpUVlWGvfHyktHcBeupO6pW0bgKd+5+sartXL1AtE4UxW8ti/1G1ut FqoF8u5UkL97ajAdimwY/+LAy59fj4uf18xeAjRksnStNldOlnRdBcxaq3BtayADPuQW J7OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:user-agent:date:to:cc:subject :mime-version:content-disposition; bh=Z8s7aEpUcAQ314oC8uzg1TtCdIWEkOiwWm7m4OQI1lA=; b=XgwtIcOXrG1XXtZAohq9LHyqfrPdmOTDnAR86RK5NJno+0zgvgSshVGhs4XUdTbKg7 /TdPB53a0JMpsGDcrcEpwtzkyRzwCiLG/3vY8t87fI2Bboj5pIASS2QaRZP5I8Bn8QBv om4wbV3/mpks+mk54gdic8WTv7sRaofDv5tcAo8Dx8bTxu88y1ID++6e2VNKTib4FK/L phBSaFcamD6jKq8G3VPDuo+rlPWWBJYDwDMKGZi0aKNlGcfiQM0fJUJPOn9HkKBuDycV tINyAo+D/uu3+Zc/RcevM94DB4CoUYKPIMp7rj/w5huFtKKdmRl7xCr8IiL43dxFPRIc nCqQ== X-Gm-Message-State: AMke39mQs+Z6Hi0N+uAcmib3hEE395kpxEqi3lzJ6QhIrGMsgOmNUQE1mjEh+zvp592AVQ== X-Received: by 10.25.76.196 with SMTP id z187mr6936863lfa.60.1487019983194; Mon, 13 Feb 2017 13:06:23 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.81.16]) by smtp.gmail.com with ESMTPSA id j24sm2353215lfk.50.2017.02.13.13.06.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 13:06:22 -0800 (PST) From: Sergei Shtylyov X-Google-Original-From: "Sergei Shtylyov" Received: by wasted.cogentembedded.com (sSMTP sendmail emulation); Tue, 14 Feb 2017 00:06:19 +0300 Message-Id: <20170213210619.208900184@cogentembedded.com> User-Agent: quilt/0.64 Date: Tue, 14 Feb 2017 00:06:04 +0300 To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org Cc: Konstantin Kozhevnikov , Sergei Shtylyov Subject: [PATCH 1/1] clk: renesas: cpg-mssr: r8a7795: add IMR clocks MIME-Version: 1.0 Content-Disposition: inline; filename=clk-renesas-cpg-mssr-r8a7795-add-IMR-clocks.patch 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 Add the IMR[0-3] clocks to the R8A7795 CPG/MSSR driver. Based on the original (and large) patch by Konstantin Kozhevnikov . Signed-off-by: Konstantin Kozhevnikov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- This patch is against the 'clk-next' branch of CLK group's 'linux.git' repo. drivers/clk/renesas/r8a7795-cpg-mssr.c | 4 ++++ 1 file changed, 4 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux/drivers/clk/renesas/r8a7795-cpg-mssr.c =================================================================== --- linux.orig/drivers/clk/renesas/r8a7795-cpg-mssr.c +++ linux/drivers/clk/renesas/r8a7795-cpg-mssr.c @@ -208,6 +208,10 @@ static const struct mssr_mod_clk r8a7795 DEF_MOD("vin0", 811, R8A7795_CLK_S2D1), DEF_MOD("etheravb", 812, R8A7795_CLK_S3D2), DEF_MOD("sata0", 815, R8A7795_CLK_S3D2), + DEF_MOD("imr3", 820, R8A7795_CLK_S2D1), + DEF_MOD("imr2", 821, R8A7795_CLK_S2D1), + DEF_MOD("imr1", 822, R8A7795_CLK_S2D1), + DEF_MOD("imr0", 823, R8A7795_CLK_S2D1), DEF_MOD("gpio7", 905, R8A7795_CLK_CP), DEF_MOD("gpio6", 906, R8A7795_CLK_CP), DEF_MOD("gpio5", 907, R8A7795_CLK_CP),