Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright 2005 Openedhand Ltd.
0004  *
0005  * Author: Richard Purdie <richard@openedhand.com>
0006  *
0007  * Based on WM8753.h
0008  */
0009 
0010 #ifndef _WM8988_H
0011 #define _WM8988_H
0012 
0013 /* WM8988 register space */
0014 
0015 #define WM8988_LINVOL    0x00
0016 #define WM8988_RINVOL    0x01
0017 #define WM8988_LOUT1V    0x02
0018 #define WM8988_ROUT1V    0x03
0019 #define WM8988_ADCDAC    0x05
0020 #define WM8988_IFACE     0x07
0021 #define WM8988_SRATE     0x08
0022 #define WM8988_LDAC      0x0a
0023 #define WM8988_RDAC      0x0b
0024 #define WM8988_BASS      0x0c
0025 #define WM8988_TREBLE    0x0d
0026 #define WM8988_RESET     0x0f
0027 #define WM8988_3D        0x10
0028 #define WM8988_ALC1      0x11
0029 #define WM8988_ALC2      0x12
0030 #define WM8988_ALC3      0x13
0031 #define WM8988_NGATE     0x14
0032 #define WM8988_LADC      0x15
0033 #define WM8988_RADC      0x16
0034 #define WM8988_ADCTL1    0x17
0035 #define WM8988_ADCTL2    0x18
0036 #define WM8988_PWR1      0x19
0037 #define WM8988_PWR2      0x1a
0038 #define WM8988_ADCTL3    0x1b
0039 #define WM8988_ADCIN     0x1f
0040 #define WM8988_LADCIN    0x20
0041 #define WM8988_RADCIN    0x21
0042 #define WM8988_LOUTM1    0x22
0043 #define WM8988_LOUTM2    0x23
0044 #define WM8988_ROUTM1    0x24
0045 #define WM8988_ROUTM2    0x25
0046 #define WM8988_LOUT2V    0x28
0047 #define WM8988_ROUT2V    0x29
0048 #define WM8988_LPPB      0x43
0049 #define WM8988_NUM_REG   0x44
0050 
0051 #define WM8988_SYSCLK   0
0052 
0053 #endif