lkml.org 
[lkml]   [2011]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH V2 1/4] i2c: Add irq_gpio field to struct i2c_client.
    On Thu, Sep 01, 2011 at 10:52:41AM -0600, 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 <swarren@nvidia.com>

    SPI could also benefit from this.


    \
     
     \ /
      Last update: 2011-09-01 19:41    [W:4.247 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site