Sorry, you need to enable JavaScript to visit this website.

Fetch Interrupt from TSC2007 into linux running on MYD-C7Z020 board

Zedboard forums is currently read-only while it under goes maintenance.

Unsolved
2 posts / 0 new
omkar@apra.in
Junior(0)
Fetch Interrupt from TSC2007 into linux running on MYD-C7Z020 board

Hi,
I am using MYD-C7Z020 development board with MYC-C7Z020 CPU Module for Xilinx XC7Z020-1CLG400C.
Also I have 7" resistive touchscreen display (provided by MYiR) which is also connected to the board.
I am trying to figure out how to get interrupt in linux from a TSC2007 chip which is embedded into the board.
Following is the block I was able to find out from zynq-myd.dts file, which needs to be added in devicetree,
tsc2007@49 {
compatible = "tsc2007";
reg = <0x49>;
ti,x-plate-ohms = <655>;
ti,poll-period = /bits/ 64 <30>; //in ms
gpios = <&gpio0 117 1>; // 1 means active low
};
But I am not sure if the above configuration is proper or not.
Could you provide us some pointers on what configurations/changes we need to setup, to get interrupt from TSC2007 chip to linux.
For reference, please checkout the schematics of TSC2007 connections attached with this post.

JFoster
Moderator(76)
Hi,

Hi,

We do not support MYiR. Please contact them.

-Josh