1c1124c09SPaul Handrigan /* 2c1124c09SPaul Handrigan * linux/sound/cs35l34.h -- Platform data for CS35l34 3c1124c09SPaul Handrigan * 4c1124c09SPaul Handrigan * Copyright (c) 2016 Cirrus Logic Inc. 5c1124c09SPaul Handrigan * 6c1124c09SPaul Handrigan * This program is free software; you can redistribute it and/or modify 7c1124c09SPaul Handrigan * it under the terms of the GNU General Public License version 2 as 8c1124c09SPaul Handrigan * published by the Free Software Foundation. 9c1124c09SPaul Handrigan */ 10c1124c09SPaul Handrigan 11c1124c09SPaul Handrigan #ifndef __CS35L34_H 12c1124c09SPaul Handrigan #define __CS35L34_H 13c1124c09SPaul Handrigan 14c1124c09SPaul Handrigan struct cs35l34_platform_data { 15c1124c09SPaul Handrigan /* Set AIF to half drive strength */ 16c1124c09SPaul Handrigan bool aif_half_drv; 17c1124c09SPaul Handrigan /* Digital Soft Ramp Disable */ 18c1124c09SPaul Handrigan bool digsft_disable; 19c1124c09SPaul Handrigan /* Amplifier Invert */ 20c1124c09SPaul Handrigan bool amp_inv; 21c1124c09SPaul Handrigan /* Peak current (mA) */ 22c1124c09SPaul Handrigan unsigned int boost_peak; 23c1124c09SPaul Handrigan /* Boost inductor value (nH) */ 24c1124c09SPaul Handrigan unsigned int boost_ind; 25c1124c09SPaul Handrigan /* Boost Controller Voltage Setting (mV) */ 26c1124c09SPaul Handrigan unsigned int boost_vtge; 27c1124c09SPaul Handrigan /* Gain Change Zero Cross */ 28c1124c09SPaul Handrigan bool gain_zc_disable; 29c1124c09SPaul Handrigan /* SDIN Left/Right Selection */ 30c1124c09SPaul Handrigan unsigned int i2s_sdinloc; 31c1124c09SPaul Handrigan /* TDM Rising Edge */ 32c1124c09SPaul Handrigan bool tdm_rising_edge; 33c1124c09SPaul Handrigan }; 34c1124c09SPaul Handrigan 35c1124c09SPaul Handrigan #endif /* __CS35L34_H */ 36