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 _WM8750_H
0011 #define _WM8750_H
0012 
0013 /* WM8750 register space */
0014 
0015 #define WM8750_LINVOL    0x00
0016 #define WM8750_RINVOL    0x01
0017 #define WM8750_LOUT1V    0x02
0018 #define WM8750_ROUT1V    0x03
0019 #define WM8750_ADCDAC    0x05
0020 #define WM8750_IFACE     0x07
0021 #define WM8750_SRATE     0x08
0022 #define WM8750_LDAC      0x0a
0023 #define WM8750_RDAC      0x0b
0024 #define WM8750_BASS      0x0c
0025 #define WM8750_TREBLE    0x0d
0026 #define WM8750_RESET     0x0f
0027 #define WM8750_3D        0x10
0028 #define WM8750_ALC1      0x11
0029 #define WM8750_ALC2      0x12
0030 #define WM8750_ALC3      0x13
0031 #define WM8750_NGATE     0x14
0032 #define WM8750_LADC      0x15
0033 #define WM8750_RADC      0x16
0034 #define WM8750_ADCTL1    0x17
0035 #define WM8750_ADCTL2    0x18
0036 #define WM8750_PWR1      0x19
0037 #define WM8750_PWR2      0x1a
0038 #define WM8750_ADCTL3    0x1b
0039 #define WM8750_ADCIN     0x1f
0040 #define WM8750_LADCIN    0x20
0041 #define WM8750_RADCIN    0x21
0042 #define WM8750_LOUTM1    0x22
0043 #define WM8750_LOUTM2    0x23
0044 #define WM8750_ROUTM1    0x24
0045 #define WM8750_ROUTM2    0x25
0046 #define WM8750_MOUTM1    0x26
0047 #define WM8750_MOUTM2    0x27
0048 #define WM8750_LOUT2V    0x28
0049 #define WM8750_ROUT2V    0x29
0050 #define WM8750_MOUTV     0x2a
0051 
0052 #define WM8750_CACHE_REGNUM 0x2a
0053 
0054 #define WM8750_SYSCLK   0
0055 
0056 #endif