[PATCH v3 0/1] i2c: Introduce I2C bus extensions
Herve Codina <[email protected]> Wed, 18 Jun 2025 10:23:11 +0200
| Newsgroups | org.kernel.vger.devicetree-spec,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-i2c,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi, 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, example has been fixed. No other modification has been done except adding a reviewed-by tag. In the v1 series review, discussion started but conclusions were not reached. 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) [0] https://lore.kernel.org/all/[email protected]/ Best regards, Hervé Codina Changes v2 -> v3 v2: https://lore.kernel.org/all/[email protected]/ Patch 1: Fix the example provided in the commit log. Add 'Reviewed-by: Luca Ceresoli' Changes v1 -> v2 v1: https://lore.kernel.org/all/[email protected]/ Patch 1 in v1: Removed (already applied) Patch 1 (2 in v1): Add 'Reviewed-by: Ayush Singh <[email protected]>' Herve Codina (1): schemas: i2c: Introduce I2C bus extensions dtschema/schemas/i2c/i2c-controller.yaml | 67 ++++++++++++++++++++++++ 1 file changed, 67 insertions(+) -- 2.49.0