linux/drivers/misc/tps6594-esm.c

// SPDX-License-Identifier: GPL-2.0
/*
 * ESM (Error Signal Monitor) driver for TI TPS6594/TPS6593/LP8764 PMICs
 *
 * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/
 */

#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>

#include <linux/mfd/tps6594.h>

#define TPS6594_DEV_REV_1

static irqreturn_t tps6594_esm_isr(int irq, void *dev_id)
{}

static int tps6594_esm_probe(struct platform_device *pdev)
{}

static void tps6594_esm_remove(struct platform_device *pdev)
{}

static int tps6594_esm_suspend(struct device *dev)
{}

static int tps6594_esm_resume(struct device *dev)
{}

static DEFINE_SIMPLE_DEV_PM_OPS(tps6594_esm_pm_ops, tps6594_esm_suspend, tps6594_esm_resume);

static struct platform_driver tps6594_esm_driver =;

module_platform_driver();

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