|
发表于 2019-8-20 01:41:20
只看该作者
6#
不知道是不是要修改timing。
设置了HDMI的timng,lvds就只显示背光了,没有画面。设置为lvds的timing就正常,但是画面不是720p了
- &disp_timings {
- native-mode = <&timing0>; // timing0 如果是HDMI的配置,LVDS 就不显示
- };
- &rk_screen {
- display-timings = <&disp_timings>;
- };
- &lcdc {
- status = "okay";
- rockchip,fb-win-map = <FB0_WIN0_FB1_WIN1_FB2_WIN2>;
-
- power_ctr: power_ctr {
- rockchip,debug = <0>;
- lcd_en: lcd_en {
- rockchip,power_type = <GPIO>;
- gpios = <&gpio0 GPIO_D0 GPIO_ACTIVE_HIGH>;
- rockchip,delay = <10>;
- };
-
- lcd_cs:lcd_cs {
- rockchip,power_type = <GPIO>;
- gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_LOW>;
- rockchip,delay = <10>;
- };
- };
- };
- &hdmi {
- status = "okay";
- rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC0>;
- rockchip,defaultmode = <4>;
- };
- &lvds {
- status = "okay";
- pinctrl-names = "lcdc";
- pinctrl-0 = <&lcdc0_lcdc_d>;
- };
复制代码 |
|