From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3607FC7EE22 for ; Mon, 1 May 2023 09:05:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229916AbjEAJFg (ORCPT ); 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 ); 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 ; Mon, 1 May 2023 02:05:24 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f00c33c3d6so3153940e87.2 for ; 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-Google-Smtp-Source: ACHHUZ4PKSBtvj/xLG1BW7/z1Xw6Jj+Ff/oBpQPTIV8KfzrvUyBivXgM1hxakXhkALJvhWCKUxV6Tg== 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 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 , Russell King , Bartosz Golaszewski , Lee Jones , Andreas Kemnade Cc: Bartosz Golaszewski , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The OMAP2/3 has a few platform data quirks using the legacy 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 (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, -- Linus Walleij