1/* SPDX-License-Identifier: GPL-2.0 */
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
8struct led_pwm {
9 const char *name;
10 const char *default_trigger;
11 unsigned pwm_id __deprecated;
12 u8 active_low;
13 unsigned max_brightness;
14 unsigned pwm_period_ns;
15};
16
17struct led_pwm_platform_data {
18 int num_leds;
19 struct led_pwm *leds;
20};
21
22#endif
23