From patchwork Fri May 5 11:16:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13232418 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 1BF39C77B7F for ; Fri, 5 May 2023 11:17:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D69410E5CA; Fri, 5 May 2023 11:17:04 +0000 (UTC) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 557EE10E5CA for ; Fri, 5 May 2023 11:17:02 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f14e499ffcso30162e87.0 for ; Fri, 05 May 2023 04:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683285420; x=1685877420; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=fx9c2gfE/OHP7sBTVMsL9k1RmStALes2Mdy1lhribcY=; b=Ya9B2laEOQwnbndke0paotuFnskFR1ibXiV2nc0AsSgOpzh5wJCI5y9JvJ3yMC7w22 KFoBwISJacxh7su/afZzJDnAtlgR25E9qO3pfE8WuT/i58+5gkuPOYy0azncfae5oqTy QmKI/vqmYH7uN3T+NxXo+ZLMnQUcVwSN2j0Vx0tSYUA8fitazr6XU/RHd6P+nVpVIYYI XFSYv6Ky2qRLWlF2QWExBLlY+Pd7F5hVG5qy6/Io2ujxOoeote7/fbQ/FMPBYUomTANr eoSUXCBd1f+rR9p0sBT2B9dYMXx8vbsdfvBZboK5KMrKcCyVUk2ocgfKBNGzv+4jGdNn VFiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683285420; x=1685877420; 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=fx9c2gfE/OHP7sBTVMsL9k1RmStALes2Mdy1lhribcY=; b=lMfq9Y2d1FgHGlphpUtFb/0nM58odX1EsfvhohNzRHuTQWDJ4iXSDs8AcLsa6HqTuU IiWjHtXf7mqCFlI6gMylqsWAfLlHAtOghn49mrLwO6gmgqmo0A9bLAH4BmxlPlCMt1Sn bKLlNEPNp0ApvqdV43WTas/BmhDU7n388jnWmuEQn88WDHnLFLVfCm1cdP2JaOyTjpBr xX6ADlPrH/bveh+VwAzBXqi3HxFyl1xTeTCQ02kNyVbQ+n97uIVGBVIQV5uJkK/3cU2b MOcWM3EX+5O1WpTFRAdJy7dcUPr1QMoiQlwHM/NplXxThA0faoegyx/K/8AWCdpU79Bp UzjQ== X-Gm-Message-State: AC+VfDzMNtOWzZlnIKKGgfzgOWZbbPGsiowMaXlkkkw+Su8duCpz3hUe dxoYekhx7LDTbmUaWl0HuHwAoQ== X-Google-Smtp-Source: ACHHUZ5FKrQODDpnLoBig6okuW3UkdQRwonRuYb5f0VYTah57/AGP42MRpKF5kHhSqrWV15gPrTvjQ== X-Received: by 2002:a19:a403:0:b0:4ed:b85b:ad5c with SMTP id q3-20020a19a403000000b004edb85bad5cmr413024lfc.0.1683285419888; Fri, 05 May 2023 04:16:59 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id d7-20020a05651221c700b004edbf013fe7sm251665lft.49.2023.05.05.04.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 04:16:59 -0700 (PDT) From: Linus Walleij Subject: [PATCH v3 0/3] Fix up Nokia 770 regression Date: Fri, 05 May 2023 13:16:54 +0200 Message-Id: <20230430-nokia770-regression-v3-0-a6d0a89ffa8b@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKblVGQC/42NQQ7CIBBFr2JYi6FAxbryHsYF0LGdqGCGhmia3 l3ozo1x+f/Mf29mCQghseNmZgQZE8ZQgtpumB9tGIBjXzKTQiqhleAh3tAaIzjBQJDqP5eutcL ozoDvWFk6m4A7ssGPdfuwaQKqhyfBFV+r7nwpecQ0RXqv9tzU9rcoN1zwrpQa1N6JTp/uGCzFX aSBVWCWf0BkhRw09MrbVutvyLIsH02gpWwVAQAA To: Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Russell King , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Thomas Bogendoerfer , Dmitry Torokhov , Mark Brown , Bartosz Golaszewski , Andreas Kemnade , Helge Deller , Ulf Hansson X-Mailer: b4 0.12.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, linux-mips@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-spi@vger.kernel.org, linux-input@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" A recent change to use dynamic GPIO base allocation in the OMAP GPIO driver caused a regression in some OMAP1 boards. This series fixes up the Nokia 770 board from 2005: https://en.wikipedia.org/wiki/Nokia_770_Internet_Tablet I don't know how urgent the fix is, you decide. For me, it is fair if fringe systems get fixed in due time, as they are hardly anyones main development laptop. Signed-off-by: Linus Walleij --- Changes in v3: - Fix a compile error in the ADS7846 driver by dropping some leftover OF ifdeffery. - Link to v2: https://lore.kernel.org/r/20230430-nokia770-regression-v2-0-984ed3ca5444@linaro.org Changes in v2: - Thoroughly rewrote the approach taken for the ADS7846 touchscreen following Dmitry's ambition to go a step further and take a swnode approach to this conversion: I'm fine with that, the patch just get a bit bigger. - Picked up Ulf's ACK on the MMC patch. - Link to v1: https://lore.kernel.org/r/20230430-nokia770-regression-v1-0-97704e36b094@linaro.org --- Linus Walleij (3): Input: ads7846 - Convert to use software nodes ARM/mmc: Convert old mmci-omap to GPIO descriptors ARM: omap1: Fix up the Nokia 770 board device IRQs arch/arm/mach-omap1/board-nokia770.c | 198 +++++++++++++++++++------------- arch/arm/mach-omap1/board-sx1-mmc.c | 1 - arch/arm/mach-omap2/board-n8x0.c | 85 +++++--------- arch/arm/mach-pxa/spitz.c | 11 +- arch/mips/alchemy/devboards/db1000.c | 11 +- drivers/input/touchscreen/ads7846.c | 113 +++++++----------- drivers/mmc/host/omap.c | 46 +++++++- drivers/video/fbdev/omap/lcd_mipid.c | 10 ++ include/linux/platform_data/lcd-mipid.h | 2 - include/linux/platform_data/mmc-omap.h | 2 - include/linux/spi/ads7846.h | 2 - 11 files changed, 262 insertions(+), 219 deletions(-) --- base-commit: 348551ddaf311c76b01cdcbaf61b6fef06a49144 change-id: 20230430-nokia770-regression-2b5a07497ec9 Best regards,