1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * ADAU1977/ADAU1978/ADAU1979 driver 4 * 5 * Copyright 2014 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 */ 8 9 #ifndef __SOUND_SOC_CODECS_ADAU1977_H__ 10 #define __SOUND_SOC_CODECS_ADAU1977_H__ 11 12 #include <linux/regmap.h> 13 14 struct device; 15 16 enum adau1977_type { 17 ADAU1977, 18 ADAU1978, 19 ADAU1979, 20 }; 21 22 int adau1977_probe(struct device *dev, struct regmap *regmap, 23 enum adau1977_type type, void (*switch_mode)(struct device *dev)); 24 25 extern const struct regmap_config adau1977_regmap_config; 26 27 enum adau1977_clk_id { 28 ADAU1977_SYSCLK, 29 }; 30 31 enum adau1977_sysclk_src { 32 ADAU1977_SYSCLK_SRC_MCLK, 33 ADAU1977_SYSCLK_SRC_LRCLK, 34 }; 35 36 #endif 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.