linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* dts,i2c,pcf8574 on Xilinx XUP
@ 2010-04-01 20:50 ST
  2010-04-01 22:14 ` Wolfram Sang
  0 siblings, 1 reply; 6+ messages in thread
From: ST @ 2010-04-01 20:50 UTC (permalink / raw)
  To: linuxppc-dev

Hi

I am currently trying to get the i2c driver from there:
http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg02403.html
working on a full custom toolchain from me based on ptxdist as a
hobby.

Unfortunatly the i2c driver hangs the git://git.xilinx.com/linux-2.6-xlnx
tree hard if i run i2cdetect. Also my pcf device is not listed as a device.

Obviously my device tree is not correct as the dtc compiler complains:
Warning (avoid_default_addr_size): Relying on default #address-cells value =
for /plb@0/i2c@81600000/iexp@20
Warning (avoid_default_addr_size): Relying on default #size-cells value for=
 /plb@0/i2c@81600000/iexp@20
Warning (avoid_default_addr_size): Relying on default #address-cells value =
for /plb@0/xps-spi@81818000/spidev@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for=
 /plb@0/xps-spi@81818000/spidev@0

The dts file comes straight from the xilinx tools with these small addition=
s made by me:
210a211,216
>                         pcf1: iexp@20 {
>                                 #gpio-cells =3D <2>;
>                                 compatible =3D "ti,pcf8574";
>                                 reg =3D <0x20>;
>                                 gpio-controller;
>                         };
228a235,240
>                       spidev@0 {
>                               compatible =3D "spidev";
>                               spi-max-frequency =3D <1000000>;
>                               reg =3D <0>;
>                       } ;
>
I am new to this device tree stuff and it would be really great to get some=
 hints as i am currently stuck.

Also if someone knows if these i2c patches which had been partially in 2.6.=
34 are bigendian/little endian
clean, as i suspect that they are focused on support for the =B5blazes?

Thanks for your attention
ST

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-04 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-01 20:50 dts,i2c,pcf8574 on Xilinx XUP ST
2010-04-01 22:14 ` Wolfram Sang
2010-04-01 22:42   ` ST
2010-04-01 23:08     ` Wolfram Sang
2010-04-04 22:28       ` ST
2010-04-04 23:51         ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).