2017年3月24日 上午4:23于 Rockme <[email protected]>写道:
>
> Hi there,
>
> I hope I'm the right place to ask this question ;)
> I'm trying to connect a touchscreen (kind of cheap waveshare 3.5)with 2 SPI channel to my nanopi Neo.
> Both tft and touch (ADS7846) are using a common SPI bus with different CS.
>
> I'm running out of idea, I cannot find a simple and nice distribution with a clean documentation to do that.
> On some distribution like DietPi or Debian Jessie I modified the Fex file to try to integrate another CS.
> I tried to integrate some DT on DietPi, but seems not to be effective.
>
> So I end up with the conclusion that the HW spi support only one CS (CS0) and I need to find a solution to connect a software GPIO for CS1.
>
> On fex file for instance I found manual_cs that is not supported yet. Some gpio_cs libraries seems to exist but I don't know where to begin.
>
> Does somebody already try to add this kind of new chip select to an existing HW bus?
I think it may be possible to use multiple CS's (both hard and soft) with mainline kernel, but not tried at all, as I have only one SPI slave... :-(
Although for proper mainline SPI you will need to wait for 4.12 kernel or backport patches.
> If not would you have an idea where you can redirect me (forum or other) that could help me to find the solution?
>
> Thanks a lot guys!
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
