diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-02-15 15:46:41 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-02-16 10:34:03 +0000 |
commit | 582fb47a977714aacb63f24c57ba147846a24a57 (patch) | |
tree | c183d4d0567f79dabf5d6649b32ed9bf05ff61e5 /overlays/colibri-imx8x_dsihdmi_overlay.dts | |
parent | 2064b1fc5684b13d122063cba2c33cae671481ea (diff) |
overlays: colibri-imx8x: simplify dsihdmi overlay
Move all common properties of dsi-hdmi adapter and other related
stuff to the main devicetree.
Related-to: ELB-3246
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'overlays/colibri-imx8x_dsihdmi_overlay.dts')
-rw-r--r-- | overlays/colibri-imx8x_dsihdmi_overlay.dts | 75 |
1 files changed, 5 insertions, 70 deletions
diff --git a/overlays/colibri-imx8x_dsihdmi_overlay.dts b/overlays/colibri-imx8x_dsihdmi_overlay.dts index 0b5b1d7..9f7055a 100644 --- a/overlays/colibri-imx8x_dsihdmi_overlay.dts +++ b/overlays/colibri-imx8x_dsihdmi_overlay.dts @@ -1,8 +1,5 @@ // Enable the dsi to hdmi adapter orderable at Toradex for Colibri iMX8X -#include "dt-bindings/gpio/gpio.h" -#include "dt-bindings/pinctrl/pads-imx8qxp.h" - /dts-v1/; /plugin/; / { @@ -11,82 +8,20 @@ &i2c0_mipi_lvds0 { status = "okay"; - - #address-cells = <1>; - #size-cells = <0>; - - /* DSI to HDMI Adapter V1.1A */ - i2c-switch@70 { - compatible = "nxp,pca9540"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x70>; - i2c-mux-idle-disconnect; - - i2c_sw0: i2c-sw@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - - /* DDC/EDID */ - }; - - i2c-sw@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - - lt8912@48 { - compatible = "lontium,lt8912"; - ddc-i2c-bus = <&i2c_sw0>; - hpd-gpios = <&lsio_gpio1 31 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_hpd>; - reg = <0x48>; - - port { - lt8912_1_in: endpoint { - remote-endpoint = <&mipi0_dsi_host_out>; - }; - }; - }; - }; - }; }; -&iomuxc { - colibri-imx8qxp { - /* DSI/LVDS Hot Plug Detect on FFC (X2) */ - pinctrl_gpio_hpd: gpio-hpd { - fsl,pins = < - IMX8QXP_MIPI_DSI1_GPIO0_00_LSIO_GPIO1_IO31 0x20 /* SODIMM 138 */ - >; - }; - }; +<8912_hdmi { + status = "okay"; }; &mipi0_dsi_host { status = "okay"; - - #address-cells = <1>; - #size-cells = <0>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - port@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - mipi0_dsi_host_out: endpoint@0 { - reg = <0>; - remote-endpoint = <<8912_1_in>; - }; - }; - }; }; &mipi0_dphy { status = "okay"; }; +&pca9540_switch { + status = "okay"; +}; |