From patchwork Fri Nov 4 03:16:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 13031253 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9C5BC43219 for ; Fri, 4 Nov 2022 03:16:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B656A10E048; Fri, 4 Nov 2022 03:16:51 +0000 (UTC) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by gabe.freedesktop.org (Postfix) with ESMTPS id A53B410E048 for ; Fri, 4 Nov 2022 03:16:47 +0000 (UTC) Received: by mail-pl1-x633.google.com with SMTP id l2so3708532pld.13 for ; Thu, 03 Nov 2022 20:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ErMeJ3/N/lU6gG8CjwNQFs+A5aKgySMTRdfeG+Egqbs=; b=FEEJPlJPYUREMw1w2MxcaST1IyKa4MxHkgJeNeJjaWJYeeR6EjTODo7oAewdL0XeTB Uua2msSMqdLnBrfyRjTvNgXs0ypyw+ER2IsjAjzO2ToH4haL8BRiABXkWaQ9JscT2WiY LyIPycSrKkzkqTCiESZooUV9bA5jZi1UwScPN5li75jEEiX9JjGmvnfDnUAAjyhyfYh5 065dIWklhOj8YdJKq+f+4D2gumQnCgz/7i0IaOTvS/C9f66vNmcLmnOPl2pupQFEbGnN VgaDHIhuOrK+pHJVP0L4vgp18rIDr74fv2IrRbumn/ZLH5jk70OEf52YGFZmg2Zp9cVt NCYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ErMeJ3/N/lU6gG8CjwNQFs+A5aKgySMTRdfeG+Egqbs=; b=n6NJtu9V8u2IofbG4q4Eg5IR6zpdTDR6WT4IoNCuyQ6x/dGGMzNBjVd/hGQsRmCvPv pq4SZb3SHeBqCGBKRcwrkQU/DlwNJ3fjXYGncIWvjZ5c3iZRvRKJWdW+AKdNb1nFkmJ2 BsRIGa748hmmYWRFLAXRWCaKaxa+OTb9t7H59yN4W7fLHoFxJKj7O/1pZjF7AICzLJ68 rfacyX3VCefnRivD9CAbiTcDYAavRl01bN0HVTBfVTIiE1zL0Ue8CLWWaGPlPa6K4xJO XkXd2cKnsU2TR6iE43JAFTJpFf26Rgvns3QrL8C0vltc7fFYH3QdhwPhcOPrCaNkj9tl nNAQ== X-Gm-Message-State: ACrzQf15ddD9VgRxlUvu/tdaRQBlVCXpY8K4iDBG0AGH+WIpyD8T94uk y2q/7pqKUMXCWbJPplnTBpk= X-Google-Smtp-Source: AMsMyM7vh79PCyZMFQuT/KKZHGeAwlNjaPyLoj7VC+4pfmidI1y+REGGVZVpsmuRn0q/HdqDtozZWw== X-Received: by 2002:a17:902:d3cc:b0:186:9720:b19b with SMTP id w12-20020a170902d3cc00b001869720b19bmr33182884plb.3.1667531806883; Thu, 03 Nov 2022 20:16:46 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:9d:2:a6ae:11ff:fe11:fcc3]) by smtp.gmail.com with ESMTPSA id s3-20020a63ff43000000b004702eca61fcsm1078655pgk.36.2022.11.03.20.16.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 20:16:46 -0700 (PDT) From: Dmitry Torokhov To: Helge Deller , Tony Lindgren , Tomi Valkeinen , Sebastian Reichel Subject: [PATCH RESEND 00/13] Convert omapfb drivers to gpiod API Date: Thu, 3 Nov 2022 20:16:29 -0700 Message-Id: <20221103-omapfb-gpiod-v1-0-cba1fae5a77c@gmail.com> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog MIME-Version: 1.0 X-Mailer: b4 0.11.0-dev-28747 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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@gmail.com/ To: Helge Deller To: Tony Lindgren To: Tomi Valkeinen To: Sebastian Reichel Cc: linux-omap@vger.kernel.org Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org --- 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