Message ID | 20230929-pxa-gpio-v3-0-af8d5e5d1f34@skole.hr |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp4022945vqu; Fri, 29 Sep 2023 06:19:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZYTbU4nnrwJTB1BGlD4Oe14nwVvGy4G1zmsz0/zMq3GCGA9Z2opz+NoN2bRsAf/xJsJdC X-Received: by 2002:a05:6808:1b13:b0:3ae:5650:c6cf with SMTP id bx19-20020a0568081b1300b003ae5650c6cfmr5174375oib.48.1695993553274; Fri, 29 Sep 2023 06:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695993553; cv=none; d=google.com; s=arc-20160816; b=eWC94QQfYPcCU5y+gz3QSu3O4DHgfjQHwmbhVDPG7F/PtMSFQGNMV1ssywoCB0uhgm UqW/FiR4Ulgj7ovLXRvWyFEJ6qBz+vBbQ3fCISns6yGZ7ry3Sok1PBS9jbxUPJpDjia1 JEs3w163Gk/yaL4pynNueHmIMEpIqt2BOv/QVuEZA0hrZao+XBJQHZDvOY7HTcrKk4Tv JwREHX5bMZ8fo0m3FEmOMZM9GsSsWYcoLXtdcxklyMrrdrq84VHT7E1bcHYgouRTNjNd uf5uH027d4CjHzrDfm4EjJjOGoUVtipVPUhZyV0SEKUChEAG0SwrvpV2FFv0QSmeWKoA gwJw== 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 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i5-20020a633c45000000b00585ad17516csi440238pgn.662.2023.09.29.06.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:19:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 81F138045BC5; Fri, 29 Sep 2023 06:16:06 -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 S233345AbjI2NPX (ORCPT <rfc822;pwkd43@gmail.com> + 20 others); Fri, 29 Sep 2023 09:15:23 -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 <rfc822;linux-kernel@vger.kernel.org>); 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?= <duje.mihanovic@skole.hr> 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 <daniel@zonque.org>, Haojian Zhuang <haojian.zhuang@gmail.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Russell King <linux@armlinux.org.uk>, Alan Stern <stern@rowland.harvard.edu>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org> 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_Mihan?= =?utf-8?q?ovi=C4=87?= <duje.mihanovic@skole.hr> 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: <linux-kernel.vger.kernel.org> 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:16:06 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778378135900756914 X-GMAIL-MSGID: 1778378135900756914 |
Series |
ARM: pxa: GPIO descriptor conversions
|
|
Message
Duje Mihanović
Sept. 29, 2023, 1:13 p.m. UTC
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ć <duje.mihanovic@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 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,