Linux Audio

Check our new training course

Loading...
v3.1
 
 1/*
 2 * Platform data for WM8955
 3 *
 4 * Copyright 2009 Wolfson Microelectronics PLC.
 5 *
 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
 7 *
 8 *  This program is free software; you can redistribute  it and/or modify it
 9 *  under  the terms of  the GNU General  Public License as published by the
10 *  Free Software Foundation;  either version 2 of the  License, or (at your
11 *  option) any later version.
12 *
13 */
14
15#ifndef __WM8955_PDATA_H__
16#define __WM8955_PDATA_H__
17
18struct wm8955_pdata {
19	/* Configure LOUT2/ROUT2 to drive a speaker */
20	unsigned int out2_speaker:1;
21
22	/* Configure MONOIN+/- in differential mode */
23	unsigned int monoin_diff:1;
24};
25
26#endif
v5.4
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Platform data for WM8955
 4 *
 5 * Copyright 2009 Wolfson Microelectronics PLC.
 6 *
 7 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
 
 
 
 
 
 
 8 */
 9
10#ifndef __WM8955_PDATA_H__
11#define __WM8955_PDATA_H__
12
13struct wm8955_pdata {
14	/* Configure LOUT2/ROUT2 to drive a speaker */
15	unsigned int out2_speaker:1;
16
17	/* Configure MONOIN+/- in differential mode */
18	unsigned int monoin_diff:1;
19};
20
21#endif