From patchwork Tue Aug 5 07:09:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 4676181 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 91F4B9F373 for ; Tue, 5 Aug 2014 07:09:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8CE992013A for ; Tue, 5 Aug 2014 07:09:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A49620122 for ; Tue, 5 Aug 2014 07:09:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756148AbaHEHJ2 (ORCPT ); Tue, 5 Aug 2014 03:09:28 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:39623 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756006AbaHEHJ1 (ORCPT ); Tue, 5 Aug 2014 03:09:27 -0400 Received: by mail-pa0-f42.google.com with SMTP id lf10so858901pab.29 for ; Tue, 05 Aug 2014 00:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:cc:subject:user-agent:mime-version :content-type; bh=TaGIyAnEJV5ntLs6pALNLD0iWdD6kYmz4uo6pG9NKgU=; b=w6uEfMuIQxTtSMZhIda/3kpO++gERQeczV04ew9UErZXmW6uQT08YlXSSXciWW7B6H 0XJMGFFY4dHZ2Q+4KnnjpbiPPnaPkoFEZXot4n+WOWdYkisYoVrl3La+cdHNpKoFJWEX R887D+OVUFKDOEb1gAZdjL2JNRWMmdO/NgfVzjXfaLQXjiBEJVt8QEN3vwda28QUdiY4 cvHcgTHg3vS0uOOV0yVOguwLE/RntAoEUcCGtajrBW1EiRhxLRps8cT4VAhxEZe7ZF7n QmTQI8pIVw4iIx/vE8mwHQENbWi3X2cpLK4MCxlHdomzbN70HS2NzvBrg8KtFsTcWp08 b38A== X-Received: by 10.70.14.227 with SMTP id s3mr2044014pdc.88.1407222566985; Tue, 05 Aug 2014 00:09:26 -0700 (PDT) Received: from remon.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id fn1sm944388pbc.77.2014.08.05.00.09.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 05 Aug 2014 00:09:26 -0700 (PDT) Date: Tue, 05 Aug 2014 00:09:26 -0700 (PDT) Message-ID: <87ppgf1kgv.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto To: Simon , Laurent Cc: Morimoto , Magnus , Linux-SH , Geert Uytterhoeven Subject: [PATCH] clk: shmobile: add missing 0x0100 for SDCKCR User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Current cpg_sd01_div_table is missing "0x0100: x 1/8" division ratio. This patch is based on R-Car H2 v0.7, R-Car M2 v0.9. Reported-by: Yusuke Goda Signed-off-by: Kuninori Morimoto Acked-by: Geert Uytterhoeven --- >> Simon Actually, linux/arch/arm/mach-shmobile/clock-r8a7790.c : div4_clks linux/arch/arm/mach-shmobile/clock-r8a7791.c : div4_clks have same issue, but I ignored drivers/clk/shmobile/clk-rcar-gen2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/shmobile/clk-rcar-gen2.c b/drivers/clk/shmobile/clk-rcar-gen2.c index dff7f79..e996425 100644 --- a/drivers/clk/shmobile/clk-rcar-gen2.c +++ b/drivers/clk/shmobile/clk-rcar-gen2.c @@ -202,6 +202,7 @@ static const struct clk_div_table cpg_sdh_div_table[] = { }; static const struct clk_div_table cpg_sd01_div_table[] = { + { 4, 8 }, { 5, 12 }, { 6, 16 }, { 7, 18 }, { 8, 24 }, { 10, 36 }, { 11, 48 }, { 12, 10 }, { 0, 0 }, };