Re: [OpenWrt-Devel] [PATCH 6/8] ramips: improve mt7621 spi chip select

2015-10-13 Thread John Crispin
2 comments inline On 11/10/2015 05:54, Michael Lee wrote: > * use chip select register to control chip select function instead of > use chip select polarity > * should support use gpio as cs pin > * deselected the spi device when setup and add debug info > > Signed-off-by: Michael Lee

Re: [OpenWrt-Devel] [PATCH 6/8] ramips: improve mt7621 spi chip select

2015-10-13 Thread Mingyu Li
i have mention "add debug info" on comment. or you suggest me move the debug info into another patch. about num_chipselect. now we should use gpio pin as chip select pin. so there is no limit on num_chipselect. we can connect more spi devices by using gpio pin as chip select pin. you can check