From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: linux-acpi@vger.kernel.org
Cc: devicetree@vger.kernel.org, sudeep.holla@arm.com,
lorenzo.pieralisi@arm.com, mika.westerberg@linux.intel.com,
rafael@kernel.org, mark.rutland@arm.com, broonie@kernel.org,
robh@kernel.org, ahs3@redhat.com, frowand.list@gmail.com
Subject: [PATCH v5 0/5] Move firmware specific code to firmware specific locations
Date: Thu, 4 May 2017 10:14:06 +0300 [thread overview]
Message-ID: <1493882051-28814-1-git-send-email-sakari.ailus@linux.intel.com> (raw)
Hi folks,
This set moves firmware specific implementations of the device / fwnode
property API to locations that are specific to firmware implementation,
still leaving property set (which isn't really firmware) implementation in
drivers/base/property.c.
since v3 (the cover page for v4 was unfortunately lost):
- Rebased on linux-next.
- Depend on "of: Move OF property and graph API from base.c to property.c"
posted to devicetree list yesterday. My thinking is this would be better
go through Rob's tree. Thinking about it more, the first patch in this
set should, too.
- In the old set, patch 1 ("device property: Read strings using string
array reading functions") has since been merged to linux-pm tree. Patch
2 ("device property: Implement fwnode_get_next_parent() using fwnode
interface") was squashed to "device property: Add
fwnode_get_next_parent()" which is in linux-pm as well.
- Refactor the implementation of fwnode graph operations in order to
implement basic operations in a firmware specific way separately from
the common part. In particular, graph_get_remote_port() and
graph_get_remote_port_parent() have been replaced by
graph_get_port_parent().
- Added patches 5 and 6 to implement fwnode variant of
fwnode_graph_get_remote_node() which is seen as a better API for many
(or most) drivers than the other graph API primitives.
since v2:
- Move patches changing the implementation of reading strings and
implementing fwnode_get_next_parent() using the fwnode interface alone
in front of the set. I kept them separate as they do change the
implementation of these operations.
- Merge patches adding the fwnode_operations and moving the
implementations of the non-graph portions of the fwnode property API to
firmware specific locations.
- Merge moving graph operations to the same struct into another patch.
The graph operations in the ops struct are also added in this patch now.
since v1:
- Move the three bugfixes in front of the set into a separate patchset.
There are no dependencies to those from the rest of the patches.
- Rebase on current ACPI graph support patches (themselves on PM tree
4.11-rc1 merge).
<URL:http://www.spinics.net/lists/linux-acpi/msg72895.html>
Sakari Ailus (5):
of: Add of_graph_get_port_parent() to obtain a port's parent node
device property: Move FW type specific functionality to FW specific
files
device property: Move fwnode graph ops to firmware specific locations
device property: Introduce fwnode_device_is_available()
device property: Add FW type agnostic fwnode_graph_get_remote_node
drivers/acpi/property.c | 126 ++++++++++++++++++
drivers/acpi/scan.c | 1 +
drivers/base/property.c | 337 +++++++++++++++++++----------------------------
drivers/of/property.c | 197 +++++++++++++++++++++++++--
include/linux/acpi.h | 4 +
include/linux/fwnode.h | 66 ++++++++++
include/linux/of.h | 2 +
include/linux/property.h | 3 +
8 files changed, 524 insertions(+), 212 deletions(-)
--
2.7.4
next reply other threads:[~2017-05-04 7:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-04 7:14 Sakari Ailus [this message]
2017-05-04 7:14 ` [PATCH v5 1/5] of: Add of_graph_get_port_parent() to obtain a port's parent node Sakari Ailus
2017-05-04 7:14 ` [PATCH v5 2/5] device property: Move FW type specific functionality to FW specific files Sakari Ailus
2017-05-04 7:14 ` [PATCH v5 3/5] device property: Move fwnode graph ops to firmware specific locations Sakari Ailus
[not found] ` <1493882051-28814-4-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-08 18:23 ` Rob Herring
2017-05-09 12:36 ` Sakari Ailus
2017-05-04 7:14 ` [PATCH v5 4/5] device property: Introduce fwnode_device_is_available() Sakari Ailus
2017-05-04 7:14 ` [PATCH v5 5/5] device property: Add FW type agnostic fwnode_graph_get_remote_node Sakari Ailus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1493882051-28814-1-git-send-email-sakari.ailus@linux.intel.com \
--to=sakari.ailus@linux.intel.com \
--cc=ahs3@redhat.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=mark.rutland@arm.com \
--cc=mika.westerberg@linux.intel.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=sudeep.holla@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).