1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 wm8775.h - definition for wm8775 inputs an 3 wm8775.h - definition for wm8775 inputs and outputs 4 4 5 Copyright (C) 2006 Hans Verkuil (hverkuil@ 5 Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl) 6 6 7 */ 7 */ 8 8 9 #ifndef _WM8775_H_ 9 #ifndef _WM8775_H_ 10 #define _WM8775_H_ 10 #define _WM8775_H_ 11 11 12 /* The WM8775 has 4 inputs and one output. Zer 12 /* The WM8775 has 4 inputs and one output. Zero or more inputs 13 are multiplexed together to the output. Hen 13 are multiplexed together to the output. Hence there are 14 16 combinations. 14 16 combinations. 15 If only one input is active (the normal cas 15 If only one input is active (the normal case) then the 16 input values 1, 2, 4 or 8 should be used. * 16 input values 1, 2, 4 or 8 should be used. */ 17 17 18 #define WM8775_AIN1 1 18 #define WM8775_AIN1 1 19 #define WM8775_AIN2 2 19 #define WM8775_AIN2 2 20 #define WM8775_AIN3 4 20 #define WM8775_AIN3 4 21 #define WM8775_AIN4 8 21 #define WM8775_AIN4 8 22 22 23 23 24 struct wm8775_platform_data { 24 struct wm8775_platform_data { 25 /* 25 /* 26 * FIXME: Instead, we should parameter !! 26 * FIXME: Instead, we should parametrize the params 27 * that need different settings betwee 27 * that need different settings between ivtv, pvrusb2, and Nova-S 28 */ 28 */ 29 bool is_nova_s; 29 bool is_nova_s; 30 }; 30 }; 31 31 32 #endif 32 #endif 33 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.