diff options
Diffstat (limited to 'overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts')
-rw-r--r-- | overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts b/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts index cecf3a6..f904af9 100644 --- a/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts +++ b/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts @@ -15,14 +15,17 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/gpio/gpio.h> -&{/} { - panel_lvds: panel-lvds { - }; -}; +#include "display-rvt101hvdwc00b_overlay.dtsi" +#include "verdin-imx8mp_backlight-dsi_overlay.dtsi" -&backlight { - pwms = <&pwm3 0 6666667 0>; - status = "okay"; +&panel_rvt101hvdwc00 { + backlight = <&backlight_verdin_dsi>; + + port { + panel_in_rvt101hvdwc00: endpoint { + remote-endpoint = <&dsi_lvds_bridge_out>; + }; + }; }; /* Verdin I2C_2_DSI */ @@ -39,6 +42,7 @@ enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_10_dsi>; + status = "okay"; ports { #address-cells = <1>; @@ -47,7 +51,7 @@ port@0 { reg = <0>; - dsi_riv_in: endpoint { + dsi_lvds_bridge_in: endpoint { data-lanes = <1 2 3 4>; remote-endpoint = <&mipi_dsi_bridge1_out>; }; @@ -56,8 +60,8 @@ port@2 { reg = <2>; - lvds_out_panel_riv: endpoint { - remote-endpoint = <&panel_in_lvds_riv>; + dsi_lvds_bridge_out: endpoint { + remote-endpoint = <&panel_in_rvt101hvdwc00>; }; }; }; @@ -68,11 +72,12 @@ reg = <0x41>; /* Verdin DSI_1_INT# (TOUCH_INT#, SODIMM 17) */ interrupt-parent = <&gpio4>; - interrupts = <25 IRQ_TYPE_LEVEL_LOW>; + interrupts = <25 IRQ_TYPE_EDGE_RISING>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>; /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; + status = "okay"; }; }; @@ -94,10 +99,8 @@ mipi_dsi_bridge1_out: endpoint { attach-bridge; - remote-endpoint = <&dsi_riv_in>; + remote-endpoint = <&dsi_lvds_bridge_in>; }; }; }; }; - -#include "display-rvt101hvdwc00b_overlay.dtsi" |