Re: [PATCH v3 1/1] schemas: i2c: Introduce I2C bus extensions

Wolfram Sang <[email protected]> Fri, 29 Aug 2025 12:58:06 +0200
Newsgroups org.kernel.vger.devicetree-spec,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-i2c,org.kernel.vger.linux-kernel
Message-ID <aLGHvqY6N5oI54eT@shikoro>
Hi Hervé,

> the only solution I see is to parse the full DT in order to find extension
> nodes when we need to register adapter children (adapter probe() step).
> 
> A matching extension node will be a node where:
>  1) compatible = "i2c-bus-extension"
>  2) "i2c-parent" phandle points to the expected adapter.

Would that be so bad? It will not be done often, or?

All the best,

   Wolfram