6db4831e98
Android 14
26 lines
697 B
C
26 lines
697 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2018 MediaTek Inc.
|
|
*
|
|
*/
|
|
|
|
#include <linux/leds.h>
|
|
#include <mtk_leds_hal.h>
|
|
|
|
/****************************************************************************
|
|
* LED DRV functions
|
|
***************************************************************************/
|
|
|
|
#ifdef CONTROL_BL_TEMPERATURE
|
|
int setMaxbrightness(int max_level, int enable);
|
|
#endif
|
|
|
|
extern int mt65xx_leds_brightness_set(enum mt65xx_led_type type,
|
|
enum led_brightness level);
|
|
#ifdef CONFIG_MTK_LEDS
|
|
extern int backlight_brightness_set(int level);
|
|
#else
|
|
#define backlight_brightness_set(level) do { } while (0)
|
|
#endif
|
|
extern int disp_bls_set_max_backlight(unsigned int level);
|