lkml.org 
[lkml]   [2020]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/6] mfd: Make use of software nodes
Date
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

--
2.27.0.rc2

\
 
 \ /
  Last update: 2020-06-08 15:43    [W:0.161 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site