#include <linux/err.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/spinlock.h>
#include <linux/soc/samsung/exynos-regs-pmu.h>
#include <linux/mfd/syscon.h>
enum exynos_mipi_phy_id { … };
enum exynos_mipi_phy_regmap_id { … };
struct mipi_phy_device_desc { … };
static const struct mipi_phy_device_desc s5pv210_mipi_phy = …;
static const struct mipi_phy_device_desc exynos5420_mipi_phy = …;
#define EXYNOS5433_SYSREG_DISP_MIPI_PHY …
#define EXYNOS5433_SYSREG_CAM0_MIPI_DPHY_CON …
#define EXYNOS5433_SYSREG_CAM1_MIPI_DPHY_CON …
static const struct mipi_phy_device_desc exynos5433_mipi_phy = …;
struct exynos_mipi_video_phy { … };
static int __set_phy_state(const struct exynos_mipi_phy_desc *data,
struct exynos_mipi_video_phy *state, unsigned int on)
{ … }
#define to_mipi_video_phy(desc) …
static int exynos_mipi_video_phy_power_on(struct phy *phy)
{ … }
static int exynos_mipi_video_phy_power_off(struct phy *phy)
{ … }
static struct phy *exynos_mipi_video_phy_xlate(struct device *dev,
const struct of_phandle_args *args)
{ … }
static const struct phy_ops exynos_mipi_video_phy_ops = …;
static int exynos_mipi_video_phy_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id exynos_mipi_video_phy_of_match[] = …;
MODULE_DEVICE_TABLE(of, exynos_mipi_video_phy_of_match);
static struct platform_driver exynos_mipi_video_phy_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;