summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-11-13 15:12:17 +0000
committerMark Brown <broonie@kernel.org>2026-11-13 15:12:17 +0000
commita3da946a165d5d3eb3173acfb21d0b46aecd6ce2 (patch)
treeeac58953ab37f91d770dac9fd558ec9d02a09fa4 /include/linux
parentd39fd4ce345ba4cacee9a842e6d58508a68f388c (diff)
parenteac3b292a26e2210037c1fa6b56edc18c0ce4e0d (diff)
downloadlinux-next-a3da946a165d5d3eb3173acfb21d0b46aecd6ce2.tar.gz
linux-next-a3da946a165d5d3eb3173acfb21d0b46aecd6ce2.zip
Merge branch 'reset/next' of https://git.kernel.org/pub/scm/linux/kernel/git/pza/linux
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/reset-controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h
index 52a5a4e81f18..587fb57c2c52 100644
--- a/include/linux/reset-controller.h
+++ b/include/linux/reset-controller.h
@@ -47,6 +47,9 @@ struct of_phandle_args;
* id as given to the reset control ops, defaults to
* :c:func:`fwnode_reset_simple_xlate`
* @nr_resets: number of reset controls in this reset controller device
+ * @can_sleep: set by the provider if its reset ops may sleep; makes the core
+ * serialize the shared reset, assert and deassert paths under a
+ * mutex
* @lock: protects the reset control list from concurrent access
*/
struct reset_controller_dev {
@@ -64,6 +67,7 @@ struct reset_controller_dev {
int (*fwnode_xlate)(struct reset_controller_dev *rcdev,
const struct fwnode_reference_args *reset_spec);
unsigned int nr_resets;
+ bool can_sleep;
struct mutex lock;
};