This series converts various OMAPFB drivers to use the newer gpiod API that respects line polarity specified in DTS. Unfortunately existing DTS files specify incorrect (active high) polarity for reset lines. As discussed in [1] we will not try to correct existing DTSes, but instead follow the path established by DRM drivers for the same components, and continue using inverted polarity in the FB drivers. [1] https://lore.kernel.org/all/20221004213503.848262-1-dmitry.torokhov@xxxxxxxxx/ To: Helge Deller <deller@xxxxxx> To: Tony Lindgren <tony@xxxxxxxxxxx> To: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx> To: Sebastian Reichel <sre@xxxxxxxxxx> Cc: linux-omap@xxxxxxxxxxxxxxx Cc: linux-fbdev@xxxxxxxxxxxxxxx Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx --- Dmitry Torokhov (7): omapfb: connector-hdmi: switch to using gpiod API omapfb: panel-sony-acx565akm: remove support for platform data omapfb: panel-sony-acx565akm: switch to using gpiod API omapfb: encoder-tfp410: switch to using gpiod API omapfb: panel-dsi-cm: switch to using gpiod API omapfb: panel-tpo-td043mtea1: switch to using gpiod API omapfb: panel-nec-nl8048hl11: switch to using gpiod API .../fbdev/omap2/omapfb/displays/connector-hdmi.c | 49 +++------ .../fbdev/omap2/omapfb/displays/encoder-tfp410.c | 67 ++++-------- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 116 ++++++++------------- .../omap2/omapfb/displays/panel-nec-nl8048hl11.c | 72 ++++--------- .../omap2/omapfb/displays/panel-sony-acx565akm.c | 105 ++++++------------- .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 59 +++-------- include/video/omap-panel-data.h | 16 --- 7 files changed, 151 insertions(+), 333 deletions(-) --- base-commit: 61c3426aca2c71052ddcd06c32e29d92304990fd change-id: 20221103-omapfb-gpiod-87ca2550bd90 -- Dmitry