mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
caab277b1d
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 503 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Enrico Weigelt <info@metux.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190602204653.811534538@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
36 lines
1021 B
C
36 lines
1021 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* sky81452.h SKY81452 backlight driver
|
|
*
|
|
* Copyright 2014 Skyworks Solutions Inc.
|
|
* Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>
|
|
*/
|
|
|
|
#ifndef _SKY81452_BACKLIGHT_H
|
|
#define _SKY81452_BACKLIGHT_H
|
|
|
|
/**
|
|
* struct sky81452_platform_data
|
|
* @name: backlight driver name.
|
|
If it is not defined, default name is lcd-backlight.
|
|
* @gpio_enable:GPIO number which control EN pin
|
|
* @enable: Enable mask for current sink channel 1, 2, 3, 4, 5 and 6.
|
|
* @ignore_pwm: true if DPWMI should be ignored.
|
|
* @dpwm_mode: true is DPWM dimming mode, otherwise Analog dimming mode.
|
|
* @phase_shift:true is phase shift mode.
|
|
* @short_detecion_threshold: It should be one of 4, 5, 6 and 7V.
|
|
* @boost_current_limit: It should be one of 2300, 2750mA.
|
|
*/
|
|
struct sky81452_bl_platform_data {
|
|
const char *name;
|
|
int gpio_enable;
|
|
unsigned int enable;
|
|
bool ignore_pwm;
|
|
bool dpwm_mode;
|
|
bool phase_shift;
|
|
unsigned int short_detection_threshold;
|
|
unsigned int boost_current_limit;
|
|
};
|
|
|
|
#endif
|