]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/ld9040.c
usb: dwc2: Add brcm,bcm2708-usb compatible
[u-boot] / drivers / video / ld9040.c
index c01ae12bbcaf11f4e5865ee6d9da5fa0da9a4a97..93aea05ff847322921468c0dac8af76de76a989b 100644 (file)
@@ -1,35 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ld9040 AMOLED LCD panel driver.
  *
  * Copyright (C) 2012 Samsung Electronics
  * Donghwa Lee <dh09.lee@samsung.com>
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
  */
 
 #include <common.h>
 #include <spi.h>
 
-static const unsigned char SEQ_SWRESET[] = {
-       0x01,
-};
-
 static const unsigned char SEQ_USER_SETTING[] = {
        0xF0, 0x5A, 0x5A
 };
@@ -38,10 +17,6 @@ static const unsigned char SEQ_ELVSS_ON[] = {
        0xB1, 0x0D, 0x00, 0x16,
 };
 
-static const unsigned char SEQ_TEMP_SWIRE[] = {
-       0xB2, 0x06, 0x06, 0x06, 0x06,
-};
-
 static const unsigned char SEQ_GTCON[] = {
        0xF7, 0x09, 0x00, 0x00,
 };
@@ -62,10 +37,6 @@ static const unsigned char SEQ_GAMMA_CTRL[] = {
        0xFB, 0x02, 0x5A,
 };
 
-static const unsigned char SEQ_APON[] = {
-       0xF3, 0x00, 0x00, 0x00, 0x0A, 0x02,
-};
-
 static const unsigned char SEQ_DISPCTL[] = {
        0xF2, 0x02, 0x08, 0x08, 0x10, 0x10,
 };
@@ -82,10 +53,6 @@ static const unsigned char SEQ_SLPOUT[] = {
        0x11,
 };
 
-static const unsigned char SEQ_SLPIN[] = {
-       0x10,
-};
-
 static const unsigned char SEQ_DISPON[] = {
        0x29,
 };