linux/drivers/input/misc/max77650-onkey.c

// SPDX-License-Identifier: GPL-2.0
//
// Copyright (C) 2018 BayLibre SAS
// Author: Bartosz Golaszewski <[email protected]>
//
// ONKEY driver for MAXIM 77650/77651 charger/power-supply.

#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/mfd/max77650.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>

#define MAX77650_ONKEY_MODE_MASK
#define MAX77650_ONKEY_MODE_PUSH
#define MAX77650_ONKEY_MODE_SLIDE

struct max77650_onkey {};

static irqreturn_t max77650_onkey_falling(int irq, void *data)
{}

static irqreturn_t max77650_onkey_rising(int irq, void *data)
{}

static int max77650_onkey_probe(struct platform_device *pdev)
{}

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

static struct platform_driver max77650_onkey_driver =;
module_platform_driver();

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