linux/sound/soc/sunxi/sun8i-adda-pr-regmap.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * This driver provides regmap to access to analog part of audio codec
 * found on Allwinner A23, A31s, A33, H3 and A64 Socs
 *
 * Copyright 2016 Chen-Yu Tsai <[email protected]>
 * Copyright (C) 2018 Vasily Khoruzhick <[email protected]>
 */

#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regmap.h>

#include "sun8i-adda-pr-regmap.h"

/* Analog control register access bits */
#define ADDA_PR
#define ADDA_PR_RESET
#define ADDA_PR_WRITE
#define ADDA_PR_ADDR_SHIFT
#define ADDA_PR_ADDR_MASK
#define ADDA_PR_DATA_IN_SHIFT
#define ADDA_PR_DATA_IN_MASK
#define ADDA_PR_DATA_OUT_SHIFT
#define ADDA_PR_DATA_OUT_MASK

/* regmap access bits */
static int adda_reg_read(void *context, unsigned int reg, unsigned int *val)
{}

static int adda_reg_write(void *context, unsigned int reg, unsigned int val)
{}

static const struct regmap_config adda_pr_regmap_cfg =;

struct regmap *sun8i_adda_pr_regmap_init(struct device *dev,
					 void __iomem *base)
{}
EXPORT_SYMBOL_GPL();

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