linux/include/linux/mfd/da9063/core.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Definitions for DA9063 MFD driver
 *
 * Copyright 2012 Dialog Semiconductor Ltd.
 *
 * Author: Michal Hajduk, Dialog Semiconductor
 * Author: Krystian Garbaciak, Dialog Semiconductor
 */

#ifndef __MFD_DA9063_CORE_H__
#define __MFD_DA9063_CORE_H__

#include <linux/interrupt.h>
#include <linux/mfd/da9063/registers.h>

/* DA9063 modules */
#define DA9063_DRVNAME_CORE
#define DA9063_DRVNAME_REGULATORS
#define DA9063_DRVNAME_LEDS
#define DA9063_DRVNAME_WATCHDOG
#define DA9063_DRVNAME_HWMON
#define DA9063_DRVNAME_ONKEY
#define DA9063_DRVNAME_RTC
#define DA9063_DRVNAME_VIBRATION

#define PMIC_CHIP_ID_DA9063

enum da9063_type {};

enum da9063_variant_codes {};

/* Interrupts */
enum da9063_irqs {};

struct da9063 {};

int da9063_device_init(struct da9063 *da9063, unsigned int irq);
int da9063_irq_init(struct da9063 *da9063);

#endif /* __MFD_DA9063_CORE_H__ */