[PATCH v3 0/3] Fix up Nokia 770 regression

From: Linus Walleij
Date: Fri May 05 2023 - 07:17:13 EST


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 <linus.walleij@xxxxxxxxxx>
---
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@xxxxxxxxxx

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@xxxxxxxxxx

---
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,
--
Linus Walleij <linus.walleij@xxxxxxxxxx>