linux/drivers/clk/samsung/clk-exynos4412-isp.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
 * Author: Marek Szyprowski <[email protected]>
 *
 * Common Clock Framework support for Exynos4412 ISP module.
*/

#include <dt-bindings/clock/exynos4.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>

#include "clk.h"

/* Exynos4x12 specific registers, which belong to ISP power domain */
#define E4X12_DIV_ISP0
#define E4X12_DIV_ISP1
#define E4X12_GATE_ISP0
#define E4X12_GATE_ISP1

/* NOTE: Must be equal to the last clock ID increased by one */
#define CLKS_NR_ISP

/*
 * Support for CMU save/restore across system suspends
 */
static struct samsung_clk_reg_dump *exynos4x12_save_isp;

static const unsigned long exynos4x12_clk_isp_save[] __initconst =;

static struct samsung_div_clock exynos4x12_isp_div_clks[] =;

static struct samsung_gate_clock exynos4x12_isp_gate_clks[] =;

static int __maybe_unused exynos4x12_isp_clk_suspend(struct device *dev)
{}

static int __maybe_unused exynos4x12_isp_clk_resume(struct device *dev)
{}

static int __init exynos4x12_isp_clk_probe(struct platform_device *pdev)
{}

static const struct of_device_id exynos4x12_isp_clk_of_match[] =;

static const struct dev_pm_ops exynos4x12_isp_pm_ops =;

static struct platform_driver exynos4x12_isp_clk_driver __refdata =;

static int __init exynos4x12_isp_clk_init(void)
{}
core_initcall(exynos4x12_isp_clk_init);