/* SPDX-License-Identifier: GPL-2.0-or-later */1//2// Actions Semi Owl SoCs Reset Management Unit driver3//4// Copyright (c) 2018 Linaro Ltd.5// Author: Manivannan Sadhasivam <[email protected]>67#ifndef _OWL_RESET_H_8#define _OWL_RESET_H_910#include <linux/reset-controller.h>1112struct owl_reset_map {13u32 reg;14u32 bit;15};1617struct owl_reset {18struct reset_controller_dev rcdev;19const struct owl_reset_map *reset_map;20struct regmap *regmap;21};2223static inline struct owl_reset *to_owl_reset(struct reset_controller_dev *rcdev)24{25return container_of(rcdev, struct owl_reset, rcdev);26}2728extern const struct reset_control_ops owl_reset_ops;2930#endif /* _OWL_RESET_H_ */313233