#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/of.h>
#include <dt-bindings/reset/qcom,sdm845-aoss.h>
struct qcom_aoss_reset_map { … };
struct qcom_aoss_desc { … };
struct qcom_aoss_reset_data { … };
static const struct qcom_aoss_reset_map sdm845_aoss_resets[] = …;
static const struct qcom_aoss_desc sdm845_aoss_desc = …;
static inline struct qcom_aoss_reset_data *to_qcom_aoss_reset_data(
struct reset_controller_dev *rcdev)
{ … }
static int qcom_aoss_control_assert(struct reset_controller_dev *rcdev,
unsigned long idx)
{ … }
static int qcom_aoss_control_deassert(struct reset_controller_dev *rcdev,
unsigned long idx)
{ … }
static int qcom_aoss_control_reset(struct reset_controller_dev *rcdev,
unsigned long idx)
{ … }
static const struct reset_control_ops qcom_aoss_reset_ops = …;
static int qcom_aoss_reset_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id qcom_aoss_reset_of_match[] = …;
MODULE_DEVICE_TABLE(of, qcom_aoss_reset_of_match);
static struct platform_driver qcom_aoss_reset_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;