162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * linux/sound/cs35l34.h -- Platform data for CS35l34 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2016 Cirrus Logic Inc. 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef __CS35L34_H 962306a36Sopenharmony_ci#define __CS35L34_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_cistruct cs35l34_platform_data { 1262306a36Sopenharmony_ci /* Set AIF to half drive strength */ 1362306a36Sopenharmony_ci bool aif_half_drv; 1462306a36Sopenharmony_ci /* Digital Soft Ramp Disable */ 1562306a36Sopenharmony_ci bool digsft_disable; 1662306a36Sopenharmony_ci /* Amplifier Invert */ 1762306a36Sopenharmony_ci bool amp_inv; 1862306a36Sopenharmony_ci /* Peak current (mA) */ 1962306a36Sopenharmony_ci unsigned int boost_peak; 2062306a36Sopenharmony_ci /* Boost inductor value (nH) */ 2162306a36Sopenharmony_ci unsigned int boost_ind; 2262306a36Sopenharmony_ci /* Boost Controller Voltage Setting (mV) */ 2362306a36Sopenharmony_ci unsigned int boost_vtge; 2462306a36Sopenharmony_ci /* Gain Change Zero Cross */ 2562306a36Sopenharmony_ci bool gain_zc_disable; 2662306a36Sopenharmony_ci /* SDIN Left/Right Selection */ 2762306a36Sopenharmony_ci unsigned int i2s_sdinloc; 2862306a36Sopenharmony_ci /* TDM Rising Edge */ 2962306a36Sopenharmony_ci bool tdm_rising_edge; 3062306a36Sopenharmony_ci}; 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci#endif /* __CS35L34_H */ 33