1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * wm8711.h -- WM8711 Soc Audio driver 3 * wm8711.h -- WM8711 Soc Audio driver 4 * 4 * 5 * Copyright 2006 Wolfson Microelectronics 5 * Copyright 2006 Wolfson Microelectronics 6 * 6 * 7 * Author: Mike Arthur <linux@wolfsonmicro.com 7 * Author: Mike Arthur <linux@wolfsonmicro.com> 8 * 8 * 9 * Based on wm8731.h 9 * Based on wm8731.h 10 */ 10 */ 11 11 12 #ifndef _WM8711_H 12 #ifndef _WM8711_H 13 #define _WM8711_H 13 #define _WM8711_H 14 14 15 /* WM8711 register space */ 15 /* WM8711 register space */ 16 16 17 #define WM8711_LOUT1V 0x02 17 #define WM8711_LOUT1V 0x02 18 #define WM8711_ROUT1V 0x03 18 #define WM8711_ROUT1V 0x03 19 #define WM8711_APANA 0x04 19 #define WM8711_APANA 0x04 20 #define WM8711_APDIGI 0x05 20 #define WM8711_APDIGI 0x05 21 #define WM8711_PWR 0x06 21 #define WM8711_PWR 0x06 22 #define WM8711_IFACE 0x07 22 #define WM8711_IFACE 0x07 23 #define WM8711_SRATE 0x08 23 #define WM8711_SRATE 0x08 24 #define WM8711_ACTIVE 0x09 24 #define WM8711_ACTIVE 0x09 25 #define WM8711_RESET 0x0f 25 #define WM8711_RESET 0x0f 26 26 27 #define WM8711_CACHEREGNUM 8 27 #define WM8711_CACHEREGNUM 8 28 28 29 #define WM8711_SYSCLK 0 29 #define WM8711_SYSCLK 0 30 #define WM8711_DAI 0 30 #define WM8711_DAI 0 31 31 32 struct wm8711_setup_data { 32 struct wm8711_setup_data { 33 unsigned short i2c_address; 33 unsigned short i2c_address; 34 }; 34 }; 35 35 36 #endif 36 #endif 37 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.