- 1
- 2
- 3
- 4
- 5
RK3288 MIPI配置教程
资料介绍
Deconfig 配置 在 arch/arm/configs/rk3288_defconfig 添加配置: CONFIG_LCD_MIPI=y CONFIG_MIPI_DSI=y CONFIG_RK32_MIPI_DSI=y dts 引脚配置 引脚配置放在 arch/arm/boot/dts/rk3288.dts 中的 lcdc0 子节点 power_ctr 中,分别有电源使能引脚 lcd_en、片选引脚 lcd_cs,复位引脚 lcd_rst,可以 根据显示屏做修改和删减。 如: 673 power_ctr: power_ctr { 674 rockchip,debug = <0>; 675 lcd_en:lcd_en { 676 rockchip,power_type = <GPIO>; 677 gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>; 678 rockchip,delay = <10>; 679 }; 680 681 lcd_cs:lcd_cs { 682 rockchip,power_type = <GPIO>; 683 gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>; 684 rockchip,delay = <10>; 685 }; 686 687 /*lcd_rst:lcd_rst { 688 rockchip,power_type = <GPIO>; 689 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>; 690 rockchip,delay = <5>; 691 };*/ 驱动配置 新建 DTS 配置文件 在 arch/arm/boot/dts/目录中新建 dst 配置文件,如 lcd-xxx-mipi.dtsi。 添加 DTS 文件 在 arch/arm/boot/dts/ rk3288.dts 中添加#include "lcd-xxx-mipi.dtsi",如 果原来 include 了其他屏的 DTS 配置,注释掉它们。 添加背光节点信息 在 lcd-xxx-mipi.dtsi 中添加背光节点信息。
部分文件列表
文件名 | 大小 |
RK3288_MIPI配置教程.pdf | 291K |
全部评论(0)