diff options
5 files changed, 21 insertions, 30 deletions
diff --git a/overlays/verdin-am62_dsi-to-hdmi_overlay.dts b/overlays/verdin-am62_dsi-to-hdmi_overlay.dts index 32a41e7..c4fd6ea 100644 --- a/overlays/verdin-am62_dsi-to-hdmi_overlay.dts +++ b/overlays/verdin-am62_dsi-to-hdmi_overlay.dts @@ -32,6 +32,15 @@ }; }; }; + + reg_dsi_hdmi: regulator-dsi-hdmi { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; }; &dsi_bridge { @@ -75,6 +84,7 @@ /* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */ /* Verdin GPIO_10_DSI (SODIMM 21) */ reset-gpios = <&main_gpio0 30 GPIO_ACTIVE_LOW>; + vdd-supply = <®_dsi_hdmi>; ports { #address-cells = <1>; diff --git a/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts index 35378de..fe2d536 100644 --- a/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts +++ b/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts @@ -59,6 +59,15 @@ }; }; }; + + reg_dsi_lvds: regulator-dsi-lvds { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; }; &dsi_bridge { @@ -101,6 +110,7 @@ /* Verdin Verdin DSI_1_INT# (SN65DSI84 IRQ, SODIMM 17, unused) */ /* Verdin DSI_1_BKL_EN (SODIMM 21) */ enable-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>; + vcc-supply = <®_dsi_lvds>; ports { #address-cells = <1>; @@ -138,5 +148,6 @@ pinctrl-0 = <&pinctrl_dsi1_int>, <&pinctrl_i2s_2_bclk_gpio>; /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ reset-gpios = <&main_gpio0 35 GPIO_ACTIVE_LOW>; + vdd-supply = <®_dsi_lvds>; }; }; diff --git a/overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds_overlay.dts index e7e5b8f..c7ed3b6 100644 --- a/overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds_overlay.dts +++ b/overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds_overlay.dts @@ -54,16 +54,6 @@ status = "okay"; }; -/* - * If the bridge is missing setting up dss will fail. As this bridge - * isn't available on all SKU disable it here. - * Thus having an overlay for the DSI output enabled concurrently - * with this one will not work. - */ -&dsi_bridge { - status = "disabled"; -}; - &dss_ports { #address-cells = <1>; #size-cells = <0>; diff --git a/overlays/verdin-am62_mezzanine_panel-lvds-dual-channel-1080p_overlay.dts b/overlays/verdin-am62_mezzanine_panel-lvds-dual-channel-1080p_overlay.dts index 16a796d..6caffae 100644 --- a/overlays/verdin-am62_mezzanine_panel-lvds-dual-channel-1080p_overlay.dts +++ b/overlays/verdin-am62_mezzanine_panel-lvds-dual-channel-1080p_overlay.dts @@ -73,16 +73,6 @@ status = "okay"; }; -/* - * If the bridge is missing setting up dss will fail. As this bridge - * isn't available on all SKU disable it here. - * Thus having an overlay for the DSI output enabled concurrently - * with this one will not work. - */ -&dsi_bridge { - status = "disabled"; -}; - &dss_ports { #address-cells = <1>; #size-cells = <0>; diff --git a/overlays/verdin-am62_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-am62_panel-cap-touch-10inch-lvds_overlay.dts index 00223d6..eff91c9 100644 --- a/overlays/verdin-am62_panel-cap-touch-10inch-lvds_overlay.dts +++ b/overlays/verdin-am62_panel-cap-touch-10inch-lvds_overlay.dts @@ -81,16 +81,6 @@ status = "okay"; }; -/* - * If the bridge is missing setting up dss will fail. As this bridge - * isn't available on all SKU disable it here. - * Thus having an overlay for the DSI output enabled concurrently - * with this one will not work. - */ -&dsi_bridge { - status = "disabled"; -}; - &dss_ports { #address-cells = <1>; #size-cells = <0>; |