blob: da313640b4bff1012e464e1d2aae671b4740a207 [file] [log] [blame]
Thomas Gleixner2874c5f2019-05-27 08:55:01 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Christian Glindkamp0e45cab2011-03-09 11:20:04 +01002/*
3 * max9850.h -- codec driver for max9850
4 *
5 * Copyright (C) 2011 taskit GmbH
6 * Author: Christian Glindkamp <christian.glindkamp@taskit.de>
Christian Glindkamp0e45cab2011-03-09 11:20:04 +01007 */
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