Associating devices with multiple parents

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Aug 17 20:37:22 EST 2012


On Thu, Aug 16, 2012 at 04:20:47PM -0600, Grant Likely wrote:
> On Aug 16, 2012 3:46 PM, "Mitch Bradley" <wmb at firmworks.com> wrote:

> > Is there an established Linux convention for expressing that dual-parent
> > relationship for I2C?  The phandle schemes for cross-tree gpio, clk, and
> > interrupt relationships obviously bear some resemblance to the problem,
> > but I haven't seen anything for I2C.

> Yes. Place the codec under the i2c controller and use a tope level audio
> complex node with phandles to both the codec and i2s nodes.

The nVidia bindings are probably the best ones to look at as an example
here.


More information about the devicetree-discuss mailing list