[PATCH v2 0/3] arm64: Add LECARC ACPI IDs for DesignWare GPIO, SPI, I2C

From: Thomas Lin

Date: Fri May 15 2026 - 07:47:14 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)

I2C: LECA0003

The patches are independent but share a common dependency on the
ACPI description file (acpi_apd.c) for SPI and I2C. To avoid merge
conflicts, they are submitted as a single series with the following
order:

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,
plus corresponding entry in acpi_apd.c.
Patch 3: I2C – add LECA0003 to DesignWare I2C ACPI match table,
plus corresponding entry in acpi_apd.c.

All changes have been tested on LECARC evaluation board with
kernel v7.0.0-rc7. No regressions observed on existing hardware.

Changes since v1:

Revised subject lines to match subsystem style guidelines

No functional changes

All the comments from reviews has been fixed

Please apply.

Thomas Lin (3):
gpio: dwapb: Add ACPI ID LECA0001 for LECARC SoCs
spi: dw-mmio: Add ACPI ID LECA0002 for LECARC SoCs
i2c: designware: Add ACPI ID LECA0003 for LECARC SoCs

drivers/acpi/acpi_apd.c | 13 +++++++++++++
drivers/gpio/gpio-dwapb.c | 1 +
drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
drivers/spi/spi-dw-mmio.c | 7 ++++---
4 files changed, 19 insertions(+), 3 deletions(-)

--
2.43.0