mbox series

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

Message ID 20220117174816.1963463-1-quic_jiles@quicinc.com (mailing list archive)
Headers show
Series i3c: support for dynamically added i2c devices | expand

Message

Jamie Iles Jan. 17, 2022, 5:48 p.m. UTC
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(-)

Comments

Alexandre Belloni March 4, 2022, 10:35 a.m. UTC | #1
On Mon, 17 Jan 2022 17:48:14 +0000, Jamie Iles wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/2] i3c: remove i2c board info from i2c_dev_desc
      commit: 97a82882d8529c18ff15a0b5396d8c4bd2a36157
[2/2] i3c: support dynamically added i2c devices
      commit: cd5883f7e933764e2ddddd9cbb0f7ce18df127c4

Best regards,