rk3399搭配1200*1920mipi屏和触摸
mipi屏dts配置
&dsi {
status = “okay”;
panel {
compatible =”simple-panel-dsi”;
reg = <0>;
backlight = ;
enable-gpios = ;
dsi,flags =
MIPI_DSI_MODE_VIDEO_SYNC_PULSE)>;
dsi,format = ;
dsi,lanes = <4>;
status = “okay”;
display-timings {
native-mode = ;
timing0: timing0 {
clock-frequency = <145500000>;
hactive = <1200>;
vactive = <1920>;
hback-porch = <66>;
hfront-porch = <64>;
vback-porch = <10>;
vfront-porch = <16>;
hsync-len = <10>;
vsync-len = <3>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
};
触摸屏dts配置:
gt9xx@5d {
status = “okay”;
compatible = “videostrong,gt9xx”;
reg = <0x5d>;
touch-gpio = ;
reset-gpio = ;
tp-size=<911>;
// max-x = <1024>;
// max-y = <600>;
max-x = <1200>;
max-y = <1920>;
};