导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. andy123
    A
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 209
    • 主题 2
    • 帖子 4
    • 最佳 0
    • 群组 0

    andy123LV 3

    @andy123

    209
    积分
    0
    声望
    2
    资料浏览
    4
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    andy123 取消关注 关注

    andy123 发布的最新帖子

    • aw869a wifi模块没有调通,insmod 报错。请教各位大佬,我是芯片是t113s3

      18f5e667-2579-4e13-bdb1-ebe072af5395-image.png
      b922a3ee-7ab8-43db-950e-63f56bf938b1-image.png
      设备树代码

      &soc {
      	leds {
                      compatible = "gpio-leds";
      				status = "okay";
                      gpio_pb6 {
                              label = "GPIO_PB6";
                              gpios = <&pio PB 6 GPIO_ACTIVE_HIGH>; /* PB6 */
      						        // 初始状态:设为on(触发模式需要LED先开启)
             					default-state = "on";
             					// 核心:指定默认触发模式为heartbeat
             					linux,default-trigger = "heartbeat";
         						 };
      
          	};
      	card0_boot_para@2 {
      		/*
      		 * Avoid dtc compiling warnings.
      		 * @TODO: Developer should modify this to the actual value
      		 */
      		reg = <0x0 0x2 0x0 0x0>;
      		device_type = "card0_boot_para";
      		card_ctrl = <0x0>;
      		card_high_speed = <0x1>;
      		card_line = <0x4>;
      		pinctrl-0 = <&sdc0_pins_a>;
      	};
      
      	card2_boot_para@3 {
      		/*
      		 * Avoid dtc compiling warnings.
      		 * @TODO: Developer should modify this to the actual value
      		 */
      		reg = <0x0 0x3 0x0 0x0>;
      		device_type = "card2_boot_para";
      		card_ctrl = <0x2>;
      		card_high_speed = <0x1>;
      		card_line = <0x4>;
      		pinctrl-0 = <&sdc2_pins_a>;
      		/*pinctrl-0 = <&sdc0_pins_a>;*/
      		/*sdc_ex_dly_used = <0x2>;*/
      		sdc_io_1v8 = <0x1>;
      		/*sdc_type = "tm4";*/
      		sdc_tm4_hs200_max_freq = <150>;
      		sdc_tm4_hs400_max_freq = <100>;
      		sdc_ex_dly_used = <2>;
      		/*sdc_tm4_win_th = <8>;*/
      		/*sdc_dis_host_caps = <0x180>;*/
      	};
      
      	rfkill: rfkill@0 {
      		compatible    = "allwinner,sunxi-rfkill";
      		chip_en;
      		power_en;
      		pinctrl-0 ;
      		pinctrl-names;
      		status        = "okay";
      
      		wlan: wlan@0 {
      			compatible    = "allwinner,sunxi-wlan";
      			clock-names ;
      			clocks;
      			wlan_power = "axp2202‑aldo3", "axp2202‑bldo1"; /* vcc‑pl/vcc‑pg/vcc‑pm */
          	 	// wlan_power_vol= <3300000>, <1800000>;
      			wlan_busnum    = <0x1>;
      			// wlan_regon    = <&pio PE 3 GPIO_ACTIVE_HIGH>;
      			wlan_hostwake  = <&pio PG 10 GPIO_ACTIVE_HIGH>;
      			/*wlan_power    = "VCC-3V3";*/
      			wlan_power_vol = <3300000>;
      			/*interrupt-parent = <&pio>;
      			interrupts = < PG 10 IRQ_TYPE_LEVEL_HIGH>;*/
      
      			chip_en;                              /*启用模块*/
          		power_en;                             /*启用 Wi-Fi 电源*/
          		status        = "okay";               /*启用这个节点*/
      			wakeup-source;
      
      		};
      
      		bt: bt@0 {
      			compatible    = "allwinner,sunxi-bt";
      			clock-names ;
      			clocks ;
      			/*bt_power_num = <0x01>;*/
      			/*bt_power      = "axp803-dldo1";*/
      			/*bt_io_regulator = "axp803-dldo1";*/
      			/*bt_io_vol = <3300000>;*/
      			bt_power_vol = <3300000>;
      			bt_power = "axp2202‑aldo3", "axp2202‑bldo1"; /* vcc‑pl/vcc‑pg/vcc‑pm */
      			// bt_power_vol= <3300000>, <1800000>;
      			// bt_rst_n      = <&pio PE 2 GPIO_ACTIVE_LOW>;
      			status        = "okay";
      		};
      	};
      
      	btlpm: btlpm@0 {
      		compatible  = "allwinner,sunxi-btlpm";
      		uart_index  = <0x1>;
      		// bt_wake     = <&pio PE 1 GPIO_ACTIVE_HIGH>;
      		bt_hostwake = <&pio PG 11 GPIO_ACTIVE_HIGH>;
      		wakeup-source;
      		status      = "okay";
      	};
      
      	addr_mgt: addr_mgt@0 {
      		compatible     = "allwinner,sunxi-addr_mgt";
      		type_addr_wifi = <0x0>;
      		type_addr_bt   = <0x0>;
      		type_addr_eth  = <0x0>;
      		status         = "okay";
      	};
      };
      
      发布在 T Series
      A
      andy123
    • 回复: T113S3 mipi800x1280屏幕无法点亮

      @tivon 谢谢您的回复,请问您是指要修改屏幕驱动芯片寄存器配置吗

      发布在 T Series
      A
      andy123
    • 回复: T113S3 mipi800x1280屏幕无法点亮

      f53ca7ec-9cac-4280-8440-781682b58f3c-image.png
      我这里还有这个问题

      发布在 T Series
      A
      andy123
    • T113S3 mipi800x1280屏幕无法点亮

      目前来看时序已经正常了,但屏幕死活点不亮
      9f3051a0-48ae-4338-943b-5d9e1aed8c8c-77b2718d5568539d0bc61ca4ed7efe75.png

      这是我的设备树

      &lcd0 {
      	lcd_used            = <1>;
      	lcd_driver_name     = "tft08006";
      	lcd_backlight       = <200>;
      	lcd_if              = <4>;
      
      	lcd_x               = <800>;
      	lcd_y               = <1280>;
      	lcd_width           = <151>;
      	lcd_height          = <94>;
      	lcd_dclk_freq       = <72>;
      
      	lcd_pwm_used        = <1>;
      	lcd_pwm_ch          = <7>;
      	lcd_pwm_freq        = <50000>;
      	lcd_pwm_pol         = <0>;
      	lcd_pwm_max_limit   = <255>;
      
      	lcd_hbp             = <40>;
      	lcd_ht              = <900>;
      	lcd_hspw            = <20>;
      	lcd_vbp             = <14>;
      	lcd_vt              = <1328>;
      	lcd_vspw            = <4>;
      
      	lcd_dsi_lane        = <4>;
      	lcd_lvds_if         = <0>;
      	lcd_lvds_colordepth = <1>;
      	lcd_lvds_mode       = <0>;
      	lcd_frm             = <0>;
      	lcd_io_phase        = <0x0000>;
      	lcd_gamma_en        = <0>;
      	lcd_bright_curve_en = <0>;
      	lcd_cmap_en         = <0>;
      	lcd_fsync_act_time  = <1000>;
      	lcd_fsync_dis_time  = <1000>;
      	
      	deu_mode            = <0>;
      	lcdgamma4iep        = <22>;
      	smart_color         = <90>;
      
      	lcd_dsi_if			= <0>;
      	lcd_dsi_format		= <0>;
      	lcd_dsi_te			= <1>;
      	lcd_dsi_eotp		= <0>;
      
      	pinctrl-0 = <&dsi4lane_pins_a>;
      	pinctrl-1 = <&dsi4lane_pins_b>;
      	// lcd_gpio_0 = <&pio PD 22 GPIO_ACTIVE_HIGH>;	
      };
      
      &dsi4lane_pins_a {
      	allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
      	allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
      	allwinner,function = "dsi4lane";
      	allwinner,muxsel = <4>;
      	allwinner,drive = <3>;
      	allwinner,pull = <0>;
      };
      
      &dsi4lane_pins_b {
      	allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
      	allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9";
      	allwinner,function = "dsi4lane_suspend";
      	allwinner,muxsel = <7>;
      	allwinner,drive = <1>;
      	allwinner,pull = <0>;
      };
      

      我在思考有没有可能是我的驱动代码问题,有没有大佬帮忙指点一下

      发布在 T Series
      A
      andy123