IMX6 Device Tree Interrupt description

Source: Internet
Author: User
Tags imx6
IMX6 Device Tree Interrupt description

Turn from:

Http://zzjlzx.blog.chinaunix.net/uid-9688646-id-5680717.html


Kernel_imx/documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt

594 egalax_ts@04 {
595 compatible = "Eeti, egalax_ts"; --corresponds to the I²C device name in the driver.
596 Reg = < 0x04>; --corresponds to the i²c address.
597 interrupt-parent = <& gpio6>;--> connected to Nandf_ale according to circuit diagram, see Datasheet in GPIO6
598 interrupts = < 8 2>;--> corresponds to the 8th io,2 in GPIO6 for the interrupt type.
599 Wakeup-gpios = < &gpio6 8 0>; The 8th IO in the-->GPIO6 is used as an interrupt control or as a wake-up function, and 0 that is, the low level is wake.
600};
601
The second cell bits[3:0] is used to specify trigger type and level flags:
1 = Low-to-high edge triggered.
2 = High-to-low edge triggered.
4 = Active High level-sensitive.
8 = active Low level-sensitive.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.