Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp815010rdg; Wed, 11 Oct 2023 06:25:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF8bf4uSm3Jf9u69GERSV1JPtMTYx8b9X7kIFuX3mcXvRYDE1nFjVtwuUPWx6Azxnage9ZW X-Received: by 2002:aa7:8890:0:b0:692:6d3f:4858 with SMTP id z16-20020aa78890000000b006926d3f4858mr20938920pfe.17.1697030701577; Wed, 11 Oct 2023 06:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697030701; cv=none; d=google.com; s=arc-20160816; b=mJDEx5UBB+ZOyIxROmPi5xn6N0bpgCwdApd1GNyl2MKI9Pu+NLxkNLXIHIqX676P8N nk5oS+O70VcrLUI5a2y17dp2xsEbZkkrCRcRHpb8P6rkCZK2KrKxL9Y8cZceAxjFb9E/ vqPhRaOGo2NVSQReNETD7KlDn4bLJxEfn6al1chhkkHLq9GtOzYnc/39S5B+Fj5Q9jjL HC8+zrsDsWudoZ4fTipVX9hkoaKhNTqBu7l1xLO4t21vrj9qClinOmEgPXPbw7+P/0M+ jNTwsUl/ENctILFvftnxdlFHYziJH6b4TDdv+nUYhqKg1nfvxEhIe78mWmZ+QiB2Egxw 7VLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from; bh=HXWf5Jb2TOJDLr9hu1AEH/DDUiIs4BQMMsiz2VzJK9c=; fh=1i6b6fQBnaiq0xRa3ncF4yVLO4LQ/VVJhygl9h24PAo=; b=m61hUw8QFXmObzzAY+/hhgtyI7pkLAo/feP+ZsI4il42+VvUgrr/rmDsX+DM7WqIvF eMbFNxUC/hc+dnmexhd6lxWrbzmiGQ7falz+JFzhcXnHw0f7NehFi9ecZ7wH+zUDNkBm M5ccUuRtRLlCo7uUL0cc1+DJSYYIBAYGt+DYzCbpcTe9DRrL1fX1xejNKTrMTcWYL1uH gVMxziF3nD1+GTuRxS5Lhbu1YLyJL5u5x25Kx8fg80LHmBhcK3kLt7mhXk6qh2emKsDI POZjCTEnlNZBwYl6Uuyfn2F131ujy7OxOn0mfz7ja+AI74uXdGd4LLcQLOXAKm4id+a3 jQbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id y5-20020a056a001c8500b00690d55d630dsi11678083pfw.274.2023.10.11.06.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 06:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6A6B580ECF91; Wed, 11 Oct 2023 06:24:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346948AbjJKNYT (ORCPT + 99 others); Wed, 11 Oct 2023 09:24:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232058AbjJKNYI (ORCPT ); Wed, 11 Oct 2023 09:24:08 -0400 Received: from mx.skole.hr (mx2.hosting.skole.hr [161.53.165.186]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E833293; Wed, 11 Oct 2023 06:24:04 -0700 (PDT) Received: from mx2.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 93FD0830D0; Wed, 11 Oct 2023 15:24:02 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= Subject: [PATCH RFT v8 0/6] ARM: pxa: GPIO descriptor conversions Date: Wed, 11 Oct 2023 15:23:44 +0200 Message-Id: <20231011-pxa-gpio-v8-0-eed08a0fcac8@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAOChJmUC/13PPW7DMAwF4KsEmqtCf5SoTp16gCBb0cG2qFhoE Rt2YaQIfPcKGlrCI0V9j3gPsdJSaBUvp4dYaCtrmW51wKeTGMbudiVZUp2FUcYqVEHO905e5zJ JO5CBBMGhdqJ+nxfK5d6i3sX57SI+6uNY1u9p+Wnxm26rlhSN+0/atFTSoIIeQ0KM7nX9nL7oe Vxaxma488yZ6iI6513SHlI6OMtdZM5W12VMQJB0tsd77s9ppTRzrjqVbR8DkKcEBwfc8X5QXYq xI58Hog4PznPH+/nWT/cuapUgxoML3PF+oboBM2SnLCF45vZ9/wWTRi5a9AEAAA== To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King , Alan Stern , Greg Kroah-Hartman , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Dmitry Torokhov , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org, linux-input@vger.kernel.org, linux-spi@vger.kernel.org, =?utf-8?q?Duje_Mihanovi=C4=87?= , Bartosz Golaszewski X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3583; i=duje.mihanovic@skole.hr; h=from:subject:message-id; bh=W45N0rDKR8ciCpFn22YDvuWadd4TwRIEzdyajQZc0vY=; b=owEBbQKS/ZANAwAIAZoRnrBCLZbhAcsmYgBlJqHoOv8y4PmRkwDxzRi92AU5LtYntuzh9qbAn MVw/2XG+5aJAjMEAAEIAB0WIQRT351NnD/hEPs2LXiaEZ6wQi2W4QUCZSah6AAKCRCaEZ6wQi2W 4feiD/9V3AUDIT2hwlL293f363ISY7WmwRKzd4I/t04+4gaB13YzmLOR4Q94oZjfpJh00NgJgbU iuKsH7NC+cFF4v16zyRM7kpxhS2qgt1ghPnK+qabwKvpA5Srgscw6nele8Qkf99wWoKUSQxKnXJ mVpJa6uPEDoR9IY+IpNXk1Qz1yJ5Nop/PCv5DjJG/rgy/pjBlRNJdEmUCRHuNPMkOoZXFBFQlmo GLjZWrpNgibfTItoRHMFBwSbDYXnlWHsOO+uP5zICJ5JSi4Rx4CYUnwejmi5AqWEL5iJWT2eniC SURf/j/vwkhySix1e+ZSmx4U8mHTw+tYwAlsdsWviMEyntYab93ioQ5r8GqzbriCf+FmVBKX5NZ yQE47gpBk01dQwsKYQctgq5ycfu8kE1iXsLPVC+TglvLpMSlX2fJj3SDPtxIvkkFwgoXsiC24i2 SoLa79Z55FtPd2aAjVfb+lUKaQ4Vo1mx9JbLqWTBpeu4CAtVkVH4vbAABsrNjgLISR0ZJwA9NF4 iO1VFjast4VvmkO/Jx9nQyioaj0CjySq9B8wDWCF1gWVRF6d3l1S7X2tUJm51fDeHZKtVJUS+Pk p9ZONcTQnjyk++g1h4y6YubmW3tzAE6GC88y1We6YS6iHkP4wRD2ZR1rDrcrNIcbQZvCfrw0wnz pLq9JSVuzqhNl4w== X-Developer-Key: i=duje.mihanovic@skole.hr; a=openpgp; fpr=53DF9D4D9C3FE110FB362D789A119EB0422D96E1 X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 11 Oct 2023 06:24:54 -0700 (PDT) X-Spam-Level: ** Hello, Small series to convert some of the board files in the mach-pxa directory to use the new GPIO descriptor interface. Most notably, the am200epd, am300epd and Spitz matrix keypad among others are not converted in this series. Signed-off-by: Duje Mihanović --- Changes in v8: - Address maintainer comments: - Do not pointlessly gpiod_get() LED gpios - Update trailers - Rebase on v6.6-rc5 - Link to v7: https://lore.kernel.org/r/20231009-pxa-gpio-v7-0-c8f5f403e856@skole.hr Changes in v7: - Address maintainer comments: - Drop gpiod_put in OHCI - Make "struct gpio_descs *leds" in Spitz LEDs global - Link to v6: https://lore.kernel.org/r/20231006-pxa-gpio-v6-0-981b4910d599@skole.hr Changes in v6: - Address maintainer comments: - Use devm_gpiod_get_optional() in OHCI - Use gpiod_get_array() in Spitz LEDs - Update trailers - Link to v5: https://lore.kernel.org/r/20231004-pxa-gpio-v5-0-d99ae6fceea8@skole.hr Changes in v5: - Address maintainer comments: - Rename "reset generator" GPIO to "reset" - Rename ads7846_wait_for_sync() to ads7846_wait_for_sync_gpio() - Properly bail out when requesting USB host GPIO fails - Use dev_err_probe() when requesting touchscreen sync GPIO fails - Use static gpio_desc for gumstix bluetooth reset - Pulse gumstix bluetooth reset line correctly (assert, then deassert) - Fix style issue in ads7846_wait_for_sync_gpio() - Update trailers - Link to v4: https://lore.kernel.org/r/20231001-pxa-gpio-v4-0-0f3b975e6ed5@skole.hr Changes in v4: - Address maintainer comments: - Move wait_for_sync() from spitz.c to driver - Register LED platform device before getting its gpiod-s - Add Linus' Reviewed-by - Link to v3: https://lore.kernel.org/r/20230929-pxa-gpio-v3-0-af8d5e5d1f34@skole.hr Changes in v3: - Address maintainer comments: - Use GPIO_LOOKUP_IDX for LEDs - Drop unnecessary NULL assignments - Don't give up on *all* SPI devices if hsync cannot be set up - Add Linus' Acked-by - Link to v2: https://lore.kernel.org/r/20230926-pxa-gpio-v2-0-984464d165dd@skole.hr Changes in v2: - Address maintainer comments: - Change mentions of function to function() - Drop cast in OHCI driver dev_warn() call - Use %pe in OHCI and reset drivers - Use GPIO _optional() API in OHCI driver - Drop unnecessary not-null check in OHCI driver - Use pr_err() instead of printk() in reset driver - Rebase on v6.6-rc3 - Link to v1: https://lore.kernel.org/r/20230924-pxa-gpio-v1-0-2805b87d8894@skole.hr --- Duje Mihanović (6): ARM: pxa: Convert Spitz OHCI to GPIO descriptors ARM: pxa: Convert Spitz LEDs to GPIO descriptors ARM: pxa: Convert Spitz CF power control to GPIO descriptors ARM: pxa: Convert reset driver to GPIO descriptors ARM: pxa: Convert gumstix Bluetooth to GPIO descriptors input: ads7846: Move wait_for_sync() logic to driver arch/arm/mach-pxa/gumstix.c | 22 ++++++------- arch/arm/mach-pxa/reset.c | 39 ++++++++-------------- arch/arm/mach-pxa/reset.h | 3 +- arch/arm/mach-pxa/spitz.c | 65 ++++++++++++++++++++++++------------- drivers/input/touchscreen/ads7846.c | 22 +++++++++---- drivers/usb/host/ohci-pxa27x.c | 5 +++ include/linux/spi/ads7846.h | 1 - 7 files changed, 88 insertions(+), 69 deletions(-) --- base-commit: 94f6f0550c625fab1f373bb86a6669b45e9748b3 change-id: 20230807-pxa-gpio-3ce25d574814 Best regards, -- Duje Mihanović