mbox series

[v2,0/1] i2c: Introduce I2C bus extensions

Message ID 20250430152201.209797-1-herve.codina@bootlin.com
Headers show
Series i2c: Introduce I2C bus extensions | expand

Message

Herve Codina April 30, 2025, 3:21 p.m. UTC
Hi,

This is a resend of the series in order to continue discussion started
previously. In this resend, patch 2 previously available has been
removed (already applied).

An I2C bus can be wired to the connector and allows an add-on board to
connect additional I2C devices to this bus.

Those additional I2C devices could be described as sub-nodes of the I2C
bus controller node however for hotplug connectors described via device
tree overlays there is additional level of indirection, which is needed
to decouple the overlay and the base tree.

This decoupling is performed thanks to the I2C bus extension feature
which is introduced and detailed in patch 2 of this series.

The implementation related to I2C bus extension has been already
proposed as an RFC in Linux [0]. The missing part in this RFC was the
binding.

This binding related to I2C controller is not available in the Linux
repository but in dt-schema repository and so, this series update the
I2C controller binding to introduce the feature.

Compare to the previous iteration, patch 1 available in v1 has been
removed (already applied). No other modification has been done excep
adding a reviewed-by tag. Indeed conclusions were not reached in the
previous iteration discussion.

As a reminder, topics started in the v1 series discussion were the
following:
 - i2c-bus-extension@0: usage of a subnode with unit address
 - Presence of phandles in both direction (double linked list)

Best regards,
Hervé Codina

Changes v1 -> v2
  v1: https://lore.kernel.org/all/20250401081041.114333-1-herve.codina@bootlin.com/

  Patch 1 in v1:
  Removed (already applied)

  Patch 1 (2 in v1):
  Add 'Reviewed-by: Ayush Singh <ayush@beagleboard.org>'

Herve Codina (1):
  schemas: i2c: Introduce I2C bus extensions

 dtschema/schemas/i2c/i2c-controller.yaml | 67 ++++++++++++++++++++++++
 1 file changed, 67 insertions(+)