Skip to content

Commit

Permalink
shields: adafruit_2_8_tft_touch_v2: add note about touch IRQ
Browse files Browse the repository at this point in the history
Add note about the availability of touch panel IRQ linei when a jumper
in the board is soldered. A Device Tree commented entry has also been
added to ease testing it.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and carlescufi committed Aug 12, 2020
1 parent eacffdb commit a07d66a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ config I2C
config KSCAN_FT5336
default y

# NOTE: Enable if IRQ line is available (requires to solder jumper)
config KSCAN_FT5336_INTERRUPT
default n

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@
compatible = "focaltech,ft5336";
reg = <0x38>;
label = "FT5336";
/* Uncomment if IRQ line is available (requires to solder jumper) */
/* int-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; */ /* D7 */
};
};
7 changes: 7 additions & 0 deletions boards/shields/adafruit_2_8_tft_touch_v2/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Pins Assignment of the Adafruit 2.8" TFT Touch Shield v2
+=======================+=============================================+
| D4 | MicroSD SPI CSn |
+-----------------------+---------------------------------------------+
| D7 | Touch Controller IRQ (see note below) |
+-----------------------+---------------------------------------------+
| D8 | STMPE610 SPI CSn (Resistive Touch Version) |
+-----------------------+---------------------------------------------+
| D9 | ILI9341 DC (Data/Command) |
Expand All @@ -40,6 +42,11 @@ Pins Assignment of the Adafruit 2.8" TFT Touch Shield v2
| SCL | FT6206 SCL (Capacitive Touch Version) |
+-----------------------+---------------------------------------------+

.. note::
Touch controller IRQ line is not connected by default. You will need to
solder the ``ICSP_SI1`` jumper to use it. You will also need to adjust
driver configuration and its Device Tree entry to make use of it.

Requirements
************

Expand Down

0 comments on commit a07d66a

Please sign in to comment.