mq-r t113 开启gt9xx触摸屏不生效上电报错日志,
-
mq-r t113 开启gt9xx触摸屏不生效上电报错日志,有大佬帮忙看看吗?
MQ-R 触摸屏挂在iic2 ,原理图
/device/config/chips/t113/configs/evb1_auto/board.dts 配置如下,不确定PB2 PB3这样配置对不对
&twi2 { clock-frequency = <400000>; pinctrl-0 = <&twi2_pins_a>; pinctrl-1 = <&twi2_pins_b>; pinctrl-names = "default", "sleep"; /*twi_drv_used = <1>; */ dmas = <&dma 45>, <&dma 45>; dma-names = "tx", "rx"; status = "okay"; ctp@14 { compatible = "allwinner,goodix"; device_type = "ctp"; reg = <0x14>; status = "okay"; ctp_name = "gt9xxnew_ts"; ctp_twi_id = <0x2>; ctp_twi_addr = <0x14>; ctp_screen_max_x = <0x320>; ctp_screen_max_y = <0x1E0>; ctp_revert_x_flag = <0x0>; ctp_revert_y_flag = <0x0>; ctp_exchange_x_y_flag = <0x0>; ctp_int_port = <&pio PB 3 GPIO_ACTIVE_HIGH>; ctp_wakeup = <&pio PB 2 GPIO_ACTIVE_HIGH>; }; };
[ 5.020379] hub 2-0:1.0: USB hub found [ 5.024809] hub 2-0:1.0: 1 port detected [ 5.072298] get ctp_power is fail, -22 [ 5.076654] get ctp_power_ldo_vol is fail, -22 [ 5.081656] sunxi_ctp_startup: ctp_power_io is invalid. [ 5.087588] get ctp_gesture_wakeup fail, no gesture wakeup [ 5.093781] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator [ 5.102580] wakeup gpio_request is failed [ 5.107079] startup:ctp_ops.input_sensor_init err. [ 5.112480] can not startup device! [ 5.116395] regulator-dummy: Underflow of regulator enable count [ 5.123165] regulator-dummy: Underflow of regulator enable count [ 5.130121] gt9xxnew_ts: probe of 2-0014 failed with error -1 [ 5.147897] vin_csi 5801000.csi: Adding to iommu group 0 [ 5.229924] sunxi-vin-core 5809000.vinc: Adding to iommu group 0 [ 5.253641] sunxi-vin-core 5809200.vinc: Adding to iommu group 0 [ 5.282072] [VIN_WARN]get csi isp clk fail [ 5.286750] [VIN_WARN]get csi isp src clk fail [ 5.291737] [VIN_WARN]get csi mipi clk fail [ 5.296453] [VIN_WARN]get csi mipi src clk fail [ 5.301570] [VIN_WARN]get csi isp clk fail [ 5.306197] [VIN_WARN]Get isp reset control fail
已找到报错的对应代码
-
已解决,引脚重复配置的问题,把PB2重复的地方去掉就可以
-
我的也是无法生效,能说一下PB2在哪里重复了吗?我没有查到。
-
@wankle 我也遇到了这个问题,你解决了吗?
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号