diff options
author | Robert Chiras <robert.chiras@nxp.com> | 2018-07-13 10:53:50 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:32:39 +0800 |
commit | 93d97709b2aec52d45a7e864f58e54883a5d24b6 (patch) | |
tree | 896f239d6569b11f7d6519a84e32b60f136f12c6 /arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dual-display.dts | |
parent | 68ed3871806b9f5b10eff41b1992e06f1d1fd2de (diff) |
MLK-18877-3: arm64: dts: imx8mq: Refactor dts files
Currently, there are a lot of dts bindings duplicated into many files
because of the multiple possible use-cases.
Still, some bindings can be defined in a single file, then re-used in
each specific dts file, with the required specific scenario changes.
Therefore:
1. Move the adv7535 (DSI-HDMI converter) and synaptics_dsx_ts (DSI touch)
definitions to fsl-imx8mq-evk.dts file.
2. Removed the max-res binding from the main dtsi file. This is a
limitation and should NOT be present in the main definition of lcdif.
Use this limitation only in specific dts files which requires such
limitations. For example in the dual-display.dts file, where the lcdif
is used along with the dcss; lcdif has to be limited because of the low
bandwidth when used in the same time with dcss.
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dual-display.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dual-display.dts | 63 |
1 files changed, 9 insertions, 54 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dual-display.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dual-display.dts index c62dba2b6af9..e1d60f65580c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dual-display.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dual-display.dts @@ -12,72 +12,27 @@ * GNU General Public License for more details. */ -#include "fsl-imx8mq-evk.dts" - -&lcdif { - status = "okay"; - - port@0 { - lcdif_mipi_dsi: mipi-dsi-endpoint { - remote-endpoint = <&mipi_dsi_in>; - }; - }; -}; - -&i2c1 { - adv_bridge: adv7535@3d { - compatible = "adi,adv7533"; - reg = <0x3d>; - adi,addr-cec = <0x3b>; - adi,dsi-lanes = <4>; - pinctrl-0 = <&pinctrl_i2c1_dsi_ts_int>; - interrupt-parent = <&gpio5>; - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; +#include "fsl-imx8mq-evk-lcdif-adv7535.dts" +/ { + display-subsystem { status = "okay"; - - port { - adv7535_in: endpoint { - remote-endpoint = <&mipi_dsi_bridge_adv>; - }; - }; }; }; -&mipi_dsi_phy { +&irqsteer_dcss { status = "okay"; }; -&mipi_dsi { +&dcss { status = "okay"; - as_bridge; - sync-pol = <1>; - pwr-delay = <10>; - - port@1 { - mipi_dsi_in: endpoint { - remote-endpoint = <&lcdif_mipi_dsi>; - }; - }; }; -&mipi_dsi_bridge { +&hdmi { status = "okay"; - - port@1 { - mipi_dsi_bridge_adv: endpoint { - remote-endpoint = <&adv7535_in>; - }; - }; }; -&iomuxc { - imx8mq-evk { - pinctrl_i2c1_dsi_ts_int: dsi_ts_int { - fsl,pins = < - MX8MQ_IOMUXC_ECSPI1_MOSI_GPIO5_IO7 0x19 - >; - }; - - }; +&lcdif { + status = "okay"; + max-res = <1280>, <720>; }; |