From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH V2 1/4] i2c: Add irq_gpio field to struct i2c_client. Date: Thu, 01 Sep 2011 20:30:33 +0200 Message-ID: <1432590.4sqjD9XTYs@wuerfel> References: <1314895964-15964-1-git-send-email-swarren@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1314895964-15964-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: Greg Kroah-Hartman , Jean Delvare , Ben Dooks , Jonathan Cameron , Russell King , Andrew Chew , linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-i2c@vger.kernel.org On Thursday 01 September 2011 10:52:37 Stephen Warren wrote: > Some devices use a single pin as both an IRQ and a GPIO. In that case, > irq_gpio is the GPIO ID for that pin. Not all drivers use this feature. > Where they do, and the use of this feature is optional, and the system > wishes to disable this feature, this field must be explicitly set to a > defined invalid GPIO ID, such as -1. > > Signed-off-by: Stephen Warren > --- > v2: This patch is new. This updated series based on Arnd's comments that > this solution was a good idea. Looks very good to me (the whole series). Arnd