1 #ifndef __MACH_MMP_CLK_RESET_H
2 #define __MACH_MMP_CLK_RESET_H
4 #include <linux/reset-controller.h>
6 #define MMP_RESET_INVERT 1
8 struct mmp_clk_reset_cell
{
16 struct mmp_clk_reset_unit
{
17 struct reset_controller_dev rcdev
;
18 struct mmp_clk_reset_cell
*cells
;
21 #ifdef CONFIG_RESET_CONTROLLER
22 void mmp_clk_reset_register(struct device_node
*np
,
23 struct mmp_clk_reset_cell
*cells
, int nr_resets
);
25 static inline void mmp_clk_reset_register(struct device_node
*np
,
26 struct mmp_clk_reset_cell
*cells
, int nr_resets
)