brintos

brintos / linux-shallow public Read only

0
0
Text · 665 B · 125c635 Raw
24 lines · c
1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */2/*3 * This header provides constants for rt4831 backlight bindings.4 *5 * Copyright (C) 2020, Richtek Technology Corp.6 * Author: ChiYuan Huang <cy_huang@richtek.com>7 */8 9#ifndef _DT_BINDINGS_RT4831_BACKLIGHT_H10#define _DT_BINDINGS_RT4831_BACKLIGHT_H11 12#define RT4831_BLOVPLVL_17V	013#define RT4831_BLOVPLVL_21V	114#define RT4831_BLOVPLVL_25V	215#define RT4831_BLOVPLVL_29V	316 17#define RT4831_BLED_CH1EN	(1 << 0)18#define RT4831_BLED_CH2EN	(1 << 1)19#define RT4831_BLED_CH3EN	(1 << 2)20#define RT4831_BLED_CH4EN	(1 << 3)21#define RT4831_BLED_ALLCHEN	((1 << 4) - 1)22 23#endif /* _DT_BINDINGS_RT4831_BACKLIGHT_H */24