public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2 0/6] Add support for SPI based DataImage LCD panel
@ 2013-10-16 14:23 Nikita Kiryanov
  2013-10-16 14:23 ` [U-Boot] [PATCH V2 1/6] spi: omap3: remove semicolon from #define Nikita Kiryanov
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Nikita Kiryanov @ 2013-10-16 14:23 UTC (permalink / raw)
  To: u-boot

This patch ports the Linux driver for DataImage SCF0403852GGU04 and
SCF0403526GGU20 LCD panels into U-Boot. As a preparation step, variable SPI word
length support is added to omap3_spi and the generic SPI interface.
Finally, the driver is used in cm_t35 board.

The SPI changes were tested with a Beagle I2C/SPI/MDIO Protocol Analyzer, and
also with a DataImage SCF0403 lcd as part of the DataImage driver test.

Patch number 6 depends on http://patchwork.ozlabs.org/patch/275283/

Cc: Tom Rini <trini@ti.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>

Changes in V2:
	- Rebased on top of latest U-Boot
	- New patches:
		 1) spi: omap3: remove semicolon from #define
		 2) spi: define SPI_XFER_ONCE
		 3) omap3_dss: define DSS_ONOFF
	1 is a preliminary cleanup suggested by Gerhard Sittig and Igor Grinberg
	2 and 3 are splitting off some new #defines to separate patches
	- Moved wordlen to generic spi_slave struct, and added generic
	implementation for spi_set_wordlen which only updates the struct without
	touching the hardware (Igor Grinberg)
	- Updated wordlen in hardware just before doing SPI transactions, not
	when changing wordlen (Igor Grinberg)
	- OMAP3 specific check of wordlen value from old implementation of
	spi_set_wordlen moved to xfer. It refines the more general check done
	in the new spi_set_wordlen.
	- Fixed comment style in spi.h following a rebase on top of latest
	U-Boot
	- Added SPDX-License-Identifier to all new files (Anatolij Gustschin)
	- s/printf/puts for not formatted strings in scf0403 driver (Anatolij
	Gustschin)
	- Do not fail scf0403 driver init if an invalid reset_gpio is given
	(Igor Grinberg)

Nikita Kiryanov (6):
  spi: omap3: remove semicolon from #define
  spi: omap3: add support for more word lengths
  spi: define SPI_XFER_ONCE
  lcd: add DataImage SCF0403x LCD panel support
  omap3_dss: define DSS_ONOFF
  cm_t35: use scf0403 driver

 arch/arm/include/asm/arch-omap3/dss.h |   9 +-
 board/compulab/cm_t35/cm_t35.c        |  12 ++
 board/compulab/common/omap3_display.c |  46 +++++-
 drivers/spi/omap3_spi.c               |  71 +++++---
 drivers/spi/omap3_spi.h               |   8 +-
 drivers/spi/spi.c                     |  13 ++
 drivers/video/Makefile                |   1 +
 drivers/video/scf0403_lcd.c           | 296 ++++++++++++++++++++++++++++++++++
 include/configs/cm_t35.h              |   3 +
 include/scf0403_lcd.h                 |  11 ++
 include/spi.h                         |  17 ++
 11 files changed, 456 insertions(+), 31 deletions(-)
 create mode 100644 drivers/video/scf0403_lcd.c
 create mode 100644 include/scf0403_lcd.h

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-11-12  9:23 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-16 14:23 [U-Boot] [PATCH V2 0/6] Add support for SPI based DataImage LCD panel Nikita Kiryanov
2013-10-16 14:23 ` [U-Boot] [PATCH V2 1/6] spi: omap3: remove semicolon from #define Nikita Kiryanov
2013-11-12  9:15   ` Anatolij Gustschin
2013-10-16 14:23 ` [U-Boot] [PATCH V2 2/6] spi: omap3: add support for more word lengths Nikita Kiryanov
2013-11-12  9:18   ` Anatolij Gustschin
2013-10-16 14:23 ` [U-Boot] [PATCH V2 3/6] spi: define SPI_XFER_ONCE Nikita Kiryanov
2013-11-12  9:19   ` Anatolij Gustschin
2013-10-16 14:23 ` [U-Boot] [PATCH V2 4/6] lcd: add DataImage SCF0403x LCD panel support Nikita Kiryanov
2013-10-17 16:22   ` Anatolij Gustschin
2013-11-12  9:20   ` Anatolij Gustschin
2013-10-16 14:23 ` [U-Boot] [PATCH V2 5/6] omap3_dss: define DSS_ONOFF Nikita Kiryanov
2013-10-17 16:23   ` Anatolij Gustschin
2013-11-12  9:22   ` Anatolij Gustschin
2013-10-16 14:23 ` [U-Boot] [PATCH V2 6/6] cm_t35: use scf0403 driver Nikita Kiryanov
2013-11-12  9:23   ` Anatolij Gustschin
2013-11-04 20:49 ` [U-Boot] [PATCH V2 0/6] Add support for SPI based DataImage LCD panel Tom Rini
2013-11-06  9:46   ` Nikita Kiryanov
2013-11-06 10:14   ` Anatolij Gustschin
2013-11-06 12:17     ` Nikita Kiryanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox