1. 程式人生 > >rk3128 lcd 驅動除錯記錄

rk3128 lcd 驅動除錯記錄

                      &lcdc {
                                 status = "okay";

                                 backlight = <&backlight>;
                                 pinctrl-names = "default", "gpio";
                                 pinctrl-0 = <&lcdc0_lcdc>;
                                 pinctrl-1 = <&lcdc0_gpio>;

                                 rockchip,fb-win-map = <FB_DEFAULT_ORDER>;
                                 power_ctr: power_ctr {
                                         rockchip,debug = <0>;
                                         lcd_cs: lcd_cs {
                                                 rockchip,power_type = <GPIO>;
                                                 gpios = <&gpio1 GPIO_B4 GPIO_ACTIVE_HIGH>;
                                                 rockchip,delay = <10>;
                                         };

                                         lcd_rst:lcd_rst{
                                                 rockchip,power_type = <GPIO>;
                                                 gpios = <&gpio0 GPIO_D0 GPIO_ACTIVE_LOW>;
                                                 rockchip,delay = <20>;
                                          };
        
                                          lcd_en:lcd_en {
                                                  rockchip,power_type = <GPIO>;
                                                  gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
                                                  rockchip,delay = <20>;
                                           };
                                   };
                          };