[PATCH 0/2] i3c: support for dynamically added i2c devices

Jamie Iles quic_jiles at quicinc.com
Mon Jan 17 09:48:14 PST 2022


Devices are currently added at controller initialization time with 
boardinfo, but the i2c subsystem also supports dynamically adding 
devices through a variety of mechanisms including user-space through 
sysfs, device tree overlays and ACPI.

This small series decouples registration from the boardinfo and then 
adds a notifier to add the devices at runtime.  A future series will 
build on this to allow adding the I2C devices through ACPI.

Jamie Iles (2):
  i3c: remove i2c board info from i2c_dev_desc
  i3c: support dynamically added i2c devices

 drivers/i3c/master.c       | 145 ++++++++++++++++++++++++++++++++++---
 include/linux/i3c/master.h |   1 -
 2 files changed, 136 insertions(+), 10 deletions(-)

-- 
2.32.0




More information about the linux-i3c mailing list