#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/reset-controller.h>
struct tps380x_reset { … };
struct tps380x_reset_devdata { … };
static inline
struct tps380x_reset *to_tps380x_reset(struct reset_controller_dev *rcdev)
{ … }
static int
tps380x_reset_assert(struct reset_controller_dev *rcdev, unsigned long id)
{ … }
static int
tps380x_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id)
{ … }
static const struct reset_control_ops reset_tps380x_ops = …;
static int tps380x_reset_of_xlate(struct reset_controller_dev *rcdev,
const struct of_phandle_args *reset_spec)
{ … }
static int tps380x_reset_probe(struct platform_device *pdev)
{ … }
static const struct tps380x_reset_devdata tps3801_reset_data = …;
static const struct of_device_id tps380x_reset_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, tps380x_reset_dt_ids);
static struct platform_driver tps380x_reset_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;