Linux USB
 help / color / mirror / Atom feed
  • * Re: [RFC PATCH 0/3] GPIO support on the Etron EJ168/EJ188/EJ198 xHCI controllers
           [not found] <20201004162908.3216898-1-martin.blumenstingl@googlemail.com>
           [not found] ` <20201004162908.3216898-2-martin.blumenstingl@googlemail.com>
    @ 2020-10-07  9:17 ` Linus Walleij
           [not found] ` <20201004162908.3216898-4-martin.blumenstingl@googlemail.com>
      2 siblings, 0 replies; 11+ messages in thread
    From: Linus Walleij @ 2020-10-07  9:17 UTC (permalink / raw)
      To: Martin Blumenstingl, linux-usb
      Cc: linux-pci,
    	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
    	open list:GPIO SUBSYSTEM, Rob Herring, Bartosz Golaszewski,
    	linux-kernel@vger.kernel.org, Bjorn Helgaas, systemchip
    
    On Sun, Oct 4, 2020 at 8:00 PM Martin Blumenstingl
    <martin.blumenstingl@googlemail.com> wrote:
    
    > The goal of this series to add support for the GPIO controller on the
    > Etron EJ168/EJ188/EJ198 controllers.
    
    This overall is a fine driver, but have you considered the option of just
    implementing the GPIO chip in drivers/usb/host/xhci-pci.c?
    
    There are several USB serial adapters that have a GPIO chip
    embedded and we just add the GPIO chip into the serial driver.
    I have done the same with some networking switches. It is
    perfectly fine for drivers outside of drivers/gpio to occasionally
    define a minor GPIO chip if GPIO is not their primary function.
    
    Please consider simply activating the XHCI driver and make it
    instantiate a GPIO chip if it happens to be an
    EJ168/EJ188/EJ198 controller.
    
    Yours,
    Linus Walleij
    
    ^ permalink raw reply	[flat|nested] 11+ messages in thread
  • [parent not found: <20201004162908.3216898-4-martin.blumenstingl@googlemail.com>]

  • end of thread, other threads:[~2021-01-07 10:37 UTC | newest]
    
    Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20201004162908.3216898-1-martin.blumenstingl@googlemail.com>
         [not found] ` <20201004162908.3216898-2-martin.blumenstingl@googlemail.com>
    2020-10-07  9:14   ` [RFC PATCH 1/3] PCI: Add the IDs for Etron EJ168 and EJ188 Linus Walleij
    2020-10-07 19:45     ` Martin Blumenstingl
    2020-11-03 22:32       ` Bjorn Helgaas
    2020-10-07  9:17 ` [RFC PATCH 0/3] GPIO support on the Etron EJ168/EJ188/EJ198 xHCI controllers Linus Walleij
         [not found] ` <20201004162908.3216898-4-martin.blumenstingl@googlemail.com>
    2020-10-07  9:29   ` [RFC PATCH 3/3] gpio: ej1x8: Add GPIO driver for Etron Tech Inc. EJ168/EJ188/EJ198 Linus Walleij
    2020-10-07 19:44     ` Martin Blumenstingl
    2020-12-21 15:28       ` Martin Blumenstingl
    2020-12-31  0:15         ` Martin Blumenstingl
    2021-01-05 22:23         ` Linus Walleij
    2021-01-06 15:17           ` Martin Blumenstingl
    2021-01-07 10:36             ` Linus Walleij
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox