Colibri Imx7 512MB V1.1D
Viola Rev 1.2
Linux BSP: 6.1.112
root@colibri-imx7-07049009:~# cat /proc/version
Linux version 6.1.112-6.8.0-devel+git.aa4cd140bba5 (oe-user@oe-host) (arm-tdx-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708)
I am not able to change display resolution [Current : 640x480 Required: 800x480]
I have made change into /home/{User}/linux/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
bharat@bharat-Latitude-3490:~/linux$ git diff /home/bharat/linux/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
index 326440f2b4f4…3ddd0fa16dd7 100644
— a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
@@ -26,7 +26,7 @@ &atmel_mxt_ts {
interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 / INT /
pinctrl-0 = <&pinctrl_atmel_adapter>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; / SODIMM 30 / RST */
-
status = "disabled";
-
status = "okay";
};
/* Colibri SSP /
@@ -65,13 +65,13 @@ &pwm1 {
/ Colibri PWM /
&pwm2 {
/ The pwm2 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
-
status = "okay";
-
status = "disabled";
};
/* Colibri PWM /
&pwm3 {
/ The pwm3 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
-
status = "okay";
-
status = "disabled";
};
/* Colibri PWM */
@@ -109,3 +109,141 @@ &usbotg1 {
&usdhc1 {
status = “okay”;
};
+
+&lcdif {
-
display = <&display0>;
-
status = "okay";
-
display0: lcd-display {
-
bits-per-pixel = <16>;
-
bus-width = <18>;
-
display-timings {
-
native-mode = <&timing_rgb_24bit>;
-
/* Standard VGA timing */
-
timing_vga: 640x480 {
-
clock-frequency = <25175000>;
-
hactive = <640>;
-
vactive = <480>;
-
hback-porch = <40>;
-
hfront-porch = <24>;
-
vback-porch = <32>;
-
vfront-porch = <11>;
-
hsync-len = <96>;
-
vsync-len = <2>;
-
de-active = <1>;
-
hsync-active = <0>;
-
vsync-active = <0>;
-
pixelclk-active = <0>;
-
};
-
/* WVGA Timing, e.g. EDT ET070080DH6 */
-
timing_wvga: 800x480-60 {
-
clock-frequency = <33260000>;
-
hactive = <800>;
-
vactive = <480>;
-
hback-porch = <216>;
-
hfront-porch = <40>;
-
vback-porch = <35>;
-
vfront-porch = <10>;
-
hsync-len = <128>;
-
vsync-len = <2>;
-
de-active = <1>;
-
hsync-active = <0>;
-
vsync-active = <0>;
-
pixelclk-active = <0>;
-
};
-
/* WVGA Timing, TouchRevolution Fusion 7" */
-
timing_wvga2: 800x480pixclkact {
-
clock-frequency = <33260000>;
-
hactive = <800>;
-
vactive = <480>;
-
hback-porch = <216>;
-
hfront-porch = <40>;
-
vback-porch = <35>;
-
vfront-porch = <10>;
-
hsync-len = <128>;
-
vsync-len = <2>;
-
de-active = <1>;
-
hsync-active = <0>;
-
vsync-active = <0>;
-
pixelclk-active = <1>;
-
};
-
/* Standard SVGA timing */
-
timing_svga: 800x600 {
-
clock-frequency = <40000000>;
-
hactive = <800>;
-
vactive = <600>;
-
hback-porch = <88>;
-
hfront-porch = <40>;
-
vback-porch = <23>;
-
vfront-porch = <1>;
-
hsync-len = <128>;
-
vsync-len = <4>;
-
de-active = <1>;
-
hsync-active = <1>;
-
vsync-active = <1>;
-
pixelclk-active = <0>;
-
};
-
/* TouchRevolution Fusion 10"/CLAA101NC05 10.1 inch */
-
timing_wsvga: 1024x600 {
-
clock-frequency = <48000000>;
-
hactive = <1024>;
-
vactive = <600>;
-
hback-porch = <104>;
-
hfront-porch = <43>;
-
vback-porch = <24>;
-
vfront-porch = <20>;
-
hsync-len = <5>;
-
vsync-len = <5>;
-
de-active = <1>;
-
hsync-active = <0>;
-
vsync-active = <0>;
-
pixelclk-active = <0>;
-
};
-
/* Standard XGA timing */
-
timing_xga: 1024x768 {
-
clock-frequency = <65000000>;
-
hactive = <1024>;
-
vactive = <768>;
-
hback-porch = <160>;
-
hfront-porch = <24>;
-
vback-porch = <29>;
-
vfront-porch = <3>;
-
hsync-len = <136>;
-
vsync-len = <6>;
-
de-active = <1>;
-
hsync-active = <0>;
-
vsync-active = <0>;
-
pixelclk-active = <0>;
-
};
-
/* New Parallel 24-bit RGB Interface Timing */
-
timing_rgb_24bit: 800x480 {
-
clock-frequency = <25000000>;
-
hactive = <800>;
-
vactive = <480>;
-
hback-porch = <8>;
-
hfront-porch = <8>;
-
hsync-len = <4>;
-
vback-porch = <8>;
-
vfront-porch = <8>;
-
vsync-len = <4>;
-
de-active = <1>;
-
hsync-active = <0>;
-
vsync-active = <0>;
-
pixelclk-active = <0>;
-
};
-
};
-
};
+};
After deploying changes
root@colibri-imx7-07049009:~# fbset
mode “640x480-0”
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 640 480 640 480 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
root@colibri-imx7-07049009:~#
Output of printenv
vidargs=video=mxcfb0:dev=lcd,800x480M@60 //This I have changed from 640x480
videomode=video=ctfb:x:640,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0