2 * Dell AIO Serial Backlight Driver
4 * Copyright (C) 2017 AceLan Kao <acelan.kao@canonical.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
18 #ifndef _DELL_UART_BACKLIGHT_H_
19 #define _DELL_UART_BACKLIGHT_H_
22 DELL_UART_GET_FIRMWARE_VER
,
24 DELL_UART_GET_BRIGHTNESS
,
25 DELL_UART_SET_BRIGHTNESS
,
26 DELL_UART_SET_BACKLIGHT_POWER
,
29 struct dell_uart_bl_cmd
{
30 unsigned char cmd
[10];
31 unsigned char ret
[80];
32 unsigned short tx_len
;
33 unsigned short rx_len
;
36 #endif /* _DELL_UART_BACKLIGHT_H_ */