linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [PATCH v3] gpio: add GPIO support for F71882FG and F71889F
           [not found]   ` <20130801134632.GY9916@kw.sim.vm.gnt>
           [not found]     ` <51FA8440.7050507@roeck-us.net>
    @ 2013-08-29 12:39     ` Linus Walleij
      2013-08-29 12:57       ` Matthew Garrett
      1 sibling, 1 reply; 12+ messages in thread
    From: Linus Walleij @ 2013-08-29 12:39 UTC (permalink / raw)
      To: Simon Guinot, Rafael J. Wysocki, Matthew Garrett
      Cc: Grant Likely, linux-kernel@vger.kernel.org,
    	linux-gpio@vger.kernel.org, Guenter Roeck, H. Peter Anvin
    
    On Thu, Aug 1, 2013 at 3:46 PM, Simon Guinot <simon.guinot@sequanux.org> wrote:
    > On Mon, Jul 29, 2013 at 05:59:08PM +0200, Linus Walleij wrote:
    
    >> - So we should atleast support ACPI probing with the
    >>   port-based detection as a final fallback if all else fails.
    >>
    >> Why can I not get something like:
    >>
    >> #include <linux/acpi.h>
    >> (...)
    >> static const struct acpi_device_id gpio_acpi_match[] = {
    >>         { "FOOBAR", 0 },
    >
    > After some checks on my boards, it appears that there is no PNP ID
    > available for the Super-I/O GPIO functionality (or any others). Moreover
    > I think this IDs don't have been registered to Microsoft by Fintech
    > (the super-I/O manufacturer).
    >
    > How do you envisage the follow-up ?
    
    Well shall we just apply this as-is then, with ISA-style port
    IO probing and all?
    
    I think Rafael said something about it being possible for us
    to register our own kernel ACPI PNP IDs (as if: there is no
    road here, but if someone starts to walk here, a road will
    soon become, and we take the first step then).
    
    But overall I am a bit confused: I am hearing from one end
    of the x86 community that ACPI is the way to go for
    configuring platform devices on x86, yet stuff like this is
    popping up from independent vendors, and get integrated
    on boards with no ACPI tables in sight.
    
    Over at ksummit-discuss we have had a thread about
    whether device tree should be used in such cases, but
    that is not clear either.
    
    Basically I'm a bit confused because the x86 community
    is talking with so many voices and I'm not used to it,
    and I don't know if they actually have a common vision.
    
    So I'm cc:ing some of my x86 friends to see if they
    are OK with this port-probing approach before I merge
    the driver.... Rafael, HPA, Matthew?
    
    Yours,
    Linus Walleij
    
    ^ permalink raw reply	[flat|nested] 12+ messages in thread
  • * Re: [PATCH v3] gpio: add GPIO support for F71882FG and F71889F
           [not found] <1374486633-9737-1-git-send-email-simon.guinot@sequanux.org>
           [not found] ` <CACRpkda2bH_TkFR6c0cXvjye4SmFWN5xuzQSO=NqBq8mNDgV0g@mail.gmail.com>
    @ 2013-08-29 17:35 ` Linus Walleij
      1 sibling, 0 replies; 12+ messages in thread
    From: Linus Walleij @ 2013-08-29 17:35 UTC (permalink / raw)
      To: Simon Guinot
      Cc: Grant Likely, linux-kernel@vger.kernel.org,
    	linux-gpio@vger.kernel.org
    
    On Mon, Jul 22, 2013 at 11:50 AM, Simon Guinot
    <simon.guinot@sequanux.org> wrote:
    
    > This patch adds support for the GPIOs found on the Fintek super-I/O
    > chips F71882FG and F71889F.
    >
    > A super-I/O is a legacy I/O controller embedded on x86 motherboards. It
    > is used to connect the low-bandwidth devices. Among others functions the
    > F71882FG/F71889F provides: a parallel port, two serial ports, a keyboard
    > controller, an hardware monitoring controller and some GPIO pins.
    >
    > Note that this super-I/Os are embedded on some Atom-based LaCie NASes.
    > The GPIOs are used to control the LEDs and the hard drive power.
    >
    > Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
    > ---
    > Changes since v2:
    > - Remove useless NULL setters for driver data.
    
    OK we had some discussion on this: there seem to be no alternatives
    to port probing, and hacking these board drivers is mighty cool, so
    patch applied.
    
    Yours,
    Linus Walleij
    
    ^ permalink raw reply	[flat|nested] 12+ messages in thread

  • end of thread, other threads:[~2013-08-29 22:22 UTC | newest]
    
    Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1374486633-9737-1-git-send-email-simon.guinot@sequanux.org>
         [not found] ` <CACRpkda2bH_TkFR6c0cXvjye4SmFWN5xuzQSO=NqBq8mNDgV0g@mail.gmail.com>
         [not found]   ` <20130801134632.GY9916@kw.sim.vm.gnt>
         [not found]     ` <51FA8440.7050507@roeck-us.net>
    2013-08-26 15:15       ` [PATCH v3] gpio: add GPIO support for F71882FG and F71889F Simon Guinot
    2013-08-29 12:39     ` Linus Walleij
    2013-08-29 12:57       ` Matthew Garrett
    2013-08-29 13:41         ` Guenter Roeck
    2013-08-29 15:37           ` Matthew Garrett
    2013-08-29 16:08             ` Guenter Roeck
    2013-08-29 16:25               ` Matthew Garrett
    2013-08-29 17:31                 ` Guenter Roeck
    2013-08-29 22:20                 ` Simon Guinot
    2013-08-29 22:22                   ` Matthew Garrett
    2013-08-29 17:32               ` Linus Walleij
    2013-08-29 17:35 ` Linus Walleij
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).