Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762623AbZFQJLy (ORCPT ); Wed, 17 Jun 2009 05:11:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758205AbZFQJLr (ORCPT ); Wed, 17 Jun 2009 05:11:47 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36054 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbZFQJLq (ORCPT ); Wed, 17 Jun 2009 05:11:46 -0400 Date: Wed, 17 Jun 2009 11:11:40 +0200 From: Pavel Machek To: Brian Swetland Cc: Russell King - ARM Linux , kernel list , linux-arm-kernel , san@android.com, rlove@google.com, Greg KH Subject: Re: HTC Dream aka. t-mobile g1 support Message-ID: <20090617091139.GA4536@elf.ucw.cz> References: <20090610194852.GA28787@n2100.arm.linux.org.uk> <20090610213710.GA8472@elf.ucw.cz> <20090611082532.GE8592@elf.ucw.cz> <20090612150504.GA15084@elf.ucw.cz> <20090615170103.GE25040@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2048 Lines: 65 > > ...in trout... Does dream really support flash? > > > > ? ? ? ?{ > > ? ? ? ? ? ? ? ?.name = "spotlight", > > ? ? ? ? ? ? ? ?.gpio = TROUT_GPIO_SPOTLIGHT_EN, > > ? ? ? ?}, > > > > ...what is spotlight? I wish dream had some way to produce light in > > dark... > > Earlier revisions had an LED flash for the camera. This didn't make > it into the final hardware. Ok, and what is the spotlight? Did flash have two modes? One more question... do you have keymap.map to make console usable? By default, keyboard lacks any special characters... --- Flash is not wired on Dreams users actually have, document that. Document purpose of pwrsink.c. Signed-off-by: Pavel Machek diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c index c1a7431..a65cce5 100644 --- a/arch/arm/mach-msm/board-trout.c +++ b/arch/arm/mach-msm/board-trout.c @@ -304,6 +304,8 @@ static struct timed_gpio timed_gpios[] = { .max_timeout = 15000, }, { + /* Prototype versions of HTC dream had LED flash; + released hw lacks it. */ .name = "flash", .gpio = TROUT_GPIO_FLASH_EN, .max_timeout = 400, diff --git a/arch/arm/mach-msm/htc_pwrsink.c b/arch/arm/mach-msm/htc_pwrsink.c index 3d3c55c..b74f776 100644 --- a/arch/arm/mach-msm/htc_pwrsink.c +++ b/arch/arm/mach-msm/htc_pwrsink.c @@ -15,6 +15,10 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * + * Some of HTC devices don't have a battery gauge IC and estimate + * current drain based on hints provided to the baseband from the apps + * processor. + * */ #include -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/