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

From: thomas

Date: Wed May 13 2026 - 23:58:22 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.

Rebase from v7.0.0-rc6 onto v7.0.0-rc7.

Please apply.

drivers/acpi/acpi_apd.c | 12 ++++++++++++
drivers/gpio/gpio-dwapb.c | 1 +
drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
drivers/spi/spi-dw-mmio.c | 9 +++++++++
4 files changed, 23 insertions(+)

--
2.43.0