Message ID | 20230430-omap2-pdata-quirks-v1-0-e015f3a3ea46@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2566806vqo; Mon, 1 May 2023 02:07:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5oHR7E1VF/6VQiNBOCJMt3WnXtQhHUiOMUUfbMLZAISO9mYCw9JHDHQU/nGA2r+ZvpqrlR X-Received: by 2002:a05:6a00:139e:b0:594:1f1c:3d3a with SMTP id t30-20020a056a00139e00b005941f1c3d3amr23096513pfg.15.1682932020583; Mon, 01 May 2023 02:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682932020; cv=none; d=google.com; s=arc-20160816; b=UcaJHwpSPmeWKSTLs4M/CeMEsI2QS2lKMmnZRA1BmApH3/YI9bedmURVMyJOTL9Gkl L9WClWZA7f5DeISb8nPgGp7wrbAyf0ys4Qdhz60iaKH8L2GmnKEnS6jc4AWGlwNy5zvS cMywudN67TEoqQTMzJvpYruqQP8sHMftQ8JT/oAb41NRfZ1q8FDh7xkqInu1ek4qxW2p 2o8sQvBoRp0z0CSxCCCElzD1Pe/HvuyeX3lYenWxSoyX8MUDz2kxNQJaYHrmk98OqcMW woIf+/ndbm0lNVvq55flUws20KUwy7JrMfluQqnkKyJ+d+rDaE8FFD0CXa6LQ7vvXBVz VnsQ== 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:dkim-signature; bh=2j6rgQc/r/2Js3D3gLwomy+VWPn4uUg8B3ip4IjpuBc=; b=JsaL5EIMcN4nfrs1swJY3lq9SQ1Y8iInWTBhbObbfqtWWzCFO5e799f6dhVy/ck15T 248DioRcJXBg3ntiBgo7+d/rQluTuoL4i5l6YgZo+p3e1iTrkCNp6+ntjhxfhKRFUwBD 1suhU6u/5rP8OHBgDonhMo6w3GfVTn7shEvtZ+cWPBR359SOCwPTM6q/WpGx3CqzQJVD yQCq79JmZm+PE73TmippaBorI92y4m3zwfRr+Vt+nRAAxPFeWMyH0pZc4J7sQpyi7iy9 ixpaL/3vLdZkV3by6r16UKtwdX0QRSBCq8pGfDFesJNTUirnvLHMkNnhZOSJCHXtkJUS H32Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KAn3ODbI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g23-20020aa796b7000000b0063b71d46b6dsi26961404pfk.75.2023.05.01.02.06.48; Mon, 01 May 2023 02:07:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KAn3ODbI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbjEAJFg (ORCPT <rfc822;rbbytesnap@gmail.com> + 99 others); Mon, 1 May 2023 05:05:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbjEAJFd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 1 May 2023 05:05:33 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE15710FA for <linux-kernel@vger.kernel.org>; Mon, 1 May 2023 02:05:24 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f00c33c3d6so3153940e87.2 for <linux-kernel@vger.kernel.org>; Mon, 01 May 2023 02:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682931923; x=1685523923; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=2j6rgQc/r/2Js3D3gLwomy+VWPn4uUg8B3ip4IjpuBc=; b=KAn3ODbIiRg4j4Zzg/nLhWKpOxSDpVsU9Zn/tajMDmj3ofpezi3MroE8tiPr5jqEVC 5CedcIh3ba7clPnvywrYtUakcAxswbyLn9MAqR8+Lw8carcSiAPQsdgySQYkzDFg+sgD 1lREin9W5NrFUxSkJIdhKRbzIJ0uyCOMEIMEOoCW4GKXanq4TjiqaL2Iq4PpvM/Gwb4E j07uZIaqNQLIgaMXxbPJGFwOpBSSpQ9z9imHnu1tfy46NWQDIE//E5Dm3B0GR9McWB5h naZHQvxkKWg4Uur0vxC+iV8mvfB62GMogmKFRuJvh8q48UphgDgwhHY3C2BnaGiRpTKC shdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682931923; x=1685523923; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2j6rgQc/r/2Js3D3gLwomy+VWPn4uUg8B3ip4IjpuBc=; b=cY0mdrn02p5eoZ3RG7ana5fRilylmV7rDcAqyVy3S5WaxZwuQhB/EhHARmUMHfwcff GwzRpgFW8OWWl4o+JoJFDf58Kx5+0BLGvs3H5mM33wVSeRvucBARogVbpMtjyyTiy8sk xMpdk/tIvOOz431ksDjxvveZJn+TF1PD9Or8zELQtK9QaK//BbNokHQC88fOq6a55GnJ AJBeng5w4VHYm3O0PtM94n4qzyEO/uiYOmOfJroJ+ldvL7rfu+pCAhGQXlOXiXVbFhEy hXUwtlodqo0dYh/uqcJ68pI0I8xTrxY5knw6aKE+fxeqOG052ZARFX9HEHLTSDh7yUBt xYsg== X-Gm-Message-State: AC+VfDytIJPsOQ1qmV930MaN1H6JisR6NCvinmxnBAWsf09AHSZ/0L8Z vpYXjzt9YthCXCJGqBxTHxt0+g== X-Received: by 2002:ac2:43bc:0:b0:4ea:5902:5af1 with SMTP id t28-20020ac243bc000000b004ea59025af1mr3668268lfl.52.1682931922845; Mon, 01 May 2023 02:05:22 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id f21-20020ac251b5000000b004eb554a1711sm4601208lfk.51.2023.05.01.02.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 02:05:22 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 0/3] Get rid of OMAP2 GPIO pdata quirks Date: Mon, 01 May 2023 11:05:20 +0200 Message-Id: <20230430-omap2-pdata-quirks-v1-0-e015f3a3ea46@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANCAT2QC/x2NwQqDQAwFf0VybmB1vbS/UnqI+qyhuG4TLQXx3 7v2OAzD7OQwhdOt2snwUdclFagvFfWTpCdYh8LUhCaGNgZeZskN50FW4fem9nKO4VpcDbQjqIS dOLgzSf10prP4CjtFNoz6/d/uj+P4ARDKqrt9AAAA To: Tony Lindgren <tony@atomide.com>, Russell King <linux@armlinux.org.uk>, Bartosz Golaszewski <brgl@bgdev.pl>, Lee Jones <lee@kernel.org>, Andreas Kemnade <andreas@kemnade.info> Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org> X-Mailer: b4 0.12.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764682126180351106?= X-GMAIL-MSGID: =?utf-8?q?1764682126180351106?= |
Series | Get rid of OMAP2 GPIO pdata quirks | |
Message
Linus Walleij
May 1, 2023, 9:05 a.m. UTC
The OMAP2/3 has a few platform data quirks using the legacy
<linux/gpio.h> API and the associated global GPIO numberspace.
Since we started to use dynamic assignment of the OMAP GPIO
base this will not work, let's just rewrite and decomission
these bad habits.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (3):
ARM/gpio: Push OMAP2 quirk down into TWL4030 driver
ARM: omap2: Get USB hub reset GPIO from descriptor
ARM: omap2: Rewrite WLAN quirk to use GPIO descriptors
arch/arm/mach-omap2/omap_device.c | 1 -
arch/arm/mach-omap2/pdata-quirks.c | 132 ++++++++++++++++++-------------------
drivers/gpio/gpio-twl4030.c | 52 ++++++++++-----
include/linux/mfd/twl.h | 3 -
4 files changed, 102 insertions(+), 86 deletions(-)
---
base-commit: 825a0714d2b3883d4f8ff64f6933fb73ee3f1834
change-id: 20230430-omap2-pdata-quirks-3093041ee4fe
Best regards,