xref: /linux/sound/soc/codecs/max9850.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * max9850.h  --  codec driver for max9850
4  *
5  * Copyright (C) 2011 taskit GmbH
6  * Author: Christian Glindkamp <christian.glindkamp@taskit.de>
7  */
8 
9 #ifndef _MAX9850_H
10 #define _MAX9850_H
11 
12 #define MAX9850_STATUSA			0x00
13 #define MAX9850_STATUSB			0x01
14 #define MAX9850_VOLUME			0x02
15 #define MAX9850_GENERAL_PURPOSE		0x03
16 #define MAX9850_INTERRUPT		0x04
17 #define MAX9850_ENABLE			0x05
18 #define MAX9850_CLOCK			0x06
19 #define MAX9850_CHARGE_PUMP		0x07
20 #define MAX9850_LRCLK_MSB		0x08
21 #define MAX9850_LRCLK_LSB		0x09
22 #define MAX9850_DIGITAL_AUDIO		0x0a
23 
24 #define MAX9850_CACHEREGNUM 11
25 
26 /* MAX9850_DIGITAL_AUDIO */
27 #define MAX9850_MASTER			(1<<7)
28 #define MAX9850_INV			(1<<6)
29 #define MAX9850_BCINV			(1<<5)
30 #define MAX9850_DLY			(1<<3)
31 #define MAX9850_RTJ			(1<<2)
32 
33 #endif
34