Skip to contentSkip to conversation

video: exynos_dp: Add parsing of gpios pins to exynos-dp driver

PATCH 한진구 2 participants 2 messages May 16, 2013 – May 17, 2013

Subsystems (2)
lore
Share & tools
lore

한진구

author
#0 lore raw
Quoted 13 lines · Vikas Sajjan

Hi Vikas,

Quoted 8 lines · 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.

---
 drivers/video/exynos/exynos_dp_core.c |   45

+++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)

Quoted 7 lines

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.

Quoted 2 lines

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

Quoted 3 lines

Best regards,
Tomasz

#1 lore raw

Hi Jingoo,

Quoted 17 lines · On Thursday 16 of May 2013 02:03:59 한진구 wrote:
Quoted 15 lines · Vikas Sajjan

Hi Vikas,

Quoted 10 lines · 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.

---

 drivers/video/exynos/exynos_dp_core.c |   45
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

+++++++++++++++++++++++++++++++++ 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

Quoted 6 lines
Quoted 6 lines

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

Quoted 13 lines
Quoted 1 line

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.

Quoted 1 line
Quoted 5 lines
Quoted 1 line

CCing Richard, Florian and linux-fbdev.

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

OK. I used get_maintainers script, but it seems like the result was a bit off in this case. Will remember for future.

Best regards,

Signature · 4 lines
Tomasz Figa
Linux Kernel Developer
Samsung R&D Institute Poland
Samsung Electronics