On 30/05/2014 22:24, jonsm...@gmail.com wrote: > I attached it as as a standalone file. Does anyone have the new > AsiaRF module with support for the second chip select? Or any other > hardware that supports the second chip select? This code is a > mechanical change that just creates a path through the SPI code > for passing the CS number around. > > This is how to use it in a DTS file > > spi@b00 { status = "okay"; m25p80@0 { compatible = "mx25l6405d"; > linux,modalias = "m25p80", "mx25l6405d"; reg = <0>; > spi-max-frequency = <10000000>; }; > > codec: le89156@1 { compatible = "zarlink,le89156"; reg = <1>; > spi-max-frequency = <10000000>; }; }; > > That commit on git hub was generated with this procedure. > http://wiki.openwrt.org/doc/devel/patches >
thanks, i will have a look at it. i believe one of the rt5350 eval kits had a jumper to select the alternate CS line. i need to play with the spi driver anyway when i add mt7628 support. John _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel