Dne St 22. Ĩervence 2009 22:52:43 Andrew Morton napsal(a): > On Thu, 16 Jul 2009 10:04:02 +0200 > > Marek Vasut wrote: > > >From b7077676a3016327ca1010d3bbc80a0b9f2742e5 Mon Sep 17 00:00:00 2001 > > > > From: Marek Vasut > > Date: Thu, 16 Jul 2009 04:49:47 +0200 > > Subject: [PATCH] Samsung LMS283GF05 LCD SPI support > > > > This patch adds support for the SPI part of LMS283GF05 LCD. The LCD uses > > SPI for initialization and powerdown sequences. No further defails are > > specified in the datasheet about the initialization/powerdown sequence, > > just the magic numbers that have to be sent over SPI bus. This LCD can > > be found in the Aeronix Zipit Z2 handheld. > > The patch is wordwrapped and has all its tabs replaced with spaces. I noticed this too, it's because I copy-pasted it from Konsole, sorry :-/ > > > diff --git a/drivers/video/backlight/Kconfig > > b/drivers/video/backlight/Kconfig index f9d19be..3f9cce3 100644 > > --- a/drivers/video/backlight/Kconfig > > +++ b/drivers/video/backlight/Kconfig > > @@ -31,6 +31,13 @@ config LCD_CORGI > > Say y here to support the LCD panels usually found on SHARP > > corgi (C7x0) and spitz (Cxx00) models. > > > > +config LCD_LMS283GF05 > > + tristate "Samsung LMS283GF05 LCD" > > + depends on LCD_CLASS_DEVICE && SPI_MASTER > > + help > > + SPI driver for Samsung LMS283GF05. This provides basic support > > + for powering the LCD up/down through a sysfs interface. > > + > > It generally looks OK to me. Should it have a Kconfig dependency for > its use of the GPIO layer? Im sending fixed patch, yes. Thanks for pointing it out.