1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * wm8728.h -- WM8728 ASoC codec driver 2 * wm8728.h -- WM8728 ASoC codec driver 4 * 3 * 5 * Copyright 2008 Wolfson Microelectronics plc 4 * Copyright 2008 Wolfson Microelectronics plc 6 * 5 * 7 * Author: Mark Brown <broonie@opensource.wolf 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> >> 7 * >> 8 * This program is free software; you can redistribute it and/or modify >> 9 * it under the terms of the GNU General Public License version 2 as >> 10 * published by the Free Software Foundation. 8 */ 11 */ 9 12 10 #ifndef _WM8728_H 13 #ifndef _WM8728_H 11 #define _WM8728_H 14 #define _WM8728_H 12 15 13 #define WM8728_DACLVOL 0x00 16 #define WM8728_DACLVOL 0x00 14 #define WM8728_DACRVOL 0x01 17 #define WM8728_DACRVOL 0x01 15 #define WM8728_DACCTL 0x02 18 #define WM8728_DACCTL 0x02 16 #define WM8728_IFCTL 0x03 19 #define WM8728_IFCTL 0x03 >> 20 >> 21 struct wm8728_setup_data { >> 22 int spi; >> 23 int i2c_bus; >> 24 unsigned short i2c_address; >> 25 }; >> 26 >> 27 extern struct snd_soc_dai wm8728_dai; >> 28 extern struct snd_soc_codec_device soc_codec_dev_wm8728; 17 29 18 #endif 30 #endif 19 31
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.