|
发表于 2019-5-15 14:46:40
浏览:8383
|
回复:4
打印
只看该作者
[复制链接]
楼主
rk3128点lvds和hdmi;不接hdmi开机,lvds屏幕不会花图;接上hdmi开机,第一个图片后hdmi和lvds都花图,安卓开机logo又正常。是不是检测到hdmi后显示被影响到了
dts配置如下
&fb {
rockchip,disp-mode = <ONE_DUAL>;
rockchip,disp-policy = <DISPLAY_POLICY_SDK>;
rockchip,uboot-logo-on = <1>;
};
&disp_timings {
native-mode = <&timing0>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&lvds {
status = "okay";
pinctrl-names = "lcdc";
pinctrl-0 = <&lcdc0_lcdc_d>;
};
&lcdc {
status = "okay";
//rockchip,fb-win-map = <FB0_WIN0_FB1_WIN1_FB2_WIN2>;
backlight = <&backlight>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&lcdc0_lcdc>;
pinctrl-1 = <&lcdc0_gpio>;
srockchip,fb-win-map = <FB_DEFAULT_ORDER>;
power_ctr: power_ctr {
rockchip,debug = <0>;
lcd_en: lcd_en {
rockchip,power_type = <GPIO>;
gpios = <&gpio1 GPIO_B4 GPIO_ACTIVE_HIGH>;
rockchip,delay = <50>;
};
/* lcd_rst:lcd_rst {
rockchip,power_type = <GPIO>;
gpios = <&gpio0 GPIO_D0 GPIO_ACTIVE_HIGH>;
rockchip,delay = <30>;
};
*/
};
};
&hdmi {
status = "okay";
rockchip,hdmi_audio_source = <1>;
};
|
|