Hi all,
I want to run a touch screen on DE0-Nano-SoC Linux, but the device driver for the touch screen is not recognized.
Based on the sample, I am trying to control the touch display with DE0.
I have made modifications to the device tree and FramebuffeDriver and have been able to create dts and zImage. I was also able to display the screen on my touch display.
However, the device driver for the touch screen controller is not recognized. (It does not show up in /dev/input).
I incorporated the sample device driver (ft5406.c), but it was not recognized. (Not displayed in /dev/input).
The ft5406.c uses I2C for communication control and has opencore settings enabled.
Is there something wrong with the kernel creation?
The device tree uses a sample.
—Menuconfig(Linux/arm 5.4.74 Kernel configurration)–
<Touchscreen>
Device Drivers
> Input device support
> Touchscreens
> <*>EDT FacalTech FT5x06 I2C Touchscreen support
<I2C>
Device Driver
> {*}I2C support
<*>I2C device interface
[*] Autoselect pertient helper modules
I2C Hardware Bus support --->
<*>Synopsys DesignWare Slave
<*>Opencore I2C Controller
—Notation of device tree related to touchscreens –
ocores@0x20 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "opencores,i2c-ocores";
reg = <0x20 0x20>;
interrupts = <0x0 0x2a 0x1>;
clock-frequency = <0x2faf080>;
reg-shift = <0x2>;
reg-io-width = <0x4>;
ft5406_ts@0x38 {
compatible = "ft5406_ts";
reg = <0x38>;
interrupts = <0x0 0x28 0x3>;
};
};
—Reference—
—Operation Environment—
-
FPGA Boards→DE0-Nano-SoC Kit/Atlas-SoC kit
-
Host PC →ubuntu 20.04 LTS ( VirtualBox)
-
Linux kernel→socfpga-5.4.75 (GitHub - altera-opensource/linux-socfpga at socfpga-5.4.74-lts)
-
toolchain :→gcc-linaro-7.5.0-2019.12-x86_64_arm-eabi
Thanks