[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220323095022.453708-1-clement.leger@bootlin.com>
Date: Wed, 23 Mar 2022 10:50:20 +0100
From: Clément Léger <clement.leger@...tlin.com>
To: Philipp Zabel <p.zabel@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>
Cc: Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Allan Nielsen <allan.nielsen@...rochip.com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Clément Léger <clement.leger@...tlin.com>
Subject: [PATCH 0/2] add fwnode support to reset subsystem
This series is part of a larger series which aims at adding fwnode
support in multiple subsystems [1]. The goal of this series was to
add support for software node in various subsystem but in a first
time only the fwnode support had gained consensus and will be added
to multiple subsystems.
For the moment ACPI node support is excluded from the fwnode support
to avoid creating an unspecified ACPI reset device description. With
these modifications, both driver that uses the fwnode_ API or the of_
API to register the reset controller will be usable by consumer
whatever the type of node that is used.
One question raised by this series is that I'm not sure if all reset
drivers should be modified to use the new fwnode support or keep the
existing device-tree support. Maintainer advice on that particular
question will be welcome.
[1] https://lore.kernel.org/netdev/YhPSkz8+BIcdb72R@smile.fi.intel.com/T/
Clément Léger (2):
of: add function to convert fwnode_reference_args to of_phandle_args
reset: add support for fwnode
drivers/reset/core.c | 91 ++++++++++++++++++++++++--------
include/linux/of.h | 18 +++++++
include/linux/reset-controller.h | 14 ++++-
include/linux/reset.h | 14 +++++
4 files changed, 114 insertions(+), 23 deletions(-)
--
2.34.1
Powered by blists - more mailing lists