linux/include/linux/mfd/iqs62x.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Azoteq IQS620A/621/622/624/625 Multi-Function Sensors
 *
 * Copyright (C) 2019 Jeff LaBundy <[email protected]>
 */

#ifndef __LINUX_MFD_IQS62X_H
#define __LINUX_MFD_IQS62X_H

#define IQS620_PROD_NUM
#define IQS621_PROD_NUM
#define IQS622_PROD_NUM
#define IQS624_PROD_NUM
#define IQS625_PROD_NUM

#define IQS620_HW_NUM_V0
#define IQS620_HW_NUM_V1
#define IQS620_HW_NUM_V2
#define IQS620_HW_NUM_V3

#define IQS621_ALS_FLAGS
#define IQS622_ALS_FLAGS

#define IQS624_HALL_UI
#define IQS624_HALL_UI_WHL_EVENT
#define IQS624_HALL_UI_INT_EVENT
#define IQS624_HALL_UI_AUTO_CAL

#define IQS624_INTERVAL_DIV

#define IQS620_GLBL_EVENT_MASK
#define IQS620_GLBL_EVENT_MASK_PMU

#define IQS62X_NUM_KEYS
#define IQS62X_NUM_EVENTS

#define IQS62X_EVENT_SIZE

enum iqs62x_ui_sel {};

enum iqs62x_event_reg {};

enum iqs62x_event_flag {};

struct iqs62x_event_data {};

struct iqs62x_event_desc {};

struct iqs62x_dev_desc {};

struct iqs62x_core {};

extern const struct iqs62x_event_desc iqs62x_events[IQS62X_NUM_EVENTS];

#endif /* __LINUX_MFD_IQS62X_H */