ADS7846 linux driver with mediatek devices
Hello!
Trying to add touchscreen ( compatible = "ti,ads7846"; ) to my MT7621 based router through SPI, but it looks like OpenWrt (kernel 5.4.52) doesn't want to route interrupt to ads7846 driver (https://github.com/torvalds/linux/bl...reen/ads7846.c). I've got these lines in device tree: Code:
.... Code:
ads7846 spi0.3: touchscreen, irq 27 Code:
input: ADS7846 Touchscreen as /devices/platform/1e000000.palmbus/1e000b00.spi/spi_master/spi0/spi0.3/input/input0 Code:
27: 0 0 0 0 1e000600.gpio 18 ads7846 If I remove any reference of GPIO18 in device tree - GPIO18 can be used freely as interrupt source through echo falling > /sys/class/gpio/gpio490/edge, that is clearly seen in /proc/interrupts. Code:
# cat /proc/bus/input/devices |
I've just finished searching for drivers for the Ralink 5370 wifi chip, and found that Mediatek and Ralink are strongly linked. I very much doubt if any of their devices are in the kernel at all. Here'e the thread https://www.linuxquestions.org/quest...er-4175679811/
The one driver I found was 2012 vintage done for a 2.6 kernel. It's a compile outside source job. .No firmware. I don't like the bus/product/version all being 0000. I'd try a 2k2 instead of a 10k pullup and see if the interrupt behaves better. That's the only idea I have for you. |
Quote:
Quote:
|
All times are GMT -5. The time now is 11:11 AM. |