kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
23 lines
545 B
C
23 lines
545 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __LINUX_PLATFORM_DATA_EMC2305__
|
|
#define __LINUX_PLATFORM_DATA_EMC2305__
|
|
|
|
#define EMC2305_PWM_MAX 5
|
|
|
|
/**
|
|
* struct emc2305_platform_data - EMC2305 driver platform data
|
|
* @max_state: maximum cooling state of the cooling device;
|
|
* @pwm_num: number of active channels;
|
|
* @pwm_separate: separate PWM settings for every channel;
|
|
* @pwm_min: array of minimum PWM per channel;
|
|
*/
|
|
struct emc2305_platform_data {
|
|
u8 max_state;
|
|
u8 pwm_num;
|
|
bool pwm_separate;
|
|
u8 pwm_min[EMC2305_PWM_MAX];
|
|
};
|
|
|
|
#endif
|