162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2023 Nuvoton Technology Corp.
462306a36Sopenharmony_ci * Author: Chi-Fang Li <cfli0@nuvoton.com>
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef __DRV_CLK_NUVOTON_MA35D1_H
862306a36Sopenharmony_ci#define __DRV_CLK_NUVOTON_MA35D1_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_cistruct clk_hw *ma35d1_reg_clk_pll(struct device *dev, u32 id, u8 u8mode, const char *name,
1162306a36Sopenharmony_ci				  struct clk_hw *parent_hw, void __iomem *base);
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cistruct clk_hw *ma35d1_reg_adc_clkdiv(struct device *dev, const char *name,
1462306a36Sopenharmony_ci				     struct clk_hw *parent_hw, spinlock_t *lock,
1562306a36Sopenharmony_ci				     unsigned long flags, void __iomem *reg,
1662306a36Sopenharmony_ci				     u8 shift, u8 width, u32 mask_bit);
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#endif /* __DRV_CLK_NUVOTON_MA35D1_H */
19