diff -drupN a/include/linux/clk/sunxi.h b/include/linux/clk/sunxi.h --- a/include/linux/clk/sunxi.h 1970-01-01 03:00:00.000000000 +0300 +++ b/include/linux/clk/sunxi.h 2022-06-12 05:28:14.000000000 +0300 @@ -0,0 +1,25 @@ +/* + * Copyright 2012 Maxime Ripard + * + * Maxime Ripard + * + * 2013-4-17 15:43 add periph reset assert/deassert, kevin.z.m + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __LINUX_CLK_SUNXI_H_ +#define __LINUX_CLK_SUNXI_H_ + +int sunxi_periph_reset_deassert(struct clk *c); +int sunxi_periph_reset_assert(struct clk *c); + +#endif