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