Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2002769rdh; Tue, 26 Sep 2023 09:23:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGeNDyPoQXpI+lI7xRWW3x/QCEqSmHk4wmGDLMxbJYXjlkiveMZZlM5LefOrZQWViseDAcm X-Received: by 2002:a17:902:c389:b0:1b9:e972:134d with SMTP id g9-20020a170902c38900b001b9e972134dmr7016677plg.3.1695745416692; Tue, 26 Sep 2023 09:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695745416; cv=none; d=google.com; s=arc-20160816; b=KzO4cYGtiOWYkyIJQV+aqLVS3cAUNOF9u11k4KXbo+y8dNhED9hdMcUkFvn56YTcrs 6FQQpwSmzWB08cyawZdqKrIR0qdpBb6zjrk1RNvtITw8dTyOq5P5SOTASGsKV5HCHaL/ 8ej+XduNYoe10pVavwk9CbG2NgmwkCDUgYJdVytym92aeSSoZL9DxHyWe/lYBGEsRG9f kxlNrWi7jMh6PdGnr+umNgGvLEwn2qkhqiBs5W7ln4JDTNH/saa88MD7yWKyPlcMi6vJ 2NCgtrJ/erLomLh9ekT7tH4YrOWhS/CkW15j6iINn3QrpMopjRqRUIJr0XocSCxyc32h 0SjQ== 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=29g4THRgQNtWp4VGnLWNYCpcpcA9e4PXixG4KFHroxc=; fh=UU0GqEaQ9Xnukct86UJbX2/ZB3UfIgAdTfbf6iYszSw=; b=xsJ+XXGgSgYZ6tLqXRgnKHkaQPX0XIr4sm9WMJ6m06t3l6AUJyFcdai4V7s+E71xWI Qzg71LZCosNsMJr7xcd83FbPAUWhj/VOObETwUSrZQkUsE8dowVyfIbSDk6gJUq8YsOV a4+FjyD4ZijtaWkCrtqSSQ5+uN4Dv6K7XKyVOIkiTqYy+tO/WQ4rEc7hUzMx9/sgdt0M f+aJvzxqAFPSiWM00TYorLephYgPnapE7BEdm7SsCpmHdEW4bA8hPcRhidF4ZSMl2T2V pUS/r68KkshwZLvGpX3gTyu4nW6gJwl7KXHvIn4A5SY+GjsIJgnSRX0JMv2h3zmewcg3 uQIQ== 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 y12-20020a170903010c00b001c5f9de7a35si8076874plc.109.2023.09.26.09.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 09:23:36 -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 7E32B81143CB; Tue, 26 Sep 2023 08:46:59 -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 S235089AbjIZPq7 (ORCPT + 99 others); Tue, 26 Sep 2023 11:46:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235114AbjIZPqy (ORCPT ); Tue, 26 Sep 2023 11:46:54 -0400 Received: from mx.skole.hr (mx2.hosting.skole.hr [161.53.165.186]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6D56127; Tue, 26 Sep 2023 08:46:46 -0700 (PDT) Received: from mx2.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 3D67E833AA; Tue, 26 Sep 2023 17:46:33 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= Subject: [PATCH RFC v2 0/6] ARM: pxa: GPIO descriptor conversions Date: Tue, 26 Sep 2023 17:46:21 +0200 Message-Id: <20230926-pxa-gpio-v2-0-984464d165dd@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAM38EmUC/0XM3QrCIBQH8FcZ5zpDnaLrKgh6gG5jF2ue5qGYQ 0MWY++eeNPl/4PfBgkjYYJTs0HETInCXII8NDD6YZ6QkSsZJJctt9ywZR3YtFBg7YhSO22UFQr KfYn4pLVSd7hdL9CX0lP6hPitfBZ1qlIn1V/KgnEmLdcPa5y1nTqnV3jj0Ufo933/AWgyee6kA AAA To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King , Alan Stern , Greg Kroah-Hartman , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org, =?utf-8?q?Duje_Mihanovi=C4=87?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1636; i=duje.mihanovic@skole.hr; h=from:subject:message-id; bh=kqhcIgA+c1p20ruAULqaoqV6whyH4z56OXFjmXMMryE=; b=owEBbQKS/ZANAwAIAZoRnrBCLZbhAcsmYgBlEvzWBQEqqKBPaHb7u5f9p6t5jZu+JSmFjLYIP ESkLEzJC66JAjMEAAEIAB0WIQRT351NnD/hEPs2LXiaEZ6wQi2W4QUCZRL81gAKCRCaEZ6wQi2W 4frvEACSdmt58LurhpjyINqYLP8c6F4nNjDdEdaKG+h2Iha5JQ0BIbtr3evh7ZH/m0EI4uBKvok AsEb5gcypshbuCiTBY3bF5sOupIgiNlFtoAEyXNAbXXgjYap1GV2CXc0RUJQF5J5AJB1V6MafFB ZOBnwXBpvCGqTCiVFYE0d9Wp3RDR7tYbvQ2shDvXFxyg+Mw3ky2ho7jCFH10PZNh9TgJkyHA5Rz QZ9Q5euqdKl5XEeRT7ro1aDO65kIvrNiMTrDo0QwA3UtGdI18sPHWFSmemw5lafrUE2OMJZVE0H 0b5nu4qzI574hm7u7n/YqbBqdUO5h8d9EBr5inb+jcFl0hJ5hnF8S3fisUEKwdtC3q9DFghI3ZJ Ctrij4pjKquiz/O3W12WWe2NcN1KRKOHMVTfaHt1H3qCkXMPL5ZUQDfNNOSY+NBEtujfHOUqKh1 YmyqXeAMjRpUyc+kjwbnNLN44+Z4SKBhnH2X4spBpvWyJOjPITU+PH3KAJV7+vlxwBdZDrMZlT3 duwowZQHKf7IMx+jZQ+CdrK5msKFSKnYad/ebSyYwSmyLchW8euXUwMm/jEADNZrWXdvhZ7yvXk YeZXKMR8Rctwi/uo9iP0brtT9cG7bVV6Y2pIq6AVq7Vq8mMHUlu8kBmKle75+cWZKQTvaoN68ni 1UdyUM3845LLdgA== X-Developer-Key: i=duje.mihanovic@skole.hr; a=openpgp; fpr=53DF9D4D9C3FE110FB362D789A119EB0422D96E1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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]); Tue, 26 Sep 2023 08:46:59 -0700 (PDT) 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 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 Spitz hsync to GPIO descriptors ARM: pxa: Convert gumstix Bluetooth to GPIO descriptors arch/arm/mach-pxa/gumstix.c | 24 ++++++++------- arch/arm/mach-pxa/reset.c | 39 ++++++++--------------- arch/arm/mach-pxa/reset.h | 3 +- arch/arm/mach-pxa/spitz.c | 70 +++++++++++++++++++++++++++++++++--------- drivers/usb/host/ohci-pxa27x.c | 7 +++++ 5 files changed, 90 insertions(+), 53 deletions(-) --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 change-id: 20230807-pxa-gpio-3ce25d574814 Best regards, -- Duje Mihanović