mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 0/2] HiSilicon I2C bus recovery support
@ 2026-09-29 12:13 Bowen Yu
  2026-09-29 12:13 ` [PATCH v5 1/2] ACPI: Add stub for acpi_has_method() for !CONFIG_ACPI Bowen Yu
  2026-09-29 12:13 ` [PATCH v5 2/2] i2c: hisi: Add I2C bus recovery support Bowen Yu
  0 siblings, 2 replies; 7+ messages in thread
From: Bowen Yu @ 2026-09-29 12:13 UTC (permalink / raw)
  To: linuxarm, liudingyuan, andi.shyti, linux-i2c, acpi, linux-kernel,
	rafael, lenb
  Cc: zhanjie9, prime.zeng, wanghuiqiang, xuwei5, yubowen8, ouyiyong1

Changes since v4:
  - Patch 1 (new): Add a static inline stub for acpi_has_method() in
    <linux/acpi.h> for !CONFIG_ACPI builds. This is the prerequisite
    for dropping the #ifdef in the driver: acpi_has_method() is the
    only ACPI symbol referenced by the recovery code that lacks an
    automatic stub (the ACPICA core helpers already get stubs via
    ACPI_EXTERNAL_RETURN_*).
  - Patch 2: Drop the #ifdef CONFIG_ACPI guard around the recovery
    helpers in i2c-hisi.c. The six recovery functions are now compiled
    unconditionally.

Patch 2 depends on Patch 1 for !CONFIG_ACPI compilation.

Bowen Yu (2):
  ACPI: Add stub for acpi_has_method() for !CONFIG_ACPI
  i2c: hisi: Add I2C bus recovery support

 drivers/i2c/busses/i2c-hisi.c | 142 ++++++++++++++++++++++++++++++++++
 include/linux/acpi.h          |   5 ++
 2 files changed, 147 insertions(+)

-- 
2.33.0


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

end of thread, other threads:[~2026-10-30  2:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 12:13 [PATCH v5 0/2] HiSilicon I2C bus recovery support Bowen Yu
2026-09-29 12:13 ` [PATCH v5 1/2] ACPI: Add stub for acpi_has_method() for !CONFIG_ACPI Bowen Yu
2026-09-29 12:28   ` Rafael J. Wysocki (Intel)
2026-09-29 12:13 ` [PATCH v5 2/2] i2c: hisi: Add I2C bus recovery support Bowen Yu
2026-10-13 13:44   ` Jie Zhan
2026-10-27 10:51   ` Andi Shyti
2026-10-30  2:39     ` yubowen (H)

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

all inboxes | Powered by JetHome®