Skip to content

mfd: Make use of software nodes

Andy Shevchenko linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6gpio: dwapb: Replace irq_shared flag with fwnode type checkdrivers/gpio/gpio-dwapb.c drivers/mfd/intel_quark_i2c_gpio.c include/linux/platform_data/gpio-dwapb.h+1 -60 replies
2/6gpio: dwapb: Read GPIO base from snps,gpio-base propertydrivers/gpio/gpio-dwapb.c+2 -12 replies
3/6mfd: core: Propagate software node group to the sub devicesdrivers/mfd/mfd-core.c include/linux/mfd/core.h+30 -43 replies
4/6mfd: intel_quark_i2c_gpio: Convert to use software nodesdrivers/mfd/intel_quark_i2c_gpio.c+30 -332 replies
5/6gpio: dwapb: Get rid of legacy platform datadrivers/gpio/gpio-dwapb.c include/linux/platform_data/gpio-dwapb.h+17 -322 replies
6/6gpio: dwapb: Define magic number for IRQ and GPIO linesdrivers/gpio/gpio-dwapb.c+6 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/6] mfd: Make use of software nodes

Some devices would need to have a hierarchy of properties and child nodes passed to the child or children of MFD. For such case we may utilize software nodes, which is superior on device properties.

Add support of software nodes to MFD core and convert one driver to show how it looks like. This allows to get rid of legacy platform data.

The change has been tested on Intel Galileo Gen 2.

Andy Shevchenko (5):
gpio: dwapb: Replace irq_shared flag with fwnode type check
gpio: dwapb: Read GPIO base from snps,gpio-base property
mfd: intel_quark_i2c_gpio: Convert to use software nodes
gpio: dwapb: Get rid of legacy platform data
gpio: dwapb: Define magic number for IRQ and GPIO lines

Heikki Krogerus (1):
mfd: core: Propagate software node group to the sub devices

 drivers/gpio/gpio-dwapb.c                | 44 +++++++++-------
 drivers/mfd/intel_quark_i2c_gpio.c       | 64 +++++++++++-------------
 drivers/mfd/mfd-core.c                   | 31 ++++++++++--
 include/linux/mfd/core.h                 |  3 ++
 include/linux/platform_data/gpio-dwapb.h | 23 ---------
 5 files changed, 85 insertions(+), 80 deletions(-)
 delete mode 100644 include/linux/platform_data/gpio-dwapb.h
Signature · 1 line
2.27.0.rc2