| 
     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_H
   10 #define _DT_BINDINGS_RT4831_BACKLIGHT_H
   11 
   12 #define RT4831_BLOVPLVL_17V     0
   13 #define RT4831_BLOVPLVL_21V     1
   14 #define RT4831_BLOVPLVL_25V     2
   15 #define RT4831_BLOVPLVL_29V     3
   16 
   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 */
Cache object: 1aad6a22dbb48e2d1159054cb3ec18df 
 
 |