Re: [PATCH 00/13] Convert omapfb drivers to gpiod API

From: Dmitry Torokhov
Date: Thu Nov 03 2022 - 18:51:05 EST


On Thu, Nov 03, 2022 at 03:46:35PM -0700, Dmitry Torokhov wrote:
> 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/

Sorry, it looks like I did not clear temporary directory, so there is a
bit of mess in the patches. I'll resend properly in a second.

>
> 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 (13):
> 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
> omapfb: panel-dpi: remove support for platform data
> omapfb: connector-analog-tv: remove support for platform data
> omapfb: encoder-opa362: fix included headers
> omapfb: panel-lgphilips-lb035q02: remove backlight GPIO handling
> omapfb: panel-tpo-td028ttec1: stop including gpio.h
> omapfb: panel-sharp-ls037v7dw01: fix included headers
>
> .../omap2/omapfb/displays/connector-analog-tv.c | 60 ++---------
> .../fbdev/omap2/omapfb/displays/connector-hdmi.c | 49 +++------
> .../fbdev/omap2/omapfb/displays/encoder-opa362.c | 4 +-
> .../fbdev/omap2/omapfb/displays/encoder-tfp410.c | 67 ++++--------
> .../video/fbdev/omap2/omapfb/displays/panel-dpi.c | 83 ++-------------
> .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 116 ++++++++-------------
> .../omapfb/displays/panel-lgphilips-lb035q02.c | 21 +---
> .../omap2/omapfb/displays/panel-nec-nl8048hl11.c | 72 ++++---------
> .../omapfb/displays/panel-sharp-ls037v7dw01.c | 3 +-
> .../omap2/omapfb/displays/panel-sony-acx565akm.c | 105 ++++++-------------
> .../omap2/omapfb/displays/panel-tpo-td028ttec1.c | 1 -
> .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 59 +++--------
> include/video/omap-panel-data.h | 71 -------------
> 13 files changed, 170 insertions(+), 541 deletions(-)
> ---
> base-commit: 61c3426aca2c71052ddcd06c32e29d92304990fd
> change-id: 20221103-omapfb-gpiod-87ca2550bd90
>
> --
> Dmitry
>

--
Dmitry