linux/drivers/input/keyboard/imx_sc_key.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright 2019 NXP.
 */

#include <linux/err.h>
#include <linux/device.h>
#include <linux/firmware/imx/sci.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/property.h>

#define DEBOUNCE_TIME
#define REPEAT_INTERVAL

#define SC_IRQ_BUTTON
#define SC_IRQ_GROUP_WAKE

#define IMX_SC_MISC_FUNC_GET_BUTTON_STATUS

struct imx_key_drv_data {};

struct imx_sc_msg_key {};

static int imx_sc_key_notify(struct notifier_block *nb,
			     unsigned long event, void *group)
{}

static void imx_sc_check_for_events(struct work_struct *work)
{}

static void imx_sc_key_action(void *data)
{}

static int imx_sc_key_probe(struct platform_device *pdev)
{}

static const struct of_device_id imx_sc_key_ids[] =;
MODULE_DEVICE_TABLE(of, imx_sc_key_ids);

static struct platform_driver imx_sc_key_driver =;
module_platform_driver();

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