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

Herve Codina <[email protected]> Fri, 29 Aug 2025 13:08:21 +0200
Newsgroups org.kernel.vger.devicetree-spec,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-i2c,org.kernel.vger.linux-kernel
Organization Bootlin
Message-ID <[email protected]>
Hi Wolfram,

On Fri, 29 Aug 2025 12:58:06 +0200
Wolfram Sang <[email protected]> wrote:

> 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?

Ok I will propose a binding update in that sense (dtschema repo) and an
implementation (kernel repo).

Best regards,
Hervé