24 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2 3#ifndef __RESET_PRCC_H4#define __RESET_PRCC_H5 6#include <linux/reset-controller.h>7#include <linux/io.h>8 9/**10 * struct u8500_prcc_reset - U8500 PRCC reset controller state11 * @rcdev: reset controller device12 * @phy_base: the physical base address for each PRCC block13 * @base: the remapped PRCC bases14 */15struct u8500_prcc_reset {16 struct reset_controller_dev rcdev;17 u32 phy_base[CLKRST_MAX];18 void __iomem *base[CLKRST_MAX];19};20 21void u8500_prcc_reset_init(struct device_node *np, struct u8500_prcc_reset *ur);22 23#endif24