From patchwork Thu May 1 22:56:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4100671 Return-Path: X-Original-To: patchwork-linux-arm@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 B33A09F169 for ; Thu, 1 May 2014 23:10:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C6DC2202E6 for ; Thu, 1 May 2014 23:10:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 026842027D for ; Thu, 1 May 2014 23:10:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wg02c-0001jC-Ks; Thu, 01 May 2014 23:05:22 +0000 Received: from mail-la0-f43.google.com ([209.85.215.43]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wg02Z-0000ga-Db for linux-arm-kernel@lists.infradead.org; Thu, 01 May 2014 23:05:20 +0000 Received: by mail-la0-f43.google.com with SMTP id c6so2616297lan.30 for ; Thu, 01 May 2014 16:04:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:cc:from:organization:date :mime-version:content-type:content-transfer-encoding:message-id; bh=BeP+0HNnjT4xPzZ6d6Vqjj+ZTHGv0koxZPOKyiJT9jI=; b=jzf27JQC1jm4Zfus+KvBueFhz45er99eWXTzkxdhgSfFsrmG9nMVcmgcc7+fgV72Kc 9WPYBvbEUxjTgAkQBOjHXFN0Vb49nvD2bwd5U1Z7T4COe8PkY/ThIfjGKRhdvanj/VF8 q4Lh3j3S1BSgz6NASQlz6iiXure99h/vWaVZfPdJ7e3aGjaygahksIcgIOsf/h5l56u/ cFpsJH5kQOCvFgZClf0zScJnk+ptTL5dJmMwOz/FjXek8nC1ufchDij02S9FUMNnSUIU dksG/IZbJcAyytD7kvu+a3MYi0SR2mO0QVMPXJWbpNUOyonlfl27pngO39RC95aPX+NH 9FgA== X-Gm-Message-State: ALoCoQm7zyuoexXHjBoQjhfQ45cERQjhB1+eYfGHdX68xnEKV9aaSjegMqaHOoSSsSflUB1NoBze X-Received: by 10.152.22.37 with SMTP id a5mr9616322laf.4.1398984999480; Thu, 01 May 2014 15:56:39 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp85-140-136-166.pppoe.mtu-net.ru. [85.140.136.166]) by mx.google.com with ESMTPSA id b5sm18470302laa.17.2014.05.01.15.56.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 01 May 2014 15:56:38 -0700 (PDT) To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] ARM: shmobile: henninger: specify EXTAL frequency From: Sergei Shtylyov Organization: Cogent Embedded Date: Fri, 2 May 2014 02:56:33 +0400 MIME-Version: 1.0 Message-Id: <201405020256.34093.sergei.shtylyov@cogentembedded.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140501_160519_679236_E4E09CBA X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: mark.rutland@arm.com, linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, magnus.damm@gmail.com, robh+dt@kernel.org, galak@codeaurora.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 When creating the initial device tree for the Henninger board, I've overlooked that EXTAL frequency needs to be overridden there. The 'sh-sci' driver managed to work somehow but the SDHI driver that I've tried to enable just hanged with the default EXTAL frequency of 0... Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-v3.15-rc3-20140429' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7791-henninger.dts | 4 ++++ 1 file changed, 4 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -35,6 +35,10 @@ }; }; +&extal_clk { + clock-frequency = <20000000>; +}; + &pfc { scif0_pins: serial0 { renesas,groups = "scif0_data_d";