Thread (11 messages) 11 messages, 3 authors, 2021-03-08
STALE1926d
Revisions (4)
  1. v2 current
  2. v3 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]

[PATCH v2 0/5] gpiolib: switch to fwnode in the core

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-03-04 15:05:07
Also in: linux-acpi, linux-gpio, lkml

GPIO library uses of_node and fwnode in the core in non-unified way.
The series cleans this up and improves IRQ domain creation for non-OF cases
where currently the names of the domain are 'unknown'.

This has been tested on Intel Galileo Gen 2.

In v2:
- added a new patch due to functionality in irq_comain_add_simple() (Linus)
- tagged patches 2-4 (Linus)
- Cc'ed to Rafael

Andy Shevchenko (5):
  irqdomain: Introduce irq_domain_create_simple() API
  gpiolib: Unify the checks on fwnode type
  gpiolib: Move of_node operations to gpiolib-of and correct fwnode use
  gpiolib: Introduce acpi_gpio_dev_init() and call it from core
  gpiolib: Reuse device's fwnode to create IRQ domain

 Documentation/core-api/irq/irq-domain.rst | 22 ++++----
 drivers/gpio/gpiolib-acpi.c               |  7 +++
 drivers/gpio/gpiolib-acpi.h               |  4 ++
 drivers/gpio/gpiolib-of.c                 |  6 ++-
 drivers/gpio/gpiolib.c                    | 66 +++++++++--------------
 include/linux/irqdomain.h                 |  5 ++
 kernel/irq/irqdomain.c                    | 16 ++++--
 7 files changed, 71 insertions(+), 55 deletions(-)

-- 
2.30.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help