lkml.org 
[lkml]   [2010]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: gpiolib: irq functions not implemented on x86
    Date
    Are you sure that I am the intended recipient of this mail?

    I'm not involved in the GPIO subsystem at all.


    On Thursday 25 March 2010 20:36:04 Jérôme Oufella wrote:
    > Hi,
    >
    > I wrote a gpiolib implementation for Technologic Systems TS-5500 boards (x86)
    > custom GPIO lines. Some of their GPIO lines are directly hooked to CPU (ElanSC520)
    > GPIRQ lines, so they can trigger IRQs.
    >
    > However, looking at arch/x86/include/asm/gpio.h:
    > /*
    > * Not implemented, yet.
    > */
    > static inline int gpio_to_irq(unsigned int gpio)
    > {
    > return -ENOSYS;
    > }
    >
    > gpio_to_irq()/irq_to_gpio() are not defined on x86 yet.
    >
    > Q: Is there a reason not to have it call gpiolib's __gpio_to_irq(), as done
    > for other gpiolib functions defined here ? such as
    >
    > - return -ENOSYS;
    > + return __gpio_to_irq(gpio);
    >
    >
    > Thanks
    > Jerome Oufella
    >
    >

    --
    Greetings, Michael.
    --
    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/

    \
     
     \ /
      Last update: 2010-03-25 23:15    [W:0.025 / U:0.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site