linux/drivers/mfd/wm5110-tables.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * wm5110-tables.c  --  WM5110 data tables
 *
 * Copyright 2012 Wolfson Microelectronics plc
 *
 * Author: Mark Brown <[email protected]>
 */

#include <linux/module.h>

#include <linux/mfd/arizona/core.h>
#include <linux/mfd/arizona/registers.h>
#include <linux/device.h>

#include "arizona.h"

#define WM5110_NUM_AOD_ISR
#define WM5110_NUM_ISR

static const struct reg_sequence wm5110_reva_patch[] =;

static const struct reg_sequence wm5110_revb_patch[] =;

static const struct reg_sequence wm5110_revd_patch[] =;

/* Add extra headphone write sequence locations */
static const struct reg_sequence wm5110_reve_patch[] =;

/* We use a function so we can use ARRAY_SIZE() */
int wm5110_patch(struct arizona *arizona)
{}
EXPORT_SYMBOL_GPL();

static const struct regmap_irq wm5110_aod_irqs[ARIZONA_NUM_IRQ] =;

const struct regmap_irq_chip wm5110_aod =;
EXPORT_SYMBOL_GPL();

static const struct regmap_irq wm5110_irqs[ARIZONA_NUM_IRQ] =;

const struct regmap_irq_chip wm5110_irq =;
EXPORT_SYMBOL_GPL();

static const struct regmap_irq wm5110_revd_irqs[ARIZONA_NUM_IRQ] =;

const struct regmap_irq_chip wm5110_revd_irq =;
EXPORT_SYMBOL_GPL();

static const struct reg_default wm5110_reg_default[] =;

static bool wm5110_is_rev_b_adsp_memory(unsigned int reg)
{}

static bool wm5110_is_rev_d_adsp_memory(unsigned int reg)
{}

static bool wm5110_is_adsp_memory(struct device *dev, unsigned int reg)
{}

static bool wm5110_readable_register(struct device *dev, unsigned int reg)
{}

static bool wm5110_volatile_register(struct device *dev, unsigned int reg)
{}

#define WM5110_MAX_REGISTER

const struct regmap_config wm5110_spi_regmap =;
EXPORT_SYMBOL_GPL();

const struct regmap_config wm5110_i2c_regmap =;
EXPORT_SYMBOL_GPL();