xref: /openbmc/linux/drivers/clk/nuvoton/clk-ma35d1.h (revision a5e3f372)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2023 Nuvoton Technology Corp.
4  * Author: Chi-Fang Li <cfli0@nuvoton.com>
5  */
6 
7 #ifndef __DRV_CLK_NUVOTON_MA35D1_H
8 #define __DRV_CLK_NUVOTON_MA35D1_H
9 
10 struct clk_hw *ma35d1_reg_clk_pll(struct device *dev, u32 id, u8 u8mode, const char *name,
11 				  struct clk_hw *parent_hw, void __iomem *base);
12 
13 struct clk_hw *ma35d1_reg_adc_clkdiv(struct device *dev, const char *name,
14 				     struct clk_hw *parent_hw, spinlock_t *lock,
15 				     unsigned long flags, void __iomem *reg,
16 				     u8 shift, u8 width, u32 mask_bit);
17 
18 #endif /* __DRV_CLK_NUVOTON_MA35D1_H */
19