1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * sky81452.h SKY81452 backlight driver
5 * Copyright 2014 Skyworks Solutions Inc.
6 * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>
9 #ifndef _SKY81452_BACKLIGHT_H
10 #define _SKY81452_BACKLIGHT_H
13 * struct sky81452_platform_data
14 * @name: backlight driver name.
15 If it is not defined, default name is lcd-backlight.
16 * @gpio_enable:GPIO number which control EN pin
17 * @enable: Enable mask for current sink channel 1, 2, 3, 4, 5 and 6.
18 * @ignore_pwm: true if DPWMI should be ignored.
19 * @dpwm_mode: true is DPWM dimming mode, otherwise Analog dimming mode.
20 * @phase_shift:true is phase shift mode.
21 * @short_detecion_threshold: It should be one of 4, 5, 6 and 7V.
22 * @boost_current_limit: It should be one of 2300, 2750mA.
24 struct sky81452_bl_platform_data {
31 unsigned int short_detection_threshold;
32 unsigned int boost_current_limit;