linux/drivers/mfd/exynos-lpass.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2015 - 2016 Samsung Electronics Co., Ltd.
 *
 * Authors: Inha Song <[email protected]>
 *          Sylwester Nawrocki <[email protected]>
 *
 * Samsung Exynos SoC series Low Power Audio Subsystem driver.
 *
 * This module provides regmap for the Top SFR region and instantiates
 * devices for IP blocks like DMAC, I2S, UART.
 */

#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <linux/soc/samsung/exynos-regs-pmu.h>
#include <linux/types.h>

/* LPASS Top register definitions */
#define SFR_LPASS_CORE_SW_RESET
#define LPASS_SB_SW_RESET
#define LPASS_UART_SW_RESET
#define LPASS_PCM_SW_RESET
#define LPASS_I2S_SW_RESET
#define LPASS_WDT1_SW_RESET
#define LPASS_WDT0_SW_RESET
#define LPASS_TIMER_SW_RESET
#define LPASS_MEM_SW_RESET
#define LPASS_DMA_SW_RESET

#define SFR_LPASS_INTR_CA5_MASK
#define SFR_LPASS_INTR_CPU_MASK
#define LPASS_INTR_APM
#define LPASS_INTR_MIF
#define LPASS_INTR_TIMER
#define LPASS_INTR_DMA
#define LPASS_INTR_GPIO
#define LPASS_INTR_I2S
#define LPASS_INTR_PCM
#define LPASS_INTR_SLIMBUS
#define LPASS_INTR_UART
#define LPASS_INTR_SFR

struct exynos_lpass {};

static void exynos_lpass_core_sw_reset(struct exynos_lpass *lpass, int mask)
{}

static void exynos_lpass_enable(struct exynos_lpass *lpass)
{}

static void exynos_lpass_disable(struct exynos_lpass *lpass)
{}

static const struct regmap_config exynos_lpass_reg_conf =;

static int exynos_lpass_probe(struct platform_device *pdev)
{}

static void exynos_lpass_remove(struct platform_device *pdev)
{}

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

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

static const struct dev_pm_ops lpass_pm_ops =;

static const struct of_device_id exynos_lpass_of_match[] =;
MODULE_DEVICE_TABLE(of, exynos_lpass_of_match);

static struct platform_driver exynos_lpass_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();