]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
41c42ff5 LF |
2 | /* |
3 | * PWM LED driver data - see drivers/leds/leds-pwm.c | |
4 | */ | |
5 | #ifndef __LINUX_LEDS_PWM_H | |
6 | #define __LINUX_LEDS_PWM_H | |
7 | ||
8 | struct led_pwm { | |
9 | const char *name; | |
10 | const char *default_trigger; | |
9ea6cdac | 11 | unsigned pwm_id __deprecated; |
41c42ff5 LF |
12 | u8 active_low; |
13 | unsigned max_brightness; | |
14 | unsigned pwm_period_ns; | |
15 | }; | |
16 | ||
17 | struct led_pwm_platform_data { | |
18 | int num_leds; | |
19 | struct led_pwm *leds; | |
20 | }; | |
21 | ||
22 | #endif |