xref: /openbmc/linux/include/media/i2c/wm8775.h (revision 889b3c12)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3     wm8775.h - definition for wm8775 inputs and outputs
4 
5     Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl)
6 
7 */
8 
9 #ifndef _WM8775_H_
10 #define _WM8775_H_
11 
12 /* The WM8775 has 4 inputs and one output. Zero or more inputs
13    are multiplexed together to the output. Hence there are
14    16 combinations.
15    If only one input is active (the normal case) then the
16    input values 1, 2, 4 or 8 should be used. */
17 
18 #define WM8775_AIN1 1
19 #define WM8775_AIN2 2
20 #define WM8775_AIN3 4
21 #define WM8775_AIN4 8
22 
23 
24 struct wm8775_platform_data {
25 	/*
26 	 * FIXME: Instead, we should parametrize the params
27 	 * that need different settings between ivtv, pvrusb2, and Nova-S
28 	 */
29 	bool is_nova_s;
30 };
31 
32 #endif
33