fpga driver on custom PPC target platform (P4080) ...

Robert Sciuk robert.sciuk at exfo.com
Sat Nov 5 05:19:36 EST 2011


> >
> > I *believe* you are not supposed to create separate nodes for reading
> > and writing.  I know that's how I2C works, but I think the I2C layer
> > takes care of that for you.
> >
> > If you look at other device trees, you'll see they only have one node
> > for any particular I2C device.
> >
> > --
> > Timur Tabi
> > Linux kernel developer at Freescale
> 
> 
> Thanks, Timur ... I've fixed the tree, and I'm tracking down the
> problems with addressing the nodes ...

Ah,  my compatible attribute was wrong:

	Compatible = "nxp,pca9539";

	Should have been:

	Compatible = "nxp,pca953x";

The tree now seems to bind the i2c gpio drivers properly ... on to the localbus mappings!

Rob.


More information about the devicetree-discuss mailing list