Hi

I am currently trying to get the i2c driver from there:
http://www.mail-archive.com/linux-...@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 
/p...@0/i...@81600000/i...@20
Warning (avoid_default_addr_size): Relying on default #size-cells value for 
/p...@0/i...@81600000/i...@20
Warning (avoid_default_addr_size): Relying on default #address-cells value for 
/p...@0/xps-...@81818000/spi...@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for 
/p...@0/xps-...@81818000/spi...@0

The dts file comes straight from the xilinx tools with these small additions 
made by me:
210a211,216
>                         pcf1: i...@20 {
>                                 #gpio-cells = <2>;
>                                 compatible = "ti,pcf8574";
>                                 reg = <0x20>;
>                                 gpio-controller;
>                         };
228a235,240
>                       spi...@0 {
>                               compatible = "spidev";
>                               spi-max-frequency = <1000000>;
>                               reg = <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 µblazes?

Thanks for your attention
ST
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to