Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v4 0/3] arm64: Add LECARC ACPI IDs for DesignWare GPIO, SPI, I2C
@ 2026-05-20  8:11 Thomas Lin
  2026-05-20  8:11 ` [PATCH v4 1/3] gpio: dwapb: Add ACPI ID LECA0001 for LECARC SoCs Thomas Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Thomas Lin @ 2026-05-20  8:11 UTC (permalink / raw)
  To: rafael, lenb, hoan, linusw, brgl, mika.westerberg,
	andriy.shevchenko, jsd, andi.shyti, broonie
  Cc: linux-acpi, linux-kernel, linux-gpio, linux-i2c, linux-spi,
	lucas_hao, puntar_liu, jihua_tao, stan_xu, lumin_liu,
	notics_zhang, braden_zhang, harold_wu, will_zhang, aurora_jiang,
	ryen_lin, andy_jiang, Thomas Lin

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

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

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-05-20 17:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20  8:11 [PATCH v4 0/3] arm64: Add LECARC ACPI IDs for DesignWare GPIO, SPI, I2C Thomas Lin
2026-05-20  8:11 ` [PATCH v4 1/3] gpio: dwapb: Add ACPI ID LECA0001 for LECARC SoCs Thomas Lin
2026-05-20 15:15   ` Bartosz Golaszewski
2026-05-20 15:24     ` Mark Brown
2026-05-20 17:11       ` Wolfram Sang
2026-05-20 17:15         ` Mark Brown
2026-05-20  8:11 ` [PATCH v4 2/3] spi: dw-mmio: Add ACPI ID LECA0002 " Thomas Lin
2026-05-20 17:27   ` Mark Brown
2026-05-20  8:11 ` [PATCH v4 3/3] i2c: designware: Add ACPI ID LECA0003 " Thomas Lin
2026-05-20 14:17   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox