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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6971CC77B73 for ; Mon, 1 May 2023 09:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ldUgk7BgFQz03aRo01SoFDvNdrKC6uu+4L/q/cEZn/M=; b=xSrToFu8rg99Ug txIidnlzKAyLJxyIifvxmxVqJ1CaMyGjZiwoNjDTKgL+sQk7TqSi/Xogm0Us4zs6wuq5CZvngDAFd F6rOYwG7zE360R2yURw2lYPaJAF7vin1ixvlOH2sNL0DJKpwmRQjnadL2i3GRLO64zpWnWyj1VSQr qGKPXlLIuwBsYDjohjlfAzCArtdYToNGZhHyxyPs50JyZqIN8JMvEWgr57IrgBXlFplOIzP97qvVj Qj1nE3PwswYWYmShm6Pl9+nDXKyIN7bieHI9kX5rt8Tl7mlqywNDFDbi49k01k0b+sFLLI2ytdU7w oG1FkJcXNJRq8gqc63rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptPTM-00FVz1-1h; Mon, 01 May 2023 09:05:28 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptPTK-00FVy9-16 for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2023 09:05:27 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4efec123b28so3170209e87.1 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=I46wVjDPSJYtem7bI72G15NxzU4XevRjfYhF9sspjIZr7pk1FeFLKwTKFX0U60iQGl 6JxGgtbUory3rt390F9vs1zT5YTwGTQHe94zy/PFMIGAOZQwTIkD08cA1Fehb1aC4eBd b+QuXUgwk/2q2zOdUrnjAWWzK25oF7qhpWe6zBhbmx5A1oVX14xHS2WcicLPMjpeI0fS y0CqMZ3hKd2dBaX7oqYAAATi/pEpy6xm2fZpgdHS/Ka/1XROsgyTPajMb1PyR1tGWdmB b+Iz8Gs8iwtH6r5Rp2THWA9cfcEUE5cZpFhcQ+YyV1eBH6wPDAbRxI8errxdxBGKp9V3 0YkA== X-Gm-Message-State: AC+VfDxwB3n28XBktQb7JlsrCpGNSZcjVWopPdlQ7IMhxcKIeqYNqfmX eEx1BPGNx1lV1DjIByleJ+m11A== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230501_020526_414125_1FB48A88 X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel