[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200608134300.76091-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 8 Jun 2020 16:42:54 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Serge Semin <fancer.lancer@...il.com>, linux-gpio@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
linux-kernel@...r.kernel.org, Lee Jones <lee.jones@...aro.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [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
--
2.27.0.rc2
Powered by blists - more mailing lists