linux/drivers/platform/x86/intel/crystal_cove_charger.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Driver for the external-charger IRQ pass-through function of the
 * Intel Bay Trail Crystal Cove PMIC.
 *
 * Note this is NOT a power_supply class driver, it just deals with IRQ
 * pass-through, this requires a separate driver because the PMIC's
 * level 2 interrupt for this must be explicitly acked.
 */

#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
#include <linux/mfd/intel_soc_pmic.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>

#define CHGRIRQ_REG
#define MCHGRIRQ_REG

struct crystal_cove_charger_data {};

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

static void crystal_cove_charger_irq_bus_lock(struct irq_data *data)
{}

static void crystal_cove_charger_irq_bus_sync_unlock(struct irq_data *data)
{}

static void crystal_cove_charger_irq_unmask(struct irq_data *data)
{}

static void crystal_cove_charger_irq_mask(struct irq_data *data)
{}

static void crystal_cove_charger_rm_irq_domain(void *data)
{}

static int crystal_cove_charger_probe(struct platform_device *pdev)
{}

static struct platform_driver crystal_cove_charger_driver =;
module_platform_driver();

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