Support waveshare 3.5inch/2.4inch tft lcd for m2 zero

TFT LCD module from waveshare

3.5inch: https://www.waveshare.net/wiki/3.5inch_RPi_LCD_(C)

2.4inch: https://www.waveshare.net/wiki/2.4inch_LCD_Module

kernel patch files for bpi kernel https://github.com/BPI-SINOVOIP/BPI-M2P-bsp-4.4

bananapi-m2-zero-support-waveshare-2.4inch-lcd.patch (7.2 KB)

bananapi-m2-zero-support-waveshare-3.5inch-c-lcd.patch (7.2 KB)

kernel patch files for mainline kernel (test with kernel 5.5.0-rc6) https://www.kernel.org/

mainline-bananapi-m2-zero-support-waveshare-2.4inch-lcd.patch (1.1 KB)

mainline-bananapi-m2-zero-support-waveshare-3.5inch-c-lcd.patch (1.1 KB)

Allwinner H3/H2+ have only one spi cs pin, 3.5inch module TP is not work