0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __LINUX_SND__STA350_H
0009 #define __LINUX_SND__STA350_H
0010
0011 #define STA350_OCFG_2CH 0
0012 #define STA350_OCFG_2_1CH 1
0013 #define STA350_OCFG_1CH 3
0014
0015 #define STA350_OM_CH1 0
0016 #define STA350_OM_CH2 1
0017 #define STA350_OM_CH3 2
0018
0019 #define STA350_THERMAL_ADJUSTMENT_ENABLE 1
0020 #define STA350_THERMAL_RECOVERY_ENABLE 2
0021 #define STA350_FAULT_DETECT_RECOVERY_BYPASS 1
0022
0023 #define STA350_FFX_PM_DROP_COMP 0
0024 #define STA350_FFX_PM_TAPERED_COMP 1
0025 #define STA350_FFX_PM_FULL_POWER 2
0026 #define STA350_FFX_PM_VARIABLE_DROP_COMP 3
0027
0028
0029 struct sta350_platform_data {
0030 u8 output_conf;
0031 u8 ch1_output_mapping;
0032 u8 ch2_output_mapping;
0033 u8 ch3_output_mapping;
0034 u8 ffx_power_output_mode;
0035 u8 drop_compensation_ns;
0036 u8 powerdown_delay_divider;
0037 unsigned int thermal_warning_recovery:1;
0038 unsigned int thermal_warning_adjustment:1;
0039 unsigned int fault_detect_recovery:1;
0040 unsigned int oc_warning_adjustment:1;
0041 unsigned int max_power_use_mpcc:1;
0042 unsigned int max_power_correction:1;
0043 unsigned int am_reduction_mode:1;
0044 unsigned int odd_pwm_speed_mode:1;
0045 unsigned int distortion_compensation:1;
0046 unsigned int invalid_input_detect_mute:1;
0047 unsigned int activate_mute_output:1;
0048 unsigned int bridge_immediate_off:1;
0049 unsigned int noise_shape_dc_cut:1;
0050 unsigned int powerdown_master_vol:1;
0051 };
0052
0053 #endif