Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3917510rdh; Fri, 29 Sep 2023 06:19:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUTiqYBtbpsijTgkaVcTaeHTKhD7BXSNz0lBz0XRsmRUkbdf/1WDGoOvwNCtml69juY7WG X-Received: by 2002:a17:90a:fc8d:b0:268:5575:93d9 with SMTP id ci13-20020a17090afc8d00b00268557593d9mr3911621pjb.10.1695993550129; Fri, 29 Sep 2023 06:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695993550; cv=none; d=google.com; s=arc-20160816; b=PYUUmOByiLpjxWiXEGJVOcYo5EeeTOFT3LZxaqkI63rLlAcUKQ8DgTK7yLyk29KGk5 sWstQVmZHhqFaLl4Ih7iGudhZBcKfcGf+sP9ZDa6TPM7+o9+Nird9f9QqgFK4d6Y9V17 ZgDJPGTsjQndSqOz3rnmFVstp/hvClB5pta3EeZqRrhseWF2mAKeqWi95SyhpqMyEynW eR9bkR2JH3XO4lRaBLSp/+d/KYx9od6zkACqpgDXHxl3Q/a6wko2vFdLzSyzV6eiXpsX LwggsOF8M0YN05YDa4N6iHXDWGVWRPQNYhAHTGZGcMnZDjHL+KBGg7FH0Qv3d8xxGSXB IEpw== 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=wO0JuC5iK0RSlWwGso0uA4ZEsfP7qsatIBSOmqTzXTk=; fh=UU0GqEaQ9Xnukct86UJbX2/ZB3UfIgAdTfbf6iYszSw=; b=Jl06k8gHNjdSDSzi6PNwBeZiMUDRPsSUpgBgOq9rDyzzJ/U8zVWWaLJA3CL04TsYPt uzvyxRxcbfhrLcbTkE8g0m5h01tUYWCc9J1yr1Xa09xeVCwD2JZ6AJuV82EeAmL/IiFz y4bu8kanNt9hyEaTm6I5FvT0oBFxOCGxNuA+rj1kQJvKWaV5wOf9cO8kXHKw5GqTlHAM math64cxpSgxq1KNvApy65TZOGuFnwEmPSAWu8q94UaiJNpQ/tpNNMyHj9mSR7GBKfr1 2/9eC9Q5eDT7cAzzoD/gMwlP3wRghRIDkbzsqV3N96wh6mr6WN17QKtLuKYaWhXa3arL 6eBw== 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:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id lx14-20020a17090b4b0e00b00276df8c5b83si1669655pjb.143.2023.09.29.06.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 34DE480AF27A; Fri, 29 Sep 2023 06:15:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233344AbjI2NPW (ORCPT + 99 others); Fri, 29 Sep 2023 09:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233125AbjI2NPN (ORCPT ); Fri, 29 Sep 2023 09:15:13 -0400 Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D8E71AA; Fri, 29 Sep 2023 06:15:09 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 536AC83114; Fri, 29 Sep 2023 15:15:06 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= Subject: [PATCH RFC v3 0/6] ARM: pxa: GPIO descriptor conversions Date: Fri, 29 Sep 2023 15:13:58 +0200 Message-Id: <20230929-pxa-gpio-v3-0-af8d5e5d1f34@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAJbNFmUC/02MTQ6CMBBGr0JmbU07tFBcmZh4ALfGBdIKEwwlr WkwhLvbdCPL7+e9FYL1ZAOcihW8jRTITSmUhwK6oZ16y8ikDMix5JrXbF5a1s/kWNlZVEbVUgs J6T57+6Ilq+5wu17gkcqBwsf5b9ZHkadsalD+TVEwzlBz9dS10bqR5zC6tz0OPjsi7rlqx2HiG i1lJY2olDE7btu2H3YkBS/cAAAA 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=1932; i=duje.mihanovic@skole.hr; h=from:subject:message-id; bh=ZXXO1MTt43BI/DSSWQXztjifMqczYVcjKstVvA9qX0I=; b=owEBbQKS/ZANAwAIAZoRnrBCLZbhAcsmYgBlFs3XN9glGVhCprsb0PWm1HcAGYFyGDzOu0HzY JvhdGErw+6JAjMEAAEIAB0WIQRT351NnD/hEPs2LXiaEZ6wQi2W4QUCZRbN1wAKCRCaEZ6wQi2W 4X7fEACVww75yICQbuA5WDOjhk2uNjgyy1dgzEwl89eSPHrcOhL9Zok+NYNBvU/CNESODuU7ZwT RI+zMRPVQ+9DvqOREpJTgd+Pa2giwr9utho2JxLAnFeiLjLYM54bVj7d89BzpqElKar39qKHS7Y z3XTlYVYVzegkbF2yjngvo6qRKBYP1nMd6+6oId6BqkarPd0r7KXvehiNs/pz/oiQxFMtEEdAQx VOyZQaN/ay+mZx6iZ8HQzrG10cAiSCb08m7+q5r/urspC0tY5EyShdU8NN2BLaknMYA0p9C6C+1 pY6Hj8SqZcDu3oXNXHfhTM3/a7Xc6lZXipU6/AGCqOQ44+ywRGmM5KtK6BAhiuuIJfVf3ZlUoSd C7/kOfB2qaFiQkhM//a5CKiVVN5APdc8tOtbtmWXx7LLpupoA7rvdpbRCIehYTfkv0cjqWeY2S1 pO1BoM2jTpx1A+7prtRWqCGyzKQwDgCJN1fBiUitlk5IOBMHEq88SWbjZbPRhRLDuBKM0gnDhxZ Ou8ojDacI/GQtL2ccuYsmmHriHPPYawFwC34rHzf0/l6EJKrjnsrKb0pjKQUoeEZ4TaDPZ2IHgz oDhXel8gygih5JXkv8yud1SPR1qJecHNK3IbLi3aLrk2ybbUFJW6C+yMuBSLqSwKM5tFcG4jEXV b6DUcB2h4MdaEMA== X-Developer-Key: i=duje.mihanovic@skole.hr; a=openpgp; fpr=53DF9D4D9C3FE110FB362D789A119EB0422D96E1 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 29 Sep 2023 06:15: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 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 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 | 72 +++++++++++++++++++++++++++++++++--------- drivers/usb/host/ohci-pxa27x.c | 7 ++++ 5 files changed, 91 insertions(+), 54 deletions(-) --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 change-id: 20230807-pxa-gpio-3ce25d574814 Best regards, -- Duje Mihanović