05 Apr, 2019

1 commit


03 Dec, 2017

1 commit

  • This change resolves a new compile-time warning
    when built as a loadable module:

    WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-iop.o
    see include/linux/module.h for more information

    This adds the license as "GPL", which matches the header of the file.

    MODULE_DESCRIPTION and MODULE_AUTHOR are also added.

    Signed-off-by: Jesse Chan
    Signed-off-by: Linus Walleij

    Jesse Chan
     

12 Sep, 2016

1 commit


23 Feb, 2016

1 commit


05 Jan, 2016

1 commit


20 Oct, 2014

1 commit


26 Mar, 2014

1 commit


21 Sep, 2013

6 commits

  • This alters the IOP platforms to pass a physical base for their
    GPIO blocks and alters the driver to remap it when probing
    instead of relying on the virtual addresses to be used.

    Cc: Lennert Buytenhek
    Cc: Dan Williams
    Cc: Mikael Pettersson
    Tested-by: Aaro Koskinen
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • Use the standard 32bit I/O accessors instead of just assigning
    addresses.

    Cc: Lennert Buytenhek
    Cc: Dan Williams
    Cc: Mikael Pettersson
    Tested-by: Aaro Koskinen
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This converts the IOP32x and IOP33x platforms to pass their
    base address offset by a resource attached to a platform device
    instead of using static offset macros implicitly passed
    through including . Delete the
    local and headers
    and remove the selection of NEED_MACH_GPIO_H.

    Pass the virtual address as a resource in the platform device
    at this point for bisectability, next patch will pass the
    physical address as is custom.

    Cc: Lennert Buytenhek
    Cc: Dan Williams
    Cc: Mikael Pettersson
    Tested-by: Aaro Koskinen
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • The kernel will now only use gpiolib to access GPIOs, so remove
    the complex GPIO flag and the custom implementation.

    Cc: Lennert Buytenhek
    Cc: Dan Williams
    Cc: Mikael Pettersson
    Tested-by: Aaro Koskinen
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This removes the only dependence between the IOP GPIO
    driver and the GENERIC_GPIO header in
    and its common implementation in the namespace
    by copying the one constant it is using into the driver
    file.

    Cc: Lennert Buytenhek
    Cc: Dan Williams
    Cc: Mikael Pettersson
    Tested-by: Aaro Koskinen
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • Move the IOP GPIO driver to live with its siblings in the
    GPIO subsystem.

    Cc: Lennert Buytenhek
    Cc: Dan Williams
    Cc: Mikael Pettersson
    Tested-by: Aaro Koskinen
    Signed-off-by: Linus Walleij

    Linus Walleij