blob: 978caf52144f01ee7477c709d2ad4dc6bfb2a2c7 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Richard Purdie796d2ca2008-06-23 14:51:28 +01002/*
3 * ak4535.h -- AK4535 Soc Audio driver
4 *
5 * Copyright 2005 Openedhand Ltd.
6 *
7 * Author: Richard Purdie <richard@openedhand.com>
8 *
9 * Based on wm8753.h
Richard Purdie796d2ca2008-06-23 14:51:28 +010010 */
11
12#ifndef _AK4535_H
13#define _AK4535_H
14
15/* AK4535 register space */
16
17#define AK4535_PM1 0x0
18#define AK4535_PM2 0x1
19#define AK4535_SIG1 0x2
20#define AK4535_SIG2 0x3
21#define AK4535_MODE1 0x4
22#define AK4535_MODE2 0x5
23#define AK4535_DAC 0x6
24#define AK4535_MIC 0x7
25#define AK4535_TIMER 0x8
26#define AK4535_ALC1 0x9
27#define AK4535_ALC2 0xa
28#define AK4535_PGA 0xb
29#define AK4535_LATT 0xc
30#define AK4535_RATT 0xd
31#define AK4535_VOL 0xe
32#define AK4535_STATUS 0xf
33
Richard Purdie796d2ca2008-06-23 14:51:28 +010034#endif