From patchwork Fri Aug 5 13:27:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 1038542 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p75DRTrt014774 for ; Fri, 5 Aug 2011 13:27:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755526Ab1HEN10 (ORCPT ); Fri, 5 Aug 2011 09:27:26 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:41441 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169Ab1HEN1Z convert rfc822-to-8bit (ORCPT ); Fri, 5 Aug 2011 09:27:25 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p75DRPUR028607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 5 Aug 2011 08:27:25 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep34.itg.ti.com (8.13.7/8.13.8) with ESMTP id p75DROOT029312 for ; Fri, 5 Aug 2011 08:27:24 -0500 (CDT) Received: from dnce72.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p75DROvv022480 for ; Fri, 5 Aug 2011 08:27:24 -0500 (CDT) thread-index: AcxTc2mJOj0Vv/l/Qlin5Rbg8oZXtg== Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4657 Received: from localhost.localdomain (172.24.88.6) by dnce72.ent.ti.com (137.167.131.87) with Microsoft SMTP Server (TLS) id 8.3.106.1; Fri, 5 Aug 2011 15:27:23 +0200 From: Tero Kristo To: Subject: [RFCv2 2/2] TEMP: OMAP3: beagle: added dummy clock setup times Date: Fri, 5 Aug 2011 16:27:21 +0300 Message-ID: <1312550842-32466-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 05 Aug 2011 13:27:29 +0000 (UTC) This patch provided just as an example, actual time should be checked from the datasheet. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/board-omap3beagle.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 34f8411..6b3b67a 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -47,6 +47,7 @@ #include #include #include +#include #include "mux.h" #include "hsmmc.h" @@ -83,6 +84,11 @@ static struct gpio omap3_beagle_rev_gpios[] __initdata = { { 173, GPIOF_IN, "rev_id_2" }, }; +struct omap_osc_data beagle_osc_data = { + .clk_setup_ret = 50, + .clk_setup_off = 5000, +}; + static void __init omap3_beagle_init_rev(void) { int ret; @@ -532,6 +538,8 @@ static void __init omap3_beagle_init(void) beagle_display_init(); beagle_opp_init(); + + omap_osc_register(&beagle_osc_data); } MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")