Commit Graph

3 Commits

Author SHA1 Message Date
Al Stone 5b8dae1677 gpio: Remove unused local OF node pointers
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2071835
Tested: This is one of a series of patch sets to enable Arm SystemReady IR
 support in the kernel for NXP i.MX8 platforms.  This set updates GPIO
 support.  It has been tested via simple boot tests and by using the
 kernel GPIO tools to verify pins are being identified and can be used.

commit 9804456e60670cc73f13361a3e628ecdf1bf7ee1
Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date:   Mon Dec 20 15:24:39 2021 +0200

    gpio: Remove unused local OF node pointers

    After the commit 448cf90513d9 ("gpio: Get rid of duplicate of_node
    assignment in the drivers") the OF node local pointers become unused.
    Remove them for good and make compiler happy about.

    Fixes: 448cf90513d9 ("gpio: Get rid of duplicate of_node assignment in the drivers")
    Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    [Bart: removed unrelated change in gpio-brcmstb]
    Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
    (cherry picked from commit 9804456e60670cc73f13361a3e628ecdf1bf7ee1)

Signed-off-by: Al Stone <ahs3@redhat.com>
2022-08-24 13:31:01 -06:00
Al Stone ca3d6ccb2d gpio: Get rid of duplicate of_node assignment in the drivers
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2071835
Tested: This is one of a series of patch sets to enable Arm SystemReady IR
 support in the kernel for NXP i.MX8 platforms.  This set updates GPIO
 support.  It has been tested via simple boot tests and by using the
 kernel GPIO tools to verify pins are being identified and can be used.

Conflicts:
    drivers/gpio/gpio-rockchip.c

    File has not been added to this tree, so patch for it
    was not applicable.

commit 448cf90513d954ba5a61ce392809d6936902a9e6
Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date:   Fri Dec 17 17:39:35 2021 +0100

    gpio: Get rid of duplicate of_node assignment in the drivers

    GPIO library does copy the of_node from the parent device of
    the GPIO chip, there is no need to repeat this in the individual
    drivers. Remove these assignment all at once.

    For the details one may look into the of_gpio_dev_init() implementation.

    While at it, remove duplicate parent device assignment where it is the case.

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Reviewed-By: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
    Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
    (cherry picked from commit 448cf90513d954ba5a61ce392809d6936902a9e6)

Signed-off-by: Al Stone <ahs3@redhat.com>
2022-08-24 13:31:00 -06:00
Linus Walleij 2a0b0a57fa gpio: Add a Gateworks PLD GPIO driver
This adds a driver for Gateworks PLD GPIO, that exist in
two instances on the Gateworks Cambria GW2358-4 router
platform at least.

Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-02-09 11:33:37 +01:00