1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 // Actions Semi Owl SoCs Reset Management Unit driver
5 // Copyright (c) 2018 Linaro Ltd.
6 // Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 #include <linux/reset-controller.h>
13 struct owl_reset_map
{
19 struct reset_controller_dev rcdev
;
20 const struct owl_reset_map
*reset_map
;
21 struct regmap
*regmap
;
24 static inline struct owl_reset
*to_owl_reset(struct reset_controller_dev
*rcdev
)
26 return container_of(rcdev
, struct owl_reset
, rcdev
);
29 extern const struct reset_control_ops owl_reset_ops
;
31 #endif /* _OWL_RESET_H_ */