fbdev: omapfb: panel-dsi-cm: switch to using gpiod API
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Nov 2022 03:16:34 +0000 (20:16 -0700)
committerHelge Deller <deller@gmx.de>
Wed, 14 Dec 2022 19:01:49 +0000 (20:01 +0100)
commit67c366de0593d00222e2e675e73a59dcf33f2f3a
tree021235005e2d3085bc49a0ef33986d42f4e39ad9
parent6378085bc373f71b21fb074d62e321088b9a181a
fbdev: omapfb: panel-dsi-cm: switch to using gpiod API

Switch the driver from legacy gpio API that is deprecated to the newer
gpiod API that respects line polarities described in ACPI/DT.

Note that because existing DTSes specify incorrect polarity of reset
lines (active high) and GPU drivers have adopted to this, we follow
the suit and use inverted values when controlling reset lines.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c