public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] OMAPDSS: sharp-ls037v7dw01 DT support
@ 2014-05-16  7:29 Tomi Valkeinen
  2014-05-16  7:29 ` [PATCH 1/4] OMAPDSS: panel-sharp-ls037v7dw01: update to use gpiod Tomi Valkeinen
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tomi Valkeinen @ 2014-05-16  7:29 UTC (permalink / raw)
  To: Tony Lindgren, linux-omap, linux-fbdev, linux-arm-kernel
  Cc: Archit Taneja, Tomi Valkeinen

Hi,

These are slightly reworked versions of the patches Tony sent:

* Split the DT doc into separate patch
* Handle errors from gpio functions
* Remove QVGA support
* Removed the change to arch/arm/mach-omap2/display.c. I'll add that to my
  patch which moves the conversion code to omapdss. Note that if you test this
  version, you need to add the panel name to the conversion list for now.
* Set MO gpio GPIO_ACTIVE_HIGH in omap3-evm-common.dtsi
* Set the GPIO default values the same way for DT and non-DT versions.

Tony, I removed the QVGA support as it was a new feature, not supported by the
non-DT version. Also, I don't think it should be done as you had implemented
it, but rather either have a flag in the DT data in case the pin is hardwired
in the hardware, or let the user select the mode at runtime.

Also, I didn't quite understand the implementation. You had set initial values
in the driver for MO and RESB differently than on the non-DT version. Was that
on purpose?

You said in a comment: "The LCD is sideways, so we want the VGA mode instead of
QVGA mode.". Why is that? How does the resolution affect the orientation?

With my version, the panel (should) always be in VGA mode, like the non-DT
version does.

Only compile tested, I don't have boards with the panel.

 Tomi

Tony Lindgren (4):
  OMAPDSS: panel-sharp-ls037v7dw01: update to use gpiod
  OMAPDSS: panel sharp-ls037v7dw01 DT support
  Doc/DT: Add DT binding documentation for SHARP LS037V7DW01
  ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and
    ldp

 .../bindings/video/sharp,ls037v7dw01.txt           |  43 +++++
 arch/arm/boot/dts/omap3-evm-37xx.dts               |  50 +++++
 arch/arm/boot/dts/omap3-evm-common.dtsi            |  26 +++
 arch/arm/boot/dts/omap3-ldp.dts                    |  29 ++-
 .../boot/dts/omap3-panel-sharp-ls037v7dw01.dtsi    |  67 +++++++
 .../omap2/displays-new/panel-sharp-ls037v7dw01.c   | 210 +++++++++++++++------
 6 files changed, 363 insertions(+), 62 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/video/sharp,ls037v7dw01.txt
 create mode 100644 arch/arm/boot/dts/omap3-panel-sharp-ls037v7dw01.dtsi

-- 
1.9.1


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

end of thread, other threads:[~2014-05-16 16:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16  7:29 [PATCH 0/4] OMAPDSS: sharp-ls037v7dw01 DT support Tomi Valkeinen
2014-05-16  7:29 ` [PATCH 1/4] OMAPDSS: panel-sharp-ls037v7dw01: update to use gpiod Tomi Valkeinen
2014-05-16  7:30 ` [PATCH 2/4] OMAPDSS: panel sharp-ls037v7dw01 DT support Tomi Valkeinen
2014-05-16  7:30 ` [PATCH 3/4] Doc/DT: Add DT binding documentation for SHARP LS037V7DW01 Tomi Valkeinen
2014-05-16  7:30 ` [PATCH 4/4] ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp Tomi Valkeinen
2014-05-16 16:12 ` [PATCH 0/4] OMAPDSS: sharp-ls037v7dw01 DT support Tony Lindgren

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