1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved.
6 #ifndef _LINUX_CLK_SUNXI_NG_H_
7 #define _LINUX_CLK_SUNXI_NG_H_
9 #include <linux/errno.h>
11 #ifdef CONFIG_SUNXI_CCU
12 int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode);
13 int sunxi_ccu_get_mmc_timing_mode(struct clk *clk);
15 static inline int sunxi_ccu_set_mmc_timing_mode(struct clk *clk,
21 static inline int sunxi_ccu_get_mmc_timing_mode(struct clk *clk)