kernel_samsung_a34x-permissive/drivers/misc/mediatek/leds/mtk_leds_drv.h
2024-04-28 15:51:13 +02:00

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);