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: 621169 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C8D4C4332F for ; Thu, 3 Nov 2022 22:47:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229547AbiKCWrI (ORCPT ); Thu, 3 Nov 2022 18:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230231AbiKCWrG (ORCPT ); Thu, 3 Nov 2022 18:47:06 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C4536429; Thu, 3 Nov 2022 15:47:02 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id k5so2998180pjo.5; 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=kAoOhiDThju+/OYZ3HqkQJSHqR1/gHF/9Frb8CF3vE4MQ6+tk15vNciygvE3d1A2L1 WsOcxkIZ2neXakCe80Syw5emauwdk6lA/BCMqIK7aue7pV0D1Z1wjZWoLtZwR5ASuUv4 VBt04B6aWUq3Iv0ufJMwnSLPfihzhoTvahh9/lSNyf3X3lzKkFgn5T2PP9N6N3hq0b1U Oh5qEipWo1HT2ltR4igUQNSAU7og4xtMBUwMNahBSYSxt3ZXUXN2/HilI7HlphRR6ee1 AOGHPzoSbggHKFFUaPKwI7EPuzG61mtw/M58fBl5WKoPnvkBXLDOWW6EVGe8pkPLWUbr eQZA== X-Gm-Message-State: ACrzQf1HvY/QQkmPLRKPeHweDgLEeqfEbUooS+AHu65DjDimM3h1BgZr mDKFJN5At57lfH/ksvfJyruRGkSbWJA= 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 Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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