linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i2c: Introduce I2C bus extensions
@ 2025-04-01  8:10 Herve Codina
  2025-04-01  8:10 ` [PATCH 1/2] schemas: i2c: Avoid extra characters in i2c nodename pattern Herve Codina
  2025-04-01  8:10 ` [PATCH 2/2] schemas: i2c: Introduce I2C bus extensions Herve Codina
  0 siblings, 2 replies; 8+ messages in thread
From: Herve Codina @ 2025-04-01  8:10 UTC (permalink / raw)
  To: Wolfram Sang, Andi Shyti, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-i2c, devicetree, linux-kernel, devicetree-spec,
	Luca Ceresoli, Thomas Petazzoni, Herve Codina

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:
  - Patch 1 is a fix avoid a wrong matching I2C bus node name.
  - Patch 2 is the I2C bus extension itself.

[0] https://lore.kernel.org/all/20250205173918.600037-1-herve.codina@bootlin.com/

Best regards,
Hervé Codina

Herve Codina (2):
  schemas: i2c: Avoid extra characters in i2c nodename pattern
  schemas: i2c: Introduce I2C bus extensions

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

-- 
2.49.0


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

end of thread, other threads:[~2025-04-29 18:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01  8:10 [PATCH 0/2] i2c: Introduce I2C bus extensions Herve Codina
2025-04-01  8:10 ` [PATCH 1/2] schemas: i2c: Avoid extra characters in i2c nodename pattern Herve Codina
2025-04-01 14:10   ` Rob Herring
2025-04-01  8:10 ` [PATCH 2/2] schemas: i2c: Introduce I2C bus extensions Herve Codina
2025-04-01 14:03   ` Rob Herring
2025-04-02  8:21     ` Herve Codina
2025-04-17 15:38       ` Herve Codina
2025-04-29 18:04   ` Ayush Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).