From patchwork Thu Nov 3 22:46:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 13031091 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 F3EA6C433FE for ; Thu, 3 Nov 2022 22:47:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B456110E660; Thu, 3 Nov 2022 22:47:06 +0000 (UTC) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4F06410E64E for ; Thu, 3 Nov 2022 22:47:02 +0000 (UTC) Received: by mail-pj1-x102b.google.com with SMTP id o7so3021870pjj.1 for ; Thu, 03 Nov 2022 15:47:02 -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=r0/NL8UAcocVV5ehp/plcYGqKjt4DMIirOXHBCu5MlQ=; b=G0/bQToU7tPN8mLGPnPkz6Ur7I2LMjiUMq0+UpOLlSN9bl0h2iIDUESYHeMy0nnW34 EHjKfNL7gK4yBvrAfnWRU6y2KunueO6e64i9Ukolxq8ez8e7FenMg4ZeDW7WyWZSj/Ym pU3IT0XvDhmkWPll03bsxr5lEEdxcNgl7bxEUlv0p+c745ZfZ6gPjTLcGwWK9hag7TK6 Nx9OXjeTdNZ174FUQ8R5mtgPoJgWsBYdx0Vz3AEW0rMtPZNvUbtWC04q0LgpaqmS3zeI ZcZDUyXax9BzfR7IuugEUkZ8Z75X13iSMOeCn+JGVop66UHhwaKRT54vI0l/ndW1NNdO dgvg== 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=r0/NL8UAcocVV5ehp/plcYGqKjt4DMIirOXHBCu5MlQ=; b=hSgEc+tDQ4Ac40YETnJr3YT85Jr/MXaU3T7xogOoSREaPTjFM7uzk67QKv5fpAIltU xw/ZMLIwQDV1kjgf0IzWDTte60rwMuM0W8B776JIV6FxdqS9xIU9fySVfjArC4B1nXSl Tl/4P1mw53f0FYBB+rsPoHPw0idgu8e6NN+lvI3TkCZd2RcOTqWrA8sg9q7ks6dC24Nc Gr0NwReL3/4oMA9eu5jgkpYadb8gYpwnB6bbx9TcCbb0v0aNNlch0OxAGsts33xKF7hZ 8R1PkzW0+fHN8GJ+RUYQ+6eN7cSy8SPr4tfxr0JA1jCWELcnRuM0O7MR0MBAc8dbTGe0 ocww== X-Gm-Message-State: ACrzQf0UAs+no1r3nso1LUokCOwYk/YYrmM1MjQTWE0Tb8giO1gIqTTZ wQ+Zbk844F4dUhCIPFeh2Wg= X-Google-Smtp-Source: AMsMyM4Oa4HbEfbZNjCJqoJpiijPlXGyFGhnNO0rP23WjhKll5VMKaNJJknY32yyG1fCc7i4wCm/aQ== X-Received: by 2002:a17:902:e54a:b0:186:a3ba:232a with SMTP id n10-20020a170902e54a00b00186a3ba232amr32022870plf.77.1667515621647; Thu, 03 Nov 2022 15:47:01 -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 g13-20020aa796ad000000b0056be1d7d4a3sm1280421pfk.73.2022.11.03.15.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 15:47:00 -0700 (PDT) From: Dmitry Torokhov To: Tomi Valkeinen , Helge Deller , Tony Lindgren , Sebastian Reichel Subject: [PATCH 00/13] Convert omapfb drivers to gpiod API Date: Thu, 3 Nov 2022 15:46:35 -0700 Message-Id: <20221103-omapfb-gpiod-v1-0-c3d53ca7988f@gmail.com> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog MIME-Version: 1.0 X-Mailer: b4 0.11.0-dev-5166b 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