导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    mq-r t113 开启gt9xx触摸屏不生效上电报错日志,

    其它全志芯片讨论区
    3
    4
    2678
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • H
      huanian LV 4 最后由 编辑

      mq-r t113 开启gt9xx触摸屏不生效上电报错日志,有大佬帮忙看看吗?

      MQ-R 触摸屏挂在iic2 ,原理图
      55173b20-6712-470c-b11a-5b4a9f1e3738-image.png

      /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
      
      

      已找到报错的对应代码
      QQ图片20220907114312.png QQ图片20220907114241.png

      1 条回复 最后回复 回复 引用 分享 0
      • H
        huanian LV 4 最后由 编辑

        已解决,引脚重复配置的问题,把PB2重复的地方去掉就可以

        1 条回复 最后回复 回复 引用 分享 0
        • W
          wankle LV 2 最后由 编辑

          我的也是无法生效,能说一下PB2在哪里重复了吗?我没有查到。

          T 1 条回复 最后回复 回复 引用 分享 0
          • T
            theOldFisherMan LV 3 @wankle 最后由 编辑

            @wankle 我也遇到了这个问题,你解决了吗?

            1 条回复 最后回复 回复 引用 分享 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策