Skip to content
Snippets Groups Projects
Commit a88d8cb6 authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

arm64:dts: Add touch to MV + G156HAN02

parent 5bac6fad
No related branches found
No related tags found
1 merge request!566arm64:dts: Add touch to MV + G156HAN02
Pipeline #154553 passed
Pipeline: linux-imx-kuk

#154554

    ...@@ -21,6 +21,13 @@ ...@@ -21,6 +21,13 @@
    */ */
    #define VIDEO_PLL1_RATE 987000000 #define VIDEO_PLL1_RATE 987000000
    #define ENABLE_TOUCH
    #define touch_int_parent &pca6416
    #define touch_int_pin 4
    #define touch_int &pca6416 4
    #define touch_reset_pin 2
    #define touch_reset &pca6416 2
    #include "include/imx8mp-d18.dtsi" #include "include/imx8mp-d18.dtsi"
    #include "include/mv.dtsi" #include "include/mv.dtsi"
    #include "../seconorth/auo-g156han02.dtsi" #include "../seconorth/auo-g156han02.dtsi"
    ...@@ -29,3 +36,23 @@ / { ...@@ -29,3 +36,23 @@ / {
    model = "SECO Group SMARC i.MX8MP G156HAN (D18 / LEVY)"; model = "SECO Group SMARC i.MX8MP G156HAN (D18 / LEVY)";
    compatible = "fsl,imx8mp"; compatible = "fsl,imx8mp";
    }; };
    #ifdef ENABLE_TOUCH
    &i2c2 {
    ilitekh@41 {
    compatible = "tchip,ilitek";
    status = "okay";
    reg = <0x41>;
    /*
    * The touch_int is connected to the GPIO-Expander
    * and needs no pinmuxing.
    */
    interrupt-parent = <touch_int_parent>;
    interrupts = <touch_int_pin IRQ_TYPE_LEVEL_LOW>;
    ilitek,irq-gpio = <touch_int GPIO_ACTIVE_LOW>;
    #ifdef touch_reset
    ilitek,reset-gpio = <touch_reset GPIO_ACTIVE_LOW>;
    #endif
    };
    };
    #endif
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please to comment