#include <linux/module.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/regmap.h>
#include <linux/mfd/core.h>
#include <linux/pm_runtime.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/mfd/ti_am335x_tscadc.h>
static const struct regmap_config tscadc_regmap_config = …;
void am335x_tsc_se_set_cache(struct ti_tscadc_dev *tscadc, u32 val)
{ … }
EXPORT_SYMBOL_GPL(…);
static void am335x_tscadc_need_adc(struct ti_tscadc_dev *tscadc)
{ … }
void am335x_tsc_se_set_once(struct ti_tscadc_dev *tscadc, u32 val)
{ … }
EXPORT_SYMBOL_GPL(…);
void am335x_tsc_se_adc_done(struct ti_tscadc_dev *tscadc)
{ … }
EXPORT_SYMBOL_GPL(…);
void am335x_tsc_se_clr(struct ti_tscadc_dev *tscadc, u32 val)
{ … }
EXPORT_SYMBOL_GPL(…);
static void tscadc_idle_config(struct ti_tscadc_dev *tscadc)
{ … }
static int ti_tscadc_probe(struct platform_device *pdev)
{ … }
static void ti_tscadc_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused ti_tscadc_can_wakeup(struct device *dev, void *data)
{ … }
static int __maybe_unused tscadc_suspend(struct device *dev)
{ … }
static int __maybe_unused tscadc_resume(struct device *dev)
{ … }
static SIMPLE_DEV_PM_OPS(tscadc_pm_ops, tscadc_suspend, tscadc_resume);
static const struct ti_tscadc_data tscdata = …;
static const struct ti_tscadc_data magdata = …;
static const struct of_device_id ti_tscadc_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, ti_tscadc_dt_ids);
static struct platform_driver ti_tscadc_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;