linux/drivers/iio/dac/stm32-dac-core.c

// SPDX-License-Identifier: GPL-2.0
/*
 * This file is part of STM32 DAC driver
 *
 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
 * Author: Fabrice Gasnier <[email protected]>.
 *
 */

#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/property.h>
#include <linux/regulator/consumer.h>
#include <linux/reset.h>

#include "stm32-dac-core.h"

/**
 * struct stm32_dac_priv - stm32 DAC core private data
 * @pclk:		peripheral clock common for all DACs
 * @vref:		regulator reference
 * @common:		Common data for all DAC instances
 */
struct stm32_dac_priv {};

/**
 * struct stm32_dac_cfg - DAC configuration
 * @has_hfsel: DAC has high frequency control
 */
struct stm32_dac_cfg {};

static struct stm32_dac_priv *to_stm32_dac_priv(struct stm32_dac_common *com)
{}

static const struct regmap_config stm32_dac_regmap_cfg =;

static int stm32_dac_core_hw_start(struct device *dev)
{}

static void stm32_dac_core_hw_stop(struct device *dev)
{}

static int stm32_dac_probe(struct platform_device *pdev)
{}

static void stm32_dac_remove(struct platform_device *pdev)
{}

static int stm32_dac_core_resume(struct device *dev)
{}

static int stm32_dac_core_runtime_suspend(struct device *dev)
{}

static int stm32_dac_core_runtime_resume(struct device *dev)
{}

static const struct dev_pm_ops stm32_dac_core_pm_ops =;

static const struct stm32_dac_cfg stm32h7_dac_cfg =;

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

static struct platform_driver stm32_dac_driver =;
module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();