Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx51-babbage: Fix the DVI output description

imx51-babbage has a TFP410 chip that receives 24-bit RGB parallel
input and convert it to DVI.

Fix the device tree description to reflect the real hardware.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
ec1c3638 e1af0048

+49 -15
+49 -15
arch/arm/boot/dts/imx51-babbage.dts
··· 58 58 59 59 display1: disp1 { 60 60 compatible = "fsl,imx-parallel-display"; 61 + #address-cells = <1>; 62 + #size-cells = <0>; 61 63 interface-pix-fmt = "rgb24"; 62 64 pinctrl-names = "default"; 63 65 pinctrl-0 = <&pinctrl_ipu_disp1>; 64 - display-timings { 65 - native-mode = <&timing0>; 66 - timing0: dvi { 67 - clock-frequency = <65000000>; 68 - hactive = <1024>; 69 - vactive = <768>; 70 - hback-porch = <220>; 71 - hfront-porch = <40>; 72 - vback-porch = <21>; 73 - vfront-porch = <7>; 74 - hsync-len = <60>; 75 - vsync-len = <10>; 66 + 67 + port@0 { 68 + reg = <0>; 69 + 70 + display0_in: endpoint { 71 + remote-endpoint = <&ipu_di0_disp1>; 76 72 }; 77 73 }; 78 74 79 - port { 80 - display0_in: endpoint { 81 - remote-endpoint = <&ipu_di0_disp1>; 75 + port@1 { 76 + reg = <1>; 77 + 78 + parallel_display_out: endpoint { 79 + remote-endpoint = <&tfp410_in>; 82 80 }; 83 81 }; 84 82 }; ··· 109 111 port { 110 112 display1_in: endpoint { 111 113 remote-endpoint = <&ipu_di1_disp2>; 114 + }; 115 + }; 116 + }; 117 + 118 + dvi-connector { 119 + compatible = "dvi-connector"; 120 + digital; 121 + 122 + port { 123 + dvi_connector_in: endpoint { 124 + remote-endpoint = <&tfp410_out>; 125 + }; 126 + }; 127 + }; 128 + 129 + dvi-encoder { 130 + compatible = "ti,tfp410"; 131 + 132 + ports { 133 + #address-cells = <1>; 134 + #size-cells = <0>; 135 + 136 + port@0 { 137 + reg = <0>; 138 + 139 + tfp410_in: endpoint { 140 + remote-endpoint = <&parallel_display_out>; 141 + }; 142 + }; 143 + 144 + port@1 { 145 + reg = <1>; 146 + 147 + tfp410_out: endpoint { 148 + remote-endpoint = <&dvi_connector_in>; 149 + }; 112 150 }; 113 151 }; 114 152 };