#include <linux/auxiliary_bus.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/reset-controller.h>
#define EARC …
#define EARC_RESET_MASK …
struct imx8mp_audiomix_reset { … };
static struct imx8mp_audiomix_reset *to_imx8mp_audiomix_reset(struct reset_controller_dev *rcdev)
{ … }
static int imx8mp_audiomix_reset_assert(struct reset_controller_dev *rcdev,
unsigned long id)
{ … }
static int imx8mp_audiomix_reset_deassert(struct reset_controller_dev *rcdev,
unsigned long id)
{ … }
static const struct reset_control_ops imx8mp_audiomix_reset_ops = …;
static int imx8mp_audiomix_reset_probe(struct auxiliary_device *adev,
const struct auxiliary_device_id *id)
{ … }
static void imx8mp_audiomix_reset_remove(struct auxiliary_device *adev)
{ … }
static const struct auxiliary_device_id imx8mp_audiomix_reset_ids[] = …;
MODULE_DEVICE_TABLE(auxiliary, imx8mp_audiomix_reset_ids);
static struct auxiliary_driver imx8mp_audiomix_reset_driver = …;
module_auxiliary_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;