1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 239b8eab7SMark Brown /* 339b8eab7SMark Brown * linux/sound/wm9090.h -- Platform data for WM9090 439b8eab7SMark Brown * 539b8eab7SMark Brown * Copyright 2009, 2010 Wolfson Microelectronics. PLC. 639b8eab7SMark Brown */ 739b8eab7SMark Brown 839b8eab7SMark Brown #ifndef __LINUX_SND_WM9090_H 939b8eab7SMark Brown #define __LINUX_SND_WM9090_H 1039b8eab7SMark Brown 1139b8eab7SMark Brown struct wm9090_platform_data { 1239b8eab7SMark Brown /* Line inputs 1 & 2 can optionally be differential */ 1339b8eab7SMark Brown unsigned int lin1_diff:1; 1439b8eab7SMark Brown unsigned int lin2_diff:1; 1539b8eab7SMark Brown 1639b8eab7SMark Brown /* AGC configuration. This is intended to protect the speaker 1739b8eab7SMark Brown * against overdriving and will therefore depend on the 1839b8eab7SMark Brown * hardware setup with incorrect runtime configuration 1939b8eab7SMark Brown * potentially causing hardware damage. 2039b8eab7SMark Brown */ 2139b8eab7SMark Brown unsigned int agc_ena:1; 2239b8eab7SMark Brown u16 agc[3]; 2339b8eab7SMark Brown }; 2439b8eab7SMark Brown 2539b8eab7SMark Brown #endif 26