[PATCH 0/2] Subject: [PATCH v5 0/2] arm64: Add LECARC ACPI IDs for DesignWare GPIO, SPI

From: Thomas Lin

Date: Wed May 20 2026 - 22:35:16 EST


This patch series adds ACPI identification for LECARC SoCs that
integrate Synopsys DesignWare peripherals.

LECARC platforms use the following ACPI HIDs:

GPIO: LECA0001 (V1 register offsets)

SPI: LECA0002 (requires custom init function)

Patch 1: GPIO – add LECA0001 to dwapb_gpio ACPI match table.
Patch 2: SPI – add LECA0002 and dw_spi_lecarc_init() to spi-dw-mmio,

Changes since v1:

- Revised subject lines to match subsystem style guidelines
- No functional changes
- All the comments from reviews has been fixed

Changes since v2:
- Wrap long commit description lines to 72 columns
- Fix code indentation in spi-dw-mmio.c: use tabs + spaces for alignment
- No functional changes

Changes since v3:
- Start a new thread for each revision

Changes since v4:
- patch to strip away conflicts

Thomas Lin (2):
gpio: dwapb: Add ACPI ID LECA0001 for LECARC SoCs
spi: dw-mmio: Add ACPI ID LECA0002 for LECARC SoCs

Signed-off-by: Thomas Lin <thomas_lin@xxxxxxxxxxxxxxx>
---
Thomas Lin (2):
gpio: dwapb: Add ACPI ID LECA0001 for LECARC SoCs
spi: dw-mmio: Add ACPI ID LECA0002 for LECARC SoCs

drivers/acpi/acpi_apd.c | 7 +++++++
drivers/gpio/gpio-dwapb.c | 1 +
drivers/spi/spi-dw-mmio.c | 7 ++++---
3 files changed, 12 insertions(+), 3 deletions(-)
---
base-commit: 8bc67e4db64aa72732c474b44ea8622062c903f0
change-id: 20260521-lecarc-acpi-ids-a6967e1ec5b5

Best regards,
--
Thomas Lin <thomas_lin@xxxxxxxxxxxxxxx>