linux/sound/soc/codecs/max98504.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * MAX98504 ALSA SoC Audio driver
 *
 * Copyright 2011 - 2012 Maxim Integrated Products
 * Copyright 2016 Samsung Electronics Co., Ltd.
 */
#ifndef MAX98504_H_
#define MAX98504_H_

/*
 * MAX98504 Register Definitions
 */
#define MAX98504_INTERRUPT_STATUS
#define MAX98504_INTERRUPT_FLAGS
#define MAX98504_INTERRUPT_ENABLE
#define MAX98504_INTERRUPT_FLAG_CLEARS
#define MAX98504_GPIO_ENABLE
#define MAX98504_GPIO_CONFIG
#define MAX98504_WATCHDOG_ENABLE
#define MAX98504_WATCHDOG_CONFIG
#define MAX98504_WATCHDOG_CLEAR
#define MAX98504_CLOCK_MONITOR_ENABLE
#define MAX98504_PVDD_BROWNOUT_ENABLE
#define MAX98504_PVDD_BROWNOUT_CONFIG_1
#define MAX98504_PVDD_BROWNOUT_CONFIG_2
#define MAX98504_PVDD_BROWNOUT_CONFIG_3
#define MAX98504_PVDD_BROWNOUT_CONFIG_4
#define MAX98504_PCM_RX_ENABLE
#define MAX98504_PCM_TX_ENABLE
#define MAX98504_PCM_TX_HIZ_CONTROL
#define MAX98504_PCM_TX_CHANNEL_SOURCES
#define MAX98504_PCM_MODE_CONFIG
#define MAX98504_PCM_DSP_CONFIG
#define MAX98504_PCM_CLOCK_SETUP
#define MAX98504_PCM_SAMPLE_RATE_SETUP
#define MAX98504_PCM_TO_SPEAKER_MONOMIX
#define MAX98504_PDM_TX_ENABLE
#define MAX98504_PDM_TX_HIZ_CONTROL
#define MAX98504_PDM_TX_CONTROL
#define MAX98504_PDM_RX_ENABLE
#define MAX98504_SPEAKER_ENABLE
#define MAX98504_SPEAKER_SOURCE_SELECT
#define MAX98504_MEASUREMENT_ENABLE
#define MAX98504_ANALOGUE_INPUT_GAIN
#define MAX98504_TEMPERATURE_LIMIT_CONFIG
#define MAX98504_GLOBAL_ENABLE
#define MAX98504_SOFTWARE_RESET
#define MAX98504_REV_ID

#define MAX98504_MAX_REGISTER

#define MAX98504_DAI_ID_PCM
#define MAX98504_DAI_ID_PDM

#endif /* MAX98504_H_ */