From 45187521a2705269320fc290061e9244b4df0c05 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 7 Mar 2009 07:35:26 +0000 Subject: [PATCH] Return-Path: Received: from mail.openmoko.org ([unix socket]) by mail.openmoko.org (Cyrus v2.1.18-IPv6-Debian-2.1.18-5.1) with LMTP; Sat, 07 Mar 2009 06:46:20 +0000 X-Sieve: CMU Sieve 2.2 Return-path: Received: from sita.openmoko.org ([88.198.124.203]) by mail.openmoko.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LfqIe-000690-LR for andy@imap.openmoko.org; Sat, 07 Mar 2009 06:46:20 +0000 Received: from localhost ([127.0.0.1] helo=sita.openmoko.org) by sita.openmoko.org with esmtp (Exim 4.63) (envelope-from ) id 1LfqIA-0005iO-2x; Sat, 07 Mar 2009 07:45:50 +0100 Received: from imap.tw.openmoko.org ([59.124.115.149] helo=aakash.openmoko.org) by sita.openmoko.org with esmtp (Exim 4.63) (envelope-from ) id 1LfqI0-0005cg-Rz for openmoko-kernel@lists.openmoko.org; Sat, 07 Mar 2009 07:45:44 +0100 Received: from [172.16.22.173] (helo=abacus-om.tw.openmoko.com ident=Debian-exim) by aakash.openmoko.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LfqHA-0007Xa-Eu for openmoko-kernel@lists.openmoko.org; Sat, 07 Mar 2009 14:45:09 +0800 Received: from matt by abacus-om.tw.openmoko.com with local (Exim 4.69) (envelope-from ) id 1Lfqto-0006XS-9X for openmoko-kernel@lists.openmoko.org; Sat, 07 Mar 2009 15:24:44 +0800 From: Matt Hsu To: openmoko-kernel@lists.openmoko.org Date: Sat, 7 Mar 2009 15:24:42 +0800 Message-Id: <1236410684-20364-2-git-send-email-matt_hsu@openmoko.org> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1236410684-20364-1-git-send-email-matt_hsu@openmoko.org> References: <1236410684-20364-1-git-send-email-matt_hsu@openmoko.org> X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sita.openmoko.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Subject: [PATCH 1/3] qi/om_3d7k: deassert LCM_RESET pin before getting kernel. X-BeenThere: openmoko-kernel@lists.openmoko.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Discussion regarding the OpenMoko Linux Kernel and boot loader List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openmoko-kernel-bounces@lists.openmoko.org Errors-To: openmoko-kernel-bounces@lists.openmoko.org Since the reset callback function of probing jbt6k74 is eliminated for some reasons in kernel. In order to support both of LCM driver device, l1k002 and jbt6k74, just issue this reset in qi stage. Signed-off-by: Matt Hsu --- qiboot/src/cpu/s3c6410/om_3d7k.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qiboot/src/cpu/s3c6410/om_3d7k.c b/qiboot/src/cpu/s3c6410/om_3d7k.c index ba1d2a8..18be867 100644 --- a/qiboot/src/cpu/s3c6410/om_3d7k.c +++ b/qiboot/src/cpu/s3c6410/om_3d7k.c @@ -564,7 +564,8 @@ void port_init_om_3d7k(void) __REG(GPKDAT) = (1 << 2) | /* deassert nMODEM_ON */ - (1 << 0) /* deassert nWLAN_POWERON */ + (1 << 0) | /* deassert nWLAN_POWERON */ + (1 << 6) /* deassert LCM_RESET */ ; /* ---------------------------- Port L ---------------------------- */