diff options
-rw-r--r-- | overlays/Makefile | 1 | ||||
-rw-r--r-- | overlays/apalis-imx8_nau8822-btl_overlay.dts | 18 | ||||
-rw-r--r-- | overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi | 12 | ||||
-rw-r--r-- | overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts | 14 | ||||
-rw-r--r-- | overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts | 6 | ||||
-rw-r--r-- | overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts | 14 | ||||
-rw-r--r-- | overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts | 5 |
7 files changed, 70 insertions, 0 deletions
diff --git a/overlays/Makefile b/overlays/Makefile index 41ace9b..e7eea56 100644 --- a/overlays/Makefile +++ b/overlays/Makefile @@ -24,6 +24,7 @@ dtb-y += apalis-imx8_hdmi_overlay.dtbo dtb-y += apalis-imx8_mezzanine_can_overlay.dtbo dtb-y += apalis-imx8_mezzanine_ov5640_overlay.dtbo dtb-y += apalis-imx8_mezzanine_panel-cap-touch-10inch-lvds_overlay.dtbo +dtb-y += apalis-imx8_nau8822-btl_overlay.dtbo dtb-y += apalis-imx8_ov5640_overlay.dtbo dtb-y += apalis-imx8_panel-cap-touch-10inch-lvds_overlay.dtbo dtb-y += apalis-imx8_panel-lvds-dual-channel-1080p_overlay.dtbo diff --git a/overlays/apalis-imx8_nau8822-btl_overlay.dts b/overlays/apalis-imx8_nau8822-btl_overlay.dts new file mode 100644 index 0000000..bbc02a6 --- /dev/null +++ b/overlays/apalis-imx8_nau8822-btl_overlay.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +/dts-v1/; +/plugin/; + +/ { + compatible = "toradex,apalis-imx8", "toradex,apalis-imx8-v1.1"; +}; + +// Allow configuring the two loudspeaker outputs as a +// single Bridge Tied Load output getting higher output power. + +&nau8822_1a { + nuvoton,spk-btl; +}; diff --git a/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi index b5d7c6d..f8d2786 100644 --- a/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi +++ b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi @@ -5,7 +5,19 @@ // Common Code to setup MIPI DSI to SN65DSI84 +#include <dt-bindings/gpio/gpio.h> + +&{/} { + reg_dsi_lvds: regulator-dsi-lvds { + compatible = "regulator-fixed"; + enable-active-high; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; +}; + &lvds_ti_sn65dsi84 { + vcc-supply = <®_dsi_lvds>; status = "okay"; ports { diff --git a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts index 7a52c46..418428d 100644 --- a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts +++ b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts @@ -8,15 +8,29 @@ /dts-v1/; /plugin/; +#include <dt-bindings/gpio/gpio.h> + / { compatible = "toradex,verdin-imx8mm"; }; +&{/} { + reg_dsi_hdmi: regulator-dsi-hdmi { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&gpio5 1 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; +}; + &gpu { status = "okay"; }; &hdmi_lontium_lt8912 { + vdd-supply = <®_dsi_hdmi>; status = "okay"; ports { diff --git a/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts index f641906..28971fa 100644 --- a/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts +++ b/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts @@ -17,6 +17,7 @@ #include "display-lt170410_sn65dsi84_overlay.dtsi" &atmel_mxt_ts { + vdd-supply = <®_dsi_lvds>; status = "okay"; }; @@ -46,3 +47,8 @@ clock-frequency = <69300000>; }; }; + +®_dsi_lvds { + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&gpio5 1 GPIO_ACTIVE_HIGH>; +}; diff --git a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts index 553ca98..d448954 100644 --- a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts +++ b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts @@ -8,10 +8,23 @@ /dts-v1/; /plugin/; +#include <dt-bindings/gpio/gpio.h> + / { compatible = "toradex,verdin-imx8mp"; }; +&{/} { + reg_dsi_hdmi: regulator-dsi-hdmi { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; +}; + &gpu_2d { status = "okay"; }; @@ -31,6 +44,7 @@ }; &hdmi_lontium_lt8912 { + vdd-supply = <®_dsi_hdmi>; status = "okay"; ports { diff --git a/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts index 85cefa5..26e899c 100644 --- a/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts +++ b/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts @@ -59,3 +59,8 @@ &vpu_v4l2 { status = "okay"; }; + +®_dsi_lvds { + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>; +}; |