| /* SPDX-License-Identifier: GPL-2.0 */ |
| * Copyright (c) 2019 MediaTek Inc. |
| * Author: Jitao Shi <jitao.shi@mediatek.com> |
| #include <linux/clk-provider.h> |
| #include <linux/module.h> |
| #include <linux/nvmem-consumer.h> |
| #include <linux/platform_device.h> |
| #include <linux/phy/phy.h> |
| const u32 mppll_preserve; |
| const struct clk_ops *mipi_tx_clk_ops; |
| void (*mipi_tx_enable_signal)(struct phy *phy); |
| void (*mipi_tx_disable_signal)(struct phy *phy); |
| const struct mtk_mipitx_data *driver_data; |
| struct mtk_mipi_tx *mtk_mipi_tx_from_clk_hw(struct clk_hw *hw); |
| int mtk_mipi_tx_pll_set_rate(struct clk_hw *hw, unsigned long rate, |
| unsigned long parent_rate); |
| unsigned long mtk_mipi_tx_pll_recalc_rate(struct clk_hw *hw, |
| unsigned long parent_rate); |
| extern const struct mtk_mipitx_data mt2701_mipitx_data; |
| extern const struct mtk_mipitx_data mt8173_mipitx_data; |
| extern const struct mtk_mipitx_data mt8183_mipitx_data; |