0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __LINUX_SND__STA32X_H
0009 #define __LINUX_SND__STA32X_H
0010
0011 #define STA32X_OCFG_2CH 0
0012 #define STA32X_OCFG_2_1CH 1
0013 #define STA32X_OCFG_1CH 3
0014
0015 #define STA32X_OM_CH1 0
0016 #define STA32X_OM_CH2 1
0017 #define STA32X_OM_CH3 2
0018
0019 #define STA32X_THERMAL_ADJUSTMENT_ENABLE 1
0020 #define STA32X_THERMAL_RECOVERY_ENABLE 2
0021
0022 struct sta32x_platform_data {
0023 u8 output_conf;
0024 u8 ch1_output_mapping;
0025 u8 ch2_output_mapping;
0026 u8 ch3_output_mapping;
0027 int needs_esd_watchdog;
0028 u8 drop_compensation_ns;
0029 unsigned int thermal_warning_recovery:1;
0030 unsigned int thermal_warning_adjustment:1;
0031 unsigned int fault_detect_recovery:1;
0032 unsigned int max_power_use_mpcc:1;
0033 unsigned int max_power_correction:1;
0034 unsigned int am_reduction_mode:1;
0035 unsigned int odd_pwm_speed_mode:1;
0036 unsigned int invalid_input_detect_mute:1;
0037 };
0038
0039 #endif