Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752967AbYBFOf1 (ORCPT ); Wed, 6 Feb 2008 09:35:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751242AbYBFOfU (ORCPT ); Wed, 6 Feb 2008 09:35:20 -0500 Received: from fk-out-0910.google.com ([209.85.128.191]:17693 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751350AbYBFOfS (ORCPT ); Wed, 6 Feb 2008 09:35:18 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QJ4QPaJgXgSTfVxAcXD56xLtKEI0etlXyUEo4S0IqVFHa+Y1Uq2HWbNfURv9IWCGleg8jL/SxrSDxbqqb2OqHa8BBgpIe9MXJSCfwsgAsBpMeRS+ACvUPhIJf14PzUwEg0ce9Gs/XZwcoEyNM1QhV/C05W70glfVgcsqrfqRERk= Message-ID: <74d0deb30802060635w4ff12f2dxdec15a26dc9722f1@mail.gmail.com> Date: Wed, 6 Feb 2008 15:35:14 +0100 From: "pHilipp Zabel" To: "Andrew Morton" Subject: Re: [PATCH] DS1WM: decouple host IRQ and INTR active state settings. Cc: "Matt Reimer" , linux-kernel@vger.kernel.org, johnpol@2ka.mipt.ru, szabolcs.gyurko@tlt.hu In-Reply-To: <20080205232652.895a5fbb.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1199627174.28826.11.camel@localhost.localdomain> <20080107151022.82901fcc.akpm@linux-foundation.org> <1199751203.26310.64.camel@bilbo.vpop.net> <74d0deb30801080021q63df5fcfw5ff3673ec9965d08@mail.gmail.com> <20080205232652.895a5fbb.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2586 Lines: 55 Hi Andrew, On Feb 6, 2008 8:26 AM, Andrew Morton wrote: > > On Tue, 8 Jan 2008 09:21:55 +0100 "pHilipp Zabel" wrote: > > > On Jan 8, 2008 1:13 AM, Matt Reimer wrote: > > > On Mon, 2008-01-07 at 15:10 -0800, Andrew Morton wrote: > > > > On Sun, 06 Jan 2008 14:46:14 +0100 > > > > Philipp Zabel wrote: > > > > > > > > > The DS1WM driver incorrectly infers the IAS bit (1-wire interrupt active > > > > > high) from IRQ settings. There are devices that have IAS=0 but still need > > > > > the IRQ to trigger on a rising edge. With this patch, machines with DS1WM > > > > > that need IAS=1 have to set .active_high=1 in the ds1wm_platform_data. > > > > > > > But no drivers are converted to set ds1wm_platform_data.active_high. Won't > > > > IORESOURCE_IRQ_HIGHEDGE devices be broken by this change? > > > > > > Good point; I think you're right. I'd guess the other platforms that use > > > this driver are in the handhelds.org tree, but I've been out of the loop > > > a while. Philipp, is this the case? > > > > Yes, I think so. I am only aware of four chips that include a DS1WM: > > HTC's ASIC3, PASIC2 and PASIC3 and Samsung SAMCOP. > > All of those drivers have yet to be submitted. > > > > I will also apply this patch to hh.org CVS and fix up the devices that are > > affected by this change (aximx30, blueangel, magician, h1900, h4000, > > h5400, himalaya, hx4700, sable, universal). > > But none of those set IORESOURCE_IRQ_HIGHEDGE (most are just > > missing the IORESOURCE_IRQ_LOWEDGE flag). I am not sure about > > the status of rx3000 or other devices that might live in other trees. > > > > I'm currently cleaning up the PASIC2/3 driver. After that I'll try to help > > cleaning up ASIC3 and finally getting it ready for submission. > > A whole load of devices in the hh.org tree depend on it. > > > > Guys, I'm thinking that by the time we actually need this patch in the > mainline tree, it may well be obsolete. So I should drop the copy I have? I obviously think it should be applied. But if you prefer that I resend once it is actually needed by something in the tree, I'll happily do that, too. The PASIC2/3 mfd driver is currently waiting for something like Dmitry Baryshkov's clocklib patches to go in. regards Philipp -- 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/