1 /*
2 * include/media/ti-scbl.h
3 *
4 * Copyright (C) 2015 Texas Instruments
5 *
6 * Contact: Daniel Jeong <gshark.jeong@gmail.com>
7 * Ldd-Mlp <ldd-mlp@list.ti.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * version 2 as published by the Free Software Foundation.
12 */
14 #ifndef __TI_SCBL_H
15 #define __TI_SCBL_H
17 #define LM36923_NAME "lm36923"
18 #define LM36923_I2C_ADDR (0x36)
20 #define TI_SINGLE_CONTROL_BL_NAME "ti_sc_backlight"
22 #define SCBL_FAULT_OVER_VOLTAGE 0x01
23 #define SCBL_FAULT_OVER_CURRENT 0x02
24 #define SCBL_FAULT_THERMAL_SHDN 0x04
25 #define SCBL_FAULT_LED_SHORT 0x08
26 #define SCBL_FAULT_LED_OPEN 0x10
27 #define SCBL_FAULT_MAX 5
29 #define SCBL_LED_MAX 8
30 #define SCBL_REG_MAX 0xff
32 #endif /* __TI_SCBL_H */