|
发表于 2016-8-17 23:33:42
只看该作者
7#
继续gogo
修改timing配置和添加屏使能脚:
&disp_timings {
- native-mode = <&timing1>;
+ native-mode = <&timing0>;
};
-------------------------------太开心了,终于有找到的了,改之,放开注释,信心似乎恢复了。。。
&rk_screen {
@@ -611,6 +611,29 @@
status = "okay";
rockchip,iommu-enabled = <1>;
rockchip,prop = <PRMRY>;
-------------------------------差别很大啊,幸好看到下面回复说有不一致,不知道提问大神是否修改最终成功否,回复的修改是另外一个节点,没有说rk_screen是否要修改,先保留吧,新增之,
+ power_ctr: power_ctr {
+ rockchip,debug = <1>;
+
+ lcd_en:lcd_en {
+ rockchip,power_type = <GPIO>;
+ gpios = <&gpio0 GPIO_B5 GPIO_ACTIVE_HIGH>;
+ rockchip,delay = <10>;
+ };
+
+ /*
+ lcd_cs:lcd_cs {
+ rockchip,power_type = <GPIO>;
+ gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
+ rockchip,delay = <10>;
+ };
+ lcd_rst:lcd_rst {
+ rockchip,power_type = <GPIO>;
+ gpios = <&gpio5 GPIO_C1 GPIO_ACTIVE_LOW>;
+ rockchip,delay = <0>;
+ };
+ */
+};
+
};
新增
&lcdc0 {
status = "okay";
rockchip,iommu-enabled = <1>;
rockchip,prop = <PRMRY>;
power_ctr: power_ctr {
rockchip,debug = <1>;
lcd_en:lcd_en {
rockchip,power_type = <GPIO>;
gpios = <&gpio0 GPIO_B5 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
/*
lcd_cs:lcd_cs {
rockchip,power_type = <GPIO>;
gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
lcd_rst:lcd_rst {
rockchip,power_type = <GPIO>;
gpios = <&gpio5 GPIO_C1 GPIO_ACTIVE_LOW>;
rockchip,delay = <0>;
};
*/
};
}; |
|