lkml.org 
[lkml]   [2020]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [Intel PMC TGPIO Driver 0/5] Add support for Intel PMC Time GPIO Driver with PHC interface changes to support additional H/W Features
    On Fri, Jan 31, 2020 at 7:40 AM <christopher.s.hall@intel.com> wrote:

    > The TGPIO hardware doesn't implement interrupts. For TGPIO input, the
    > output edge-timestamp API is re-used to implement a user-space polling
    > interface.

    It you modeled it reusing the GPIO subsystem (which I don't know if
    you can) you would get access to the gpiochip character device
    /dev/gpiochipN and be able to read timestamped events like
    the tool in tools/gpio/gpio-event-mon.c does.

    That said I am still confused about what this driver does or what the
    purpose is.

    GPIO pins in or out? Network coming in or going out using PTP?

    What is the use case?

    Yours,
    Linus Walleij

    \
     
     \ /
      Last update: 2020-02-07 18:19    [W:4.118 / U:0.388 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site