1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 #ifndef __LINUX_PLATFORM_DATA_EMC2305__ 4 #define __LINUX_PLATFORM_DATA_EMC2305__ 5 6 #define EMC2305_PWM_MAX 5 7 8 /** 9 * struct emc2305_platform_data - EMC2305 driver platform data 10 * @max_state: maximum cooling state of the cooling device; 11 * @pwm_num: number of active channels; 12 * @pwm_separate: separate PWM settings for every channel; 13 * @pwm_min: array of minimum PWM per channel; 14 */ 15 struct emc2305_platform_data { 16 u8 max_state; 17 u8 pwm_num; 18 bool pwm_separate; 19 u8 pwm_min[EMC2305_PWM_MAX]; 20 }; 21 22 #endif 23