All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add LCD backlight and LCD enable gpios pins to dp-controller DT node
@ 2013-05-14 12:55 Vikas Sajjan
  2013-05-14 12:55 ` [PATCH 1/2] video: exynos_dp: Add parsing of gpios pins to exynos-dp driver Vikas Sajjan
  2013-05-14 12:55 ` [PATCH 2/2] ARM: dts: Add LCD backlight and LCD enable gpios pins to dp-controller DT node Vikas Sajjan
  0 siblings, 2 replies; 9+ messages in thread
From: Vikas Sajjan @ 2013-05-14 12:55 UTC (permalink / raw)
  To: jg1.han, linux-samsung-soc
  Cc: kgene.kim, devicetree-discuss, patches, linaro-kernel

This patch series adds LCD backlight and LCD enable gpios pins to dp-controller
DT node of exynos5250-smdk5250 and parsing of these gpio pins in exynos-dp driver

tested on exynos5250-smdk5250 Board.

rebased on kgene-next branch of 
https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/

Vikas Sajjan (2):
  video: exynos_dp: Add parsing of gpios pins to exynos-dp driver
  ARM: dts: Add LCD backlight and LCD enable gpios pins to
    dp-controller DT node

 arch/arm/boot/dts/exynos5250-smdk5250.dts |    3 ++
 drivers/video/exynos/exynos_dp_core.c     |   45 +++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] video: exynos_dp: Add parsing of gpios pins to exynos-dp driver
  2013-05-14 14:16     ` Tomasz Figa
@ 2013-05-16  2:04 ` 한진구
  -1 siblings, 0 replies; 9+ messages in thread
From: 한진구 @ 2013-05-16  2:03 UTC (permalink / raw)
  To: Tomasz Figa, Vikas Sajjan
  Cc: 한진구,
	linux-samsung-soc, 김국진,
	devicetree-discuss, patches, linaro-kernel, rpurdie,
	FlorianSchandinat, linux-fbdev

Tuesday, May 14, 2013 11:17 PM, Vikas Sajjan wrote:
> 
> Hi Vikas,
> 
> On Tuesday 14 of May 2013 18:25:51 Vikas Sajjan wrote:
> >  Adds GPIO parsing functionality for "LCD backlight" and "LCD enable"
> >  GPIO pins of exynos dp controller.
> >
> > Signed-off-by: Vikas Sajjan <vikas.sajjan@linaro.org>
> > ---
> >  drivers/video/exynos/exynos_dp_core.c |   45
> > +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)
> >
> 
> I don't think that Exynos DP driver is right place for such code. Backlight
> and LCD drivers are responsible for backlight and LCD power control using
> backlight and LCD subsystems.
> 
> IMHO the correct solution would be to either extend existing backlight/lcd
> drivers found in drivers/video/backlight to support direct GPIO control and
> parse GPIO pins from device tree or create new gpio_bl and gpio_lcd drivers.

Hi Vikas Sajian,

I agree with Tomasz Figa's opinion.
Backlight/LCD framework should be used.
eDP panel backlight on SMDK5210 board can be controlled by PWM;
thus, pwm-backlight driver should be used.
Also, eDP panel reset pin should be controlled by using
platform-lcd driver.

> 
> CCing Richard, Florian and linux-fbdev.

Also, I have been doing backlight reviews instead of Richard,
please do CC'ing me.

Best regards,
Jingoo Han

> 
> Best regards,
> Tomasz

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

end of thread, other threads:[~2013-05-17 12:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14 12:55 [PATCH 0/2] Add LCD backlight and LCD enable gpios pins to dp-controller DT node Vikas Sajjan
2013-05-14 12:55 ` [PATCH 1/2] video: exynos_dp: Add parsing of gpios pins to exynos-dp driver Vikas Sajjan
2013-05-14 14:16   ` Tomasz Figa
2013-05-14 14:16     ` Tomasz Figa
2013-05-14 12:55 ` [PATCH 2/2] ARM: dts: Add LCD backlight and LCD enable gpios pins to dp-controller DT node Vikas Sajjan
2013-05-16  2:03 [PATCH 1/2] video: exynos_dp: Add parsing of gpios pins to exynos-dp driver 한진구
2013-05-16  2:04 ` 한진구
2013-05-17 12:29 ` Tomasz Figa
2013-05-17 12:29   ` Tomasz Figa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.