cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

rt4831-backlight.h (665B)


      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 */