aboutsummaryrefslogtreecommitdiff
path: root/tas5825m-module/tas5825m.h
blob: 11605d01c467bc5b2c40c3371b99b18934c544fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: GPL-2.0
/*
 * tas5825.h - ALSA SoC Texas Instruments TAS5825M Audio Amplifier
 *
 * Copyright (C) 2020 Aurelien Jarno <aurelien@aurel32.net>
 *
 * Author: Aurelien Jarno <aurelien@aurel32.net>
 */

#ifndef __TAS5825M_H__
#define __TAS5825M_H__

#define TAS5825M_RATES (SNDRV_PCM_RATE_48000 | \
			SNDRV_PCM_RATE_96000 | \
			SNDRV_PCM_RATE_192000)
#define TAS5825M_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
			  SNDRV_PCM_FMTBIT_S24_LE | \
			  SNDRV_PCM_FMTBIT_S32_LE)

/* Register Address Map */
#define TAS5825M_RESET_CTRL		0x00

#endif /* __TAS5825M_H__ */