All of lore.kernel.org
 help / color / mirror / Atom feed
* OMAP DSS: panel-dpi and enable gpios
@ 2014-05-12 17:58 Joachim Eastwood
  2014-05-15 13:18 ` Tomi Valkeinen
  0 siblings, 1 reply; 5+ messages in thread
From: Joachim Eastwood @ 2014-05-12 17:58 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: Tony Lindgren, linux-omap

Hello Tomi,

There seems to be a mismatch between your panel-dpi code and DT docs.

The docs state that enable-gpios is optinal but in panel-dpi.c you
have the following code
gpio = devm_gpiod_get(&pdev->dev, "enable");
if (IS_ERR(gpio)) {
    dev_err(&pdev->dev, "failed to parse enable gpio\n");
    return PTR_ERR(gpio);
} else {
    gpiod_direction_output(gpio, 0);
    ddata->enable_gpio = gpio;
}

Making probing fail on my DT since I don't use enable-gpios with
[ 0.976989] panel-dpi display.12: failed to parse enable gpio
[ 0.977050] panel-dpi: probe of display.12 failed with error -2

regards
Joachim Eastwood

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 17:58 OMAP DSS: panel-dpi and enable gpios Joachim Eastwood
2014-05-15 13:18 ` Tomi Valkeinen
2014-05-15 21:02   ` Joachim Eastwood
2014-05-16  7:44     ` Tomi Valkeinen
2014-05-16 18:28       ` Joachim Eastwood

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.