diff options
author | majstor <majstor@majstor.org> | 2021-08-17 18:23:23 -0700 |
---|---|---|
committer | majstor <majstor@majstor.org> | 2021-08-17 18:23:23 -0700 |
commit | 72f5e32b508c665999955f97d0db0c24d0fbb26c (patch) | |
tree | ab4da1c4d66dfe0970338dd168b772ffd16f0ec5 /recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-lvds.dtsi | |
parent | b472b869f73e6b7ba1d5ea51c4b1d583a3e28f35 (diff) | |
parent | 9b00edfbc0222db721833118b2aef778f548d2e4 (diff) |
Merge branch 'master' of freebsd:base/meta-bsp-rvphone-sumo
Diffstat (limited to 'recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-lvds.dtsi')
-rw-r--r-- | recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-lvds.dtsi | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-lvds.dtsi b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-lvds.dtsi new file mode 100644 index 0000000..457b0cb --- /dev/null +++ b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-lvds.dtsi @@ -0,0 +1,87 @@ +&iomuxc { + rvphone-cl-imx8-lvds { + pinctrl_dsi_lvds: dsilvdsgrp { + fsl,pins = < + MX8MQ_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x16 + >; + }; + }; +}; + +&i2c2 { + ti_bridge: sn65dsi83@2c { + compatible = "ti,sn65dsi83"; + reg = <0x2c>; + ti,dsi-lanes = <1>; + ti,lvds-format = <1>; + ti,lvds-bpp = <24>; + ti,width-mm = <149>; + ti,height-mm = <93>; + enable-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_dsi_lvds>; + status = "okay"; + + display-timings { + lvds { + clock-frequency = <30000000>; + hactive = <800>; + vactive = <480>; + hback-porch = <46>; + hfront-porch = <210>; + vback-porch = <23>; + vfront-porch = <22>; + hsync-len = <20>; + vsync-len = <10>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <0>; + pixelclk-active = <0>; + }; + }; + + port { + sn65dsi83_in: endpoint { + remote-endpoint = <&mipi_dsi_bridge_out>; + }; + }; + }; +}; + +&mipi_dsi_bridge { + status = "okay"; + + port@1 { + mipi_dsi_bridge_out: endpoint { + remote-endpoint = <&sn65dsi83_in>; + }; + }; +}; + +&lcdif { + status = "okay"; + max-res = <1920>, <1200>; + + port@0 { + lcdif_mipi_dsi: mipi-dsi-endpoint { + remote-endpoint = <&mipi_dsi_in>; + }; + }; +}; + +&mipi_dsi_phy { + status = "okay"; +}; + +&mipi_dsi { + status = "okay"; + as_bridge; + sync-pol = <1>; + pwr-delay = <10>; + + port@1 { + mipi_dsi_in: endpoint { + remote-endpoint = <&lcdif_mipi_dsi>; + }; + }; +}; |