| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * lms501kf03 TFT LCD panel driver. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
|---|
| 5 | 6 | * Author: Jingoo Han <jg1.han@samsung.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 9 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 10 | | - * option) any later version. |
|---|
| 11 | 7 | */ |
|---|
| 12 | 8 | |
|---|
| 13 | 9 | #include <linux/backlight.h> |
|---|
| 14 | 10 | #include <linux/delay.h> |
|---|
| 15 | 11 | #include <linux/fb.h> |
|---|
| 16 | | -#include <linux/gpio.h> |
|---|
| 17 | 12 | #include <linux/lcd.h> |
|---|
| 18 | 13 | #include <linux/module.h> |
|---|
| 19 | 14 | #include <linux/spi/spi.h> |
|---|
| .. | .. |
|---|
| 91 | 86 | 0x6a, 0x73, 0x7a, 0x82, 0x8a, 0x91, 0x98, 0xa1, 0xa8, 0xb0, |
|---|
| 92 | 87 | 0xb7, 0xc1, 0xc9, 0xcf, 0xd9, 0xe3, 0xea, 0xf4, 0xff, 0x00, |
|---|
| 93 | 88 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|---|
| 94 | | -}; |
|---|
| 95 | | - |
|---|
| 96 | | -static const unsigned char seq_up_dn[] = { |
|---|
| 97 | | - 0x36, 0x10, |
|---|
| 98 | | -}; |
|---|
| 99 | | - |
|---|
| 100 | | -static const unsigned char seq_sleep_in[] = { |
|---|
| 101 | | - 0x10, |
|---|
| 102 | 89 | }; |
|---|
| 103 | 90 | |
|---|
| 104 | 91 | static const unsigned char seq_sleep_out[] = { |
|---|