HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/modules/5.15.0-76-generic/build/include/dt-bindings/leds/rt4831-backlight.h
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
 * This header provides constants for rt4831 backlight bindings.
 *
 * Copyright (C) 2020, Richtek Technology Corp.
 * Author: ChiYuan Huang <cy_huang@richtek.com>
 */

#ifndef _DT_BINDINGS_RT4831_BACKLIGHT_H
#define _DT_BINDINGS_RT4831_BACKLIGHT_H

#define RT4831_BLOVPLVL_17V	0
#define RT4831_BLOVPLVL_21V	1
#define RT4831_BLOVPLVL_25V	2
#define RT4831_BLOVPLVL_29V	3

#define RT4831_BLED_CH1EN	(1 << 0)
#define RT4831_BLED_CH2EN	(1 << 1)
#define RT4831_BLED_CH3EN	(1 << 2)
#define RT4831_BLED_CH4EN	(1 << 3)
#define RT4831_BLED_ALLCHEN	((1 << 4) - 1)

#endif /* _DT_BINDINGS_RT4831_BACKLIGHT_H */