Skip to content

Add LECARC ACPI IDs for DesignWare GPIO, SPI, I2C

thomas linux-acpi linux-gpio linux-i2c linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gpio: dwapb: Add LECARC ACPI IDdrivers/gpio/gpio-dwapb.c+1 -00 replies
2/3spi: dw-mmio: Add LECARC ACPI ID and init hookdrivers/acpi/acpi_apd.c drivers/spi/spi-dw-mmio.c+16 -01 reply
3/3i2c: designware: Add LECARC ACPI IDdrivers/acpi/acpi_apd.c drivers/i2c/busses/i2c-designware-platdrv.c+6 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 (drivers/acpi/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: dwapb – add LECA0001 to dwapb_acpi_match[]. Patch 2: spi: dw-mmio – add LECA0002 and dw_spi_lecarc_init(),
plus corresponding entry in acpi_apd.c.
Patch 3: i2c: designware – add LECA0003 to dw_i2c_acpi_match[],
plus corresponding entry in acpi_apd.c.

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

Please apply.

thomas (3):
gpio: dwapb: Add LECARC ACPI ID
spi: dw-mmio: Add LECARC ACPI ID and init hook
i2c: designware: Add LECARC ACPI ID

 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