Thread (3 messages) 3 messages, 3 authors, 2009-03-27

Re: Q: define i2c nodes in device tree?

From: David Gibson <hidden>
Date: 2009-03-27 23:07:53

On Fri, Mar 27, 2009 at 02:05:04PM +0100, Albrecht Dre� wrote:
Hi Timur:
quoted
You need to have a "gpio I2C" device driver that registers the same name as what's in the DTS, like this:
Thanks, that did the trick; a proper naming is apparently

pca8575:gpio@20 {
        compatible = "nxp,pca8575";
        device_type = "gpio";
There shouldn't be device_type here, though.
        reg = <0x20 1>;
};
-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help