本帖最后由 gkeith 于 2017-12-25 15:30 编辑
又打扰大家了…. 在mipi调屏中发现输出reset和enable二讯号皆无电压(正常应为High) 确认kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-edp.dts文件中设定如下, 有需要修正的地方?又或者还有其它文件需要变更? power_ctr: power_ctr { rockchip,debug = <0>; lcd_en: lcd-en { gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; pinctrl-names ="default"; pinctrl-0 = <&lcd_panel_enable>; rockchip,delay =<10>; }; lcd_rst: lcd-rst { gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&lcd_panel_reset>; rockchip,delay =<6>; }; }; ===================================================
&pinctrl { lcd-panel { lcd_panel_reset:lcd-panel-reset { rockchip,pins = <4 29 RK_FUNC_GPIO &pcfg_pull_up>; }; lcd_panel_enable:lcd-panel-enable { rockchip,pins = <1 1 RK_FUNC_GPIO &pcfg_pull_up>; }; }; };
|