Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * ak4535.h  --  AK4535 Soc Audio driver
0004  *
0005  * Copyright 2005 Openedhand Ltd.
0006  *
0007  * Author: Richard Purdie <richard@openedhand.com>
0008  *
0009  * Based on wm8753.h
0010  */
0011 
0012 #ifndef _AK4535_H
0013 #define _AK4535_H
0014 
0015 /* AK4535 register space */
0016 
0017 #define AK4535_PM1      0x0
0018 #define AK4535_PM2      0x1
0019 #define AK4535_SIG1     0x2
0020 #define AK4535_SIG2     0x3
0021 #define AK4535_MODE1        0x4
0022 #define AK4535_MODE2        0x5
0023 #define AK4535_DAC      0x6
0024 #define AK4535_MIC      0x7
0025 #define AK4535_TIMER        0x8
0026 #define AK4535_ALC1     0x9
0027 #define AK4535_ALC2     0xa
0028 #define AK4535_PGA      0xb
0029 #define AK4535_LATT     0xc
0030 #define AK4535_RATT     0xd
0031 #define AK4535_VOL      0xe
0032 #define AK4535_STATUS       0xf
0033 
0034 #endif