I'm using customized LCD (1024*600)
Display signal : imx8mq(mipi_dsi) ->> sn65dsi (lvds) ->> LCD
How can I change fb0 video mode resolution ?
evk_8mq:/ # cat /sys/class/graphics/fb0/modes
U:1200x1920p-0
So, now only displayed partial screen of android full screen (1920*1200)
What driver or dts .. can I modify???
I want to display android image on 1024*600 LCD.
my dts file is below
&dcss {
status = "okay";
disp-dev = "mipi_disp";
dcss_disp0: port@0 {
reg = <0>;
dcss_disp0_mipi_dsi: mipi_dsi {
remote-endpoint = <&mipi_dsi_in>;
};
};
};
&mipi_dsi_phy {
status = "okay";
};
&mipi_dsi {
status = "okay";
assigned-clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF_SRC>,
<&clk IMX8MQ_CLK_DSI_CORE_SRC>,
<&clk IMX8MQ_VIDEO_PLL1_REF_SEL>,
<&clk IMX8MQ_VIDEO_PLL1>;
assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>,
<&clk IMX8MQ_SYS1_PLL_266M>,
<&clk IMX8MQ_CLK_25M>;
assigned-clock-rates = <24000000>,
<266000000>,
<0>,
<599999999>;
port@1 {
mipi_dsi_in: endpoint {
remote-endpoint = <&dcss_disp0_mipi_dsi>;
};
};
};
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";
sn65dsi:sn65dsi8x@2c{
compatible = "ti,sn65dsi8x"; /* instantiate the dsi85 driver */
reg = <0x2c>;
status = "okay";
};
}
&mipi_dsi_bridge {
status = "okay";
panel@0 {
//compatible = "raydium,rm67191";
compatible = "ti,panel-sn65dsi8x";
reg = <0>;
pinctrl-0 = <&pinctrl_mipi_dsi_en>;
reset-gpio = <&gpio5 6 GPIO_ACTIVE_HIGH>;
dsi-lanes = <4>;
panel-width-mm = <68>;
panel-height-mm = <121>;
//target = <&i2c2>;
device_en = <&gpio5 6 GPIO_ACTIVE_HIGH>;
backlight = <&lvds_backlight0>;
client-device = <&sn65dsi>;
port {
panel1_in: endpoint {
remote-endpoint = <&mipi_dsi_bridge_out>;
};
};
};
port@1 {
mipi_dsi_bridge_out: endpoint {
remote-endpoint = <&panel1_in>;
};
};
};