Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * linux/sound/wm9090.h -- Platform data for WM9090
0004  *
0005  * Copyright 2009, 2010 Wolfson Microelectronics. PLC.
0006  */
0007 
0008 #ifndef __LINUX_SND_WM9090_H
0009 #define __LINUX_SND_WM9090_H
0010 
0011 struct wm9090_platform_data {
0012     /* Line inputs 1 & 2 can optionally be differential */
0013     unsigned int lin1_diff:1;
0014     unsigned int lin2_diff:1;
0015 
0016     /* AGC configuration.  This is intended to protect the speaker
0017      * against overdriving and will therefore depend on the
0018      * hardware setup with incorrect runtime configuration
0019      * potentially causing hardware damage.
0020      */
0021     unsigned int agc_ena:1;
0022     u16 agc[3];
0023 };
0024 
0025 #endif