您尚未登录。

楼主 # 2022-11-10 16:56:47

rtqq
会员
注册时间: 2022-07-02
已发帖子: 11
积分: 11

全志V831芯片移植ac108驱动

使用V831芯片 移植AC108驱动时,启动时daudio probe失败,内核驱动已经勾选上,芯片的I2C_probe成功,报错,求各位大佬帮忙看看

[    2.227781] ac108 2-003b: i2c probe succeed.
[    2.228361] --->sunxi_daudio_dev_probe<--- strat.
[    2.228488] sunxi-daudio daudio0: regulator missing or invalid
[    2.228605] --->sunxi_daudio_dev_probe<--- end.

内核是4.9,board.dts如下

/*
 * Allwinner Technology CO., Ltd. sun8iw19p1 soc board.
 *
 * soc board support.
 */

/dts-v1/;

#include "sun8iw19p1.dtsi"

/{
	dram: dram {
		dram_clk = <0x000001e0>;
		dram_type = <0x00000003>;
		dram_zq = <0x00003bfb>;
		dram_odt_en = <0x00000001>;
		dram_para1 = <0x004310f2>;
		dram_para2 = <0x02000000>;
		dram_mr0 = <0x00001c70>;
		dram_mr1 = <0x00000000>;
		dram_mr2 = <0x00000018>;
		dram_mr3 = <0x00000000>;
		dram_tpr0 = <0x0046190d>;
		dram_tpr1 = <0x0121210a>;
		dram_tpr2 = <0x0005403b>;
		dram_tpr3 = <0x00002006>;
		dram_tpr4 = <0x05040405>;
		dram_tpr5 = <0x05050302>;
		dram_tpr6 = <0x90006644>;
		dram_tpr7 = <0x42c21590>;
		dram_tpr8 = <0xd05612c0>;
		dram_tpr9 = <0x00083def>;
		dram_tpr10 = <0x00000000>;
		dram_tpr11 = <0x00210000>;
		dram_tpr12 = <0x00000055>;
		dram_tpr13 = <0x00006003>;
	};

	opp_dvfs_table:opp_dvfs_table {
		cluster_num = <1>;
		opp_table_count = <1>;

		cpu_opp_l_table0: opp_l_table0 {
			compatible = "allwinner,opp_l_table0";
			opp_count = <2>;
			opp-shared;

			opp00 {
				opp-hz = /bits/ 64 <600000000>;
				opp-microvolt = <900000>;
				axi-bus-divide-ratio = <3>;
				clock-latency-ns = <2000000>;
			};

			opp01 {
				opp-hz = /bits/ 64 <816000000>;
				opp-microvolt = <900000>;
				axi-bus-divide-ratio = <3>;
				clock-latency-ns = <2000000>;
			};
		};
	};
	soc@03000000 {
		pinctrl@0300b000 {

			twi0_pins_a: twi0@0 {
				allwinner,pins = "PI3", "PI4";
				allwinner,pname = "twi0_scl", "twi0_sda";
				allwinner,function = "twi0";
				allwinner,muxsel = <5>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			twi0_pins_b: twi0@1 {
				allwinner,pins = "PI3", "PI4";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			twi1_pins_a: twi1@0 {
				allwinner,pins = "PI1", "PI2";
				allwinner,pname = "twi1_scl", "twi1_sda";
				allwinner,function = "twi1";
				allwinner,muxsel = <5>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			twi1_pins_b: twi1@1 {
				allwinner,pins = "PI1", "PI2";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			twi2_pins_a: twi2@0 {
				allwinner,pins = "PH11", "PH12";
				allwinner,pname = "twi2_scl", "twi2_sda";
				allwinner,function = "twi2";
				allwinner,muxsel = <5>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			twi2_pins_b: twi2@1 {
				allwinner,pins = "PH11", "PH12";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			spi0_pins_a: spi0@0 {
				allwinner,pins = "PC0", "PC2", "PC3",
						"PC5", "PC4";
				allwinner,pname = "spi0_sclk", "spi0_mosi",
						  "spi0_miso", "spi0_hold", "spi0_wp";
				allwinner,function = "spi0";
				allwinner,muxsel = <4>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			spi0_pins_b: spi0@1 {
				allwinner,pins = "PC1", "PC6";
				allwinner,pname = "spi0_cs0", "spi0_cs1";
				allwinner,function = "spi0";
				allwinner,muxsel = <4>;
				allwinner,drive = <1>;
				allwinner,pull = <1>; 	// only CS should be pulled up
			};

			spi0_pins_c: spi0@2 {
				allwinner,pins = "PC0", "PC1", "PC2", "PC3",
						"PC4", "PC5", "PC6";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			spi1_pins_a: spi1@0 {
				allwinner,pins = "PH0", "PH1", "PH2";
				allwinner,pname = "spi1_sclk", "spi1_mosi",
						  "spi1_miso";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <4>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			spi1_pins_b: spi1@1 {
				allwinner,pins = "PH3";
				allwinner,pname = "spi1_cs0";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <4>;
				allwinner,drive = <1>;
				allwinner,pull = <1>; // only CS should be pulled up
			};

			spi1_pins_c: spi1@2 {
				allwinner,pins = "PH0", "PH1", "PH2", "PH3";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			sdc0_pins_a: sdc0@0 {
				allwinner,pins = "PF0", "PF1", "PF2", "PF3",
						"PF4", "PF5";
				allwinner,function = "sdc0";
				allwinner,muxsel = <2>;
				allwinner,drive = <3>;
				allwinner,pull = <1>;
			};

			sdc0_pins_b: sdc0@1 {
				allwinner,pins = "PF0", "PF1", "PF2", "PF3",
						"PF4", "PF5";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			sdc1_pins_a: sdc1@0 {
				allwinner,pins = "PG0", "PG1", "PG2", "PG3",
						"PG4", "PG5";
				allwinner,function = "sdc1";
				allwinner,muxsel = <2>;
				allwinner,drive = <3>;
				allwinner,pull = <1>;
			};

			owc0_pins_a: owc0@0 {
				allwinner,pins = "PH4";
				allwinner,pname = "owc0";
				allwinner,function = "owc0";
				allwinner,muxsel = <5>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			owc0_pins_b: owc0_sleep@0 {
				allwinner,pins = "PH4";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};
			pwm0_pins_a: pwm0@0 {
				allwinner,pins = "PH0";
				allwinner,pname = "pwm0_positive";
				allwinner,function = "pwm0";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm0_pins_b: pwm0@1 {
				allwinner,pins = "PH0";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm1_pins_a: pwm1@0 {
				allwinner,pins = "PH1";
				allwinner,pname = "pwm1_positive";
				allwinner,function = "pwm1";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm1_pins_b: pwm1@1 {
				allwinner,pins = "PH1";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm2_pins_a: pwm2@0 {
				allwinner,pins = "PH2";
				allwinner,pname = "pwm2_positive";
				allwinner,function = "pwm2";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm2_pins_b: pwm2@1 {
				allwinner,pins = "PH2";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm3_pins_a: pwm3@0 {
				allwinner,pins = "PH3";
				allwinner,pname = "pwm3_positive";
				allwinner,function = "pwm3";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm3_pins_b: pwm3@1 {
				allwinner,pins = "PH3";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm4_pins_a: pwm4@0 {
				allwinner,pins = "PH4";
				allwinner,pname = "pwm4_positive";
				allwinner,function = "pwm4";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm4_pins_b: pwm4@1 {
				allwinner,pins = "PH4";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			// pwm5_pins_a: pwm5@0 {
			// 	allwinner,pins = "PH5";
			// 	allwinner,pname = "pwm5_positive";
			// 	allwinner,function = "pwm5";
			// 	allwinner,muxsel = <2>;
			// 	allwinner,drive = <1>;
			// 	allwinner,pull = <0>;
			// };

			// pwm5_pins_b: pwm5@1 {
			// 	allwinner,pins = "PH5";
			// 	allwinner,function = "io_disabled";
			// 	allwinner,muxsel = <7>;
			// 	allwinner,drive = <1>;
			// 	allwinner,pull = <0>;
			// };

			pwm6_pins_a: pwm6@0 {
				allwinner,pins = "PH6";
				allwinner,pname = "pwm6_positive";
				allwinner,function = "pwm6";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm6_pins_b: pwm6@1 {
				allwinner,pins = "PH6";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm7_pins_a: pwm7@0 {
				allwinner,pins = "PH7";
				allwinner,pname = "pwm7_positive";
				allwinner,function = "pwm7";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm7_pins_b: pwm7@1 {
				allwinner,pins = "PH7";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm8_pins_a: pwm8@0 {
				allwinner,pins = "PH8";
				allwinner,pname = "pwm8_positive";
				allwinner,function = "pwm8";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm8_pins_b: pwm8@1 {
				allwinner,pins = "PH8";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};
			
			pwm9_pins_a: pwm9@0 {
				allwinner,pins = "PH9";
				allwinner,pname = "pwm9_positive";
				allwinner,function = "pwm9";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			pwm9_pins_b: pwm9@1 {
				allwinner,pins = "PH9";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			rgb8_pins_a: rgb8@0 {
				allwinner,pins = "PD1", "PD2", "PD3", "PD4", "PD5", "PD6",
						"PD7", "PD8", "PD18", "PD19", "PD20";
				allwinner,pname = "lcdd3", "lcdd4", "lcdd5", "lcdd6", "lcdd7",
						"lcdd10", "lcdd11", "lcdd12", "lcdclk", "lcdde",
							"lcdhsync";
				allwinner,function = "lcd0";
				allwinner,muxsel = <2>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};

			rgb8_pins_b: rgb8@1 {
				allwinner,pins = "PD1", "PD2","PD3","PD4","PD5","PD6",
						"PD7","PD8","PD18","PD19","PD20";
				allwinner,function = "io_disabled";
				allwinner,muxsel = <7>;
				allwinner,drive = <1>;
				allwinner,pull = <0>;
			};
		};

		gpadc:gpadc{
			channel_num = <1>;
			channel_select = <0x01>;
			channel_data_select = <0>;
			channel_compare_select = <0x01>;
			channel_cld_select = <0x01>;
			channel_chd_select = <0x01>;
			channel0_compare_lowdata = <1700000>;
			channel0_compare_higdata = <1200000>;
			key_cnt =  <2>;
			key0_vol = <0>;
			key0_val = <2>; /* KEY_1 */
			key1_vol = <160>;
			key1_val = <3>; /* KEY_2 */
			status = "okay";
		};

		uart1: uart@05000400 {
			compatible = "allwinner,sun8i-uart";
			device_type = "uart1";
			reg = <0x0 0x05000400 0x0 0x400>;
			interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clk_uart1>;
			pinctrl-names = "default", "sleep";
			pinctrl-0 = <&uart1_pins_a>;
			pinctrl-1 = <&uart1_pins_b>;
			uart1_port = <1>;
			uart1_type = <4>;
			status = "okay";
		};

		// uart3: uart@05000c00 {
		// 	compatible = "allwinner,sun8i-uart";
		// 	device_type = "uart3";
		// 	reg = <0x0 0x05000c00 0x0 0x400>;
		// 	interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
		// 	clocks = <&clk_uart3>;
		// 	pinctrl-names = "default", "sleep";
		// 	pinctrl-0 = <&uart3_pins_a>;
		// 	pinctrl-1 = <&uart3_pins_b>;
		// 	uart3_port = <3>;
		// 	uart3_type = <4>;
		// 	status = "okay";
		// };

		twi0: twi@0x05002000{
			pinctrl-0 = <&twi0_pins_a>;
			pinctrl-1 = <&twi0_pins_b>;
			twi_drv_used = <1>;
			status = "disable";
		};

		twi1: twi@0x05002400{
			pinctrl-0 = <&twi1_pins_a>;
			pinctrl-1 = <&twi1_pins_b>;
			clock-frequency = <400000>;
			status = "okay";
		};

		twi2: twi@0x05002800{
			pinctrl-0 = <&twi2_pins_a>;
			pinctrl-1 = <&twi2_pins_b>;
			clock-frequency = <400000>;
			status = "okay";
			ac108: ac108@3b{
				#sound-dai-cells = <0>;
				compatible = "Allwinner,MicArray_0";
				reg = <0x3b>;
				regulator_used = <0x0>;
				power_voltage = <3300000>;
				regulator_name = "vcc-3v3";
				power_gpio_used = <0x0>;
				reset_gpio_used = <0x0>;
				twi_bus = <0x1>;
				pga_gain = <0x1F>;
				slot_width = <0x20>;
				lrck_period = <0x80>;
				ref_pga_used = <0x1>;
				ref_pga_gain = <0x10>;
				ref_channel = <0x3>;
				debug_mode = <0x0>;
				status = "okay";
				
			};

		//	ac108: ac108@35{
		//		compatible = "Allwinner,MicArray_1";
		//		reg = <0x35>;
		//		regulator_used = <0x0>;
		//		power_voltage = <3300000>;
		//		regulator_name = "vcc-3v3";
		//		power_gpio_used = <0x0>;
		//		reset_gpio_used = <0x0>;
		//		twi_bus = <0x1>;
		//		pga_gain = <0x1F>;
		//		slot_width = <0x20>;
		//		lrck_period = <0x80>;
		//		ref_pga_used = <0x1>;
		//		ref_pga_gain = <0x10>;
		//		ref_channel = <0x3>;
		//		debug_mode = <0x0>;
		//		status = "okay";
		//	};
		};

		spi@05010000 {
			pinctrl-0 = <&spi0_pins_a &spi0_pins_b>;
			pinctrl-1 = <&spi0_pins_c>;
			status = "disable";
			spi_board0 {
				device_type = "spi_board0";
				compatible = "m25p80";
				spi-max-frequency = <0x5f5e100>;
				reg = <0x0>;
				spi-rx-bus-width = <0x1>;
				spi-tx-bus-width = <0x1>;
			};
		};

	//	spi@05011000 {
	//		#address-cells = <1>;
	//		#size-cells = <0>;
	//		reg = <0x0 0x05011000 0x0 0x1000>;
	//		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
	//		clocks = <&clk_pll_periph0>, <&clk_spi1>;
	//		clock-frequency = <200000000>;
	//		pinctrl-names = "default", "sleep";
	//		pinctrl-0 = <&spi1_pins_b>;
	//		pinctrl-1 = <&spi1_pins_c>;
	//		spi1_cs_number = <2>;
	//		spi1_cs_bitmap = <3>;
	//		status = "okay";
	//		spi_board1 {
	//			device_type = "spi_board1";
	//			compatible = "spidev";
	//			spi-max-frequency = <0x5f5e100>;
	//			reg = <0x0>;
	//			spi-rx-bus-width = <0x1>;
	//			spi-tx-bus-width = <0x1>;
	//		};
	//	};

		vind0:vind@0 {
			vind0_clk = <270000000>;
			vind0_isp = <200000000>;
			status = "okay";

			actuator0:actuator@0 {
				device_type = "actuator0";
				actuator0_name = "ad5820_act";
				actuator0_slave = <0x18>;
				actuator0_af_pwdn = <>;
				actuator0_afvdd = "afvcc-csi";
				actuator0_afvdd_vol = <2800000>;
				status = "disabled";
			};
			flash0:flash@0 {
				device_type = "flash0";
				flash0_type = <2>;
				flash0_en = <>;
				flash0_mode = <>;
				flash0_flvdd = "";
				flash0_flvdd_vol = <>;
				device_id = <0>;
				status = "disabled";
			};
			sensor0:sensor@0 {
				device_type = "sensor0";
				// sensor0_mname = "ov9732_mipi";
				sensor0_mname = "sp2305_mipi";
				sensor0_twi_cci_id = <1>;
				// sensor0_twi_addr = <0x6c>;
				sensor0_twi_addr = <0x78>;
				sensor0_mclk_id = <0>;
				sensor0_pos = "rear";
				sensor0_isp_used = <1>;
				sensor0_fmt = <1>;
				sensor0_stby_mode = <0>;
				sensor0_vflip = <0>;
				sensor0_hflip = <0>;
				sensor0_iovdd-supply = <>;
				sensor0_iovdd_vol = <1800000>;
				sensor0_avdd-supply = <>;
				sensor0_avdd_vol = <2800000>;
				sensor0_dvdd-supply = <>;
				sensor0_dvdd_vol = <1200000>;
				sensor0_power_en = <>;
				/* board error, we can not use the right config. */
				sensor0_reset = <&pio PE 16 1 0 1 0>;
				sensor0_pwdn = <&pio PE 17 1 0 1 0>;
				status	= "okay";
			};
			sensor1:sensor@1 {
				device_type = "sensor1";
				sensor1_mname = "ov5647";
				sensor1_twi_cci_id = <0>;
				sensor1_twi_addr = <0x6c>;
				sensor1_mclk_id = <1>;
				sensor1_pos = "front";
				sensor1_isp_used = <0>;
				sensor1_fmt = <0>;
				sensor1_stby_mode = <0>;
				sensor1_vflip = <0>;
				sensor1_hflip = <0>;
				sensor1_iovdd-supply = <>;
				sensor1_iovdd_vol = <2800000>;
				sensor1_avdd-supply = <>;
				sensor1_avdd_vol = <2800000>;
				sensor1_dvdd-supply = <>;
				sensor1_dvdd_vol = <1500000>;
				sensor1_power_en = <>;
				sensor1_reset = <&pio PI 3 1 0 1 0>;
				sensor1_pwdn = <&pio PI 4 1 0 1 0>;
				status	= "disabled";
			};
			vinc0:vinc@0 {
				vinc0_csi_sel = <0>;
				vinc0_mipi_sel = <0>;
				vinc0_isp_sel = <0>;
				vinc0_isp_tx_ch = <0>;
				vinc0_rear_sensor_sel = <0>;
				vinc0_front_sensor_sel = <0>;
				vinc0_sensor_list = <0>;
				status = "okay";
			};
			vinc1:vinc@1 {
				vinc1_csi_sel = <0>;
				vinc1_mipi_sel = <0>;
				vinc1_isp_sel = <0>;
				vinc1_isp_tx_ch = <0>;
				vinc1_rear_sensor_sel = <0>;
				vinc1_front_sensor_sel = <0>;
				vinc1_sensor_list = <0>;
				status = "okay";
			};
			vinc2:vinc@2 {
				vinc2_csi_sel = <0>;
				vinc2_mipi_sel = <0>;
				vinc2_isp_sel = <0>;
				vinc2_isp_tx_ch = <0>;
				vinc2_rear_sensor_sel = <0>;
				vinc2_front_sensor_sel = <0>;
				vinc2_sensor_list = <0>;
				status = "disabled";
			};
			vinc3:vinc@3 {
				vinc3_csi_sel = <1>;
				vinc3_mipi_sel = <0xff>;
				vinc3_isp_sel = <1>;
				vinc3_isp_tx_ch = <0>;
				vinc3_rear_sensor_sel = <1>;
				vinc3_front_sensor_sel = <1>;
				vinc3_sensor_list = <0>;
				status = "disabled";
			};
		};
		s_owc0: s_owc@07040400 {
			pinctrl-0 = <&owc0_pins_a>;
			pinctrl-1 = <&owc0_pins_b>;
			status = "okay";
		};

		sdc0: sdmmc@04020000 {
			pinctrl-0 = <&sdc0_pins_a>;
			bus-width = <4>;
			// cd-gpios = <&pio PF 6 0 1 3 0xffffffff>;
			non-removable;
			card-pwr-gpios;// = <&pio PC 4 1 1 2 0xffffffff>;
			sunxi-power-save-mode;
			sunxi-signal-vol-sw-without-pmu;
			sd-uhs-sdr50;
			sd-uhs-ddr50;
			sd-uhs-sdr104;
			/*sunxi-dis-signal-vol-sw;*/
			max-frequency = <150000000>;
			min-frequency = <100000>;
			cd-used-24M;
			no-sdio;
			/*broken-cd;*/
			ctl-spec-caps = <0x8>;
			status = "okay";
		};

		card0_boot_para {
			device_type = "card0_boot_para";
			card_ctrl = <0x0>;
			card_high_speed = <0x1>;
			card_line = <0x4>;
			time_pwroff_ms = <200>;
			pinctrl-1 = <&sdc0_pins_b>;
			card-pwr-gpios;// = <&pio PC 4 1 1 2 0xffffffff>;
			status = "okay";
		};

		sdc1: sdmmc@04021000 {
			pinctrl-0 = <&sdc1_pins_a>;
			bus-width = <4>;
			/*sunxi-power-save-mode;*/
			/*sd-uhs-sdr12*/
			/*sd-uhs-sdr25*/
			/*sd-uhs-sdr50*/
			/*sd-uhs-sdr104*/
			/*sunxi-dis-signal-vol-sw;*/
			cap-sdio-irq;
			keep-power-in-suspend;
			ignore-pm-notify;
			max-frequency = <50000000>;
			status = "okay";
		};

		usbc0:usbc0@0{
			usb_port_type = <0>;
			usb_detect_type = <0>;
			usb_detect_mode = <0>;
			usb_id_gpio;
			usb_det_vbus_gpio;
			usb_drv_vbus_gpio;
			usb_host_init_state = <0>;
			status = "okay";
		};

		disp: disp@01000000 {
			disp_init_enable		= <1>;
			disp_mode				= <0>;

			screen0_output_type		= <1>;
			screen0_output_mode		= <4>;

			disp_rotation_used 		= <1>;
			degree0					= <0>;
			fb0_format				= <8>;
			fb0_width				= <240>;
			fb0_height				= <240>;
			// fb0_height				= <320>;

			lcd0_backlight			= <50>;
			lcd0_bright				= <50>;
			lcd0_contrast			= <50>;
			lcd0_saturation			= <57>;
			lcd0_hue				= <50>;
		};

		lcd0: lcd0@01c0c000 {
			lcd_used            = <1>;

			lcd_size			= "1.3";
			lcd_model_name		= "inv";
			lcd_driver_name     = "st7789v_cpu";

			lcd_x               = <240>;
			lcd_y               = <240>;
			lcd_width           = <108>;
			lcd_height          = <64>;
			lcd_dclk_freq       = <10>;

			lcd_backlight       = <50>;

			lcd_pwm_used        = <0>;
			lcd_pwm_ch          = <1>;
			lcd_pwm_freq        = <50000>;
			lcd_pwm_pol         = <1>;
			lcd_pwm_max_limit   = <255>;

			lcd_hbp             = <60>;
			lcd_ht              = <298>;
			lcd_hspw            = <30>;
			lcd_vbp             = <250>;
			lcd_vt              = <265>;
			lcd_vspw            = <2>;

			lcd_if              = <1>;
			lcd_frm             = <2>;
			lcd_cpu_mode        = <1>;
			lcd_cpu_te          = <0>;
			lcd_cpu_if	        = <14>;

			lcd_io_phase        = <0x0000>;
			lcdgamma4iep        = <22>;
			lcd_gamma_en        = <0>;
			lcd_cmap_en         = <0>;
			lcd_bright_curve_en = <0>;
			lcd_rb_swap			= <0>;

			lcd_gpio_0 = <&pio PH 5 1 0 3 0>; /* rst */
			lcd_gpio_1 = <&pio PD 21 1 0 3 0>; /* cs */

			pinctrl-0 = <&rgb8_pins_a>;
			pinctrl-1 = <&rgb8_pins_b>;
		};

		daudio0:daudio@0x05090000 {
			mclk_div = <0x0>;
			frametype = <0x00>;
			tdm_config = <0x01>;
			sign_extend = <0x00>;
			tx_data_mode = <0x00>;
			rx_data_mode = <0x00>;
			msb_lsb_first = <0x00>;
			pcm_lrck_period = <0x80>;
			slot_width_select = <0x20>;
			asrc_function_en = <0x00>;
			daudio_master =  <0x04>;
			signal_inversion =  <0x01>;
			audio_format =  <0x01>;
			status = "okay";
			

		};

		daudio1:daudio@0x05091000 {
			mclk_div = <0x01>;
			frametype = <0x00>;
			tdm_config = <0x01>;
			sign_extend = <0x00>;
			tx_data_mode = <0x00>;
			rx_data_mode = <0x00>;
			msb_lsb_first = <0x00>;
			pcm_lrck_period = <0x80>;
			slot_width_select = <0x20>;
			status = "disabled";
		};

		codec:codec@0x05096000 {
			pa_level = <0x1>;
			main_gain = <0x17>;
			adcdrc_cfg = <0x00>;
			adchpf_cfg = <0x01>;
			dacdrc_cfg = <0x01>;
			dachpf_cfg = <0x00>;
			digital_vol = <0x00>;
			lineout_vol = <0x1f>;
			pa_msleep_time = <0xa0>;
			/* gpio-spk = <&pio PH 14 1 1 1 1>; */
			status = "okay";
		};

		sndcodec:sound@0 {
			status = "okay";
		};

		snddaudio0:sound@1 {
			sunxi,snddaudio-codec = "ac108.2-0035";
			sunxi,snddaudio-codec-dai = "ac108-pcm1";
			status = "okay";

			snddaudio-codec,cpu{
				sound-dai = <&daudio0>;
			};
			daudio2_master:simple-audio-card.codec{
				sound-dai = <&ac108>;
			};
		};

		snddaudio1:sound@2 {
			audio_format = <0x01>;
			daudio_master = <0x04>;
			signal_inversion = <0x01>;
			status = "disabled";
		};
	};

	//wlan:wlan {
	//	compatible = "allwinner,sunxi-wlan";
	//	clocks = <&clk_losc_out>;
	//	wlan_busnum = <1>;
	//	wlan_usbnum = <3>;
	//	wakeup_source = <0>;
//
//		/* wlan_power-supply = <&reg_dcdc1>; */
//		/* io_regulator-supply = <&reg_dcdc5>; */
//
//		/* wlan_power_vol = <3300000>; */
//		/* io_regulator_vol = <3300000>; */
//
//		/* wlan_en; */
//		wlan_regon = <&pio PH 4 1 0 1 0>;
//		/* wlan_hostwake = <&pio PG 7 0 0 1 0>; */
//		wlan_hostwake;
//		status = "okay";
//	};
};

离线

楼主 #1 2022-11-10 16:57:54

rtqq
会员
注册时间: 2022-07-02
已发帖子: 11
积分: 11

Re: 全志V831芯片移植ac108驱动

启动日志如下:

[32]HELLO! BOOT0 is starting!
[35]BOOT0 commit : e3b2a9e
[38]board init start
[40]set pll start
[42]set pll end
[44][pmu]: bus read error
[46][pmu]: bus read error
[49]board init ok
[51]chip id check OK
[53]DRAM BOOT DRIVE INFO: V0.41
[56]DRAM CLK = 528 MHz
[58]DRAM Type = 2 (2:DDR2,3:DDR3)
[61]DRAMC read ODT  off.
[64]DRAM ODT off.
[66]DRAM SIZE =64 M
[72]DRAM simple test OK.
[74]rtc standby flag is 0x0, super standby flag is 0x0
[79]dram size =64
[82]card no is 0
[84]sdcard 0 line count 4
[86][mmc]: mmc driver ver 2020-01-08 17:05
[90][mmc]: sdc0 spd mode error, 2
[93][mmc]: set f_max to 50M, set f_max_ddr to 25M
[98][mmc]: mmc 0 bias 0
[106][mmc]: Wrong media type 0x0
[109][mmc]: ***Try SD card 0***
[120][mmc]: HSSDR52/SDR25 4 bit
[123][mmc]: 50000000 Hz
[125][mmc]: 7680 MB
[127][mmc]: ***SD/MMC 0 init OK!!!***
[190]Loading boot-pkg Succeed(index=0).
[194]Entry_name        = optee
[197]Entry_name        = u-boot
[203]Entry_name        = dtb
[206]Jump to second Boot.
MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-14-gf6954e7 #1 2019年 11月 21日 星期四 01:34:42 UTC arm
ERROR:   [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node
ERROR:   [0x0] TEE-CORE:sunxi_twi_parse_from_dt:84: no pmu node


U-Boot 2018.05-00008-g384031a (Jan 16 2020 - 14:12:41 +0800) Allwinner Technology

[00.278]CPU:   Allwinner Family
[00.281]Model: sun8iw19
I2C:   ready
[00.285]DRAM:  64 MiB
[00.288]Relocation Offset is: f9f46000
[00.309]secure enable bit: 0
[00.312]pmu_axp152_probe pmic_bus_read fail
[00.316]pmu_axp2101_probe pmic_bus_read fail
[00.320]bmu_axp152_probe pmic_bus_read fail
[00.324]bmu_axp2101_probe pmic_bus_read fail
[00.328]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=132Mhz
[00.334]gic: sec monitor mode
[00.337]flash init start
[00.339]workmode = 0,storage type = 1
[00.342]MMC:     0
[00.344]get mem for descripter OK !

card_caps:0x3000000a
host_caps:0x3000003f
[00.374]sunxi flash init ok
[00.377]Loading Environment from SUNXI_FLASH... OK
[00.400]update dts
root_partition is rootfs
set root to /dev/mmcblk0p3
[00.429]update part info
[00.455]update bootcmd
[00.457]No ethernet found.
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at 45000000 ...
   Image Name:   ARM OpenWrt Linux-4.9.118
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2932432 Bytes = 2.8 MiB
   Load Address: 40008000
   Entry Point:  40008000
[01.830]Starting kernel ...

[01.832]mmc 2 not find, so not exit
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.118 (tina@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #20 PREEMPT Thu Nov 10 07:04:28 UTC 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: sun8iw19
[    0.000000] ion_mem_reserve: err format for ion reserve list!
[    0.000000] cma: Reserved 4 MiB at 0x43c00000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c04bc018, node_mem_map c3b77000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p3 rootwait init=/pseudo_init rdinit=/rdinit partitions=env@mmcblk0p1:boot@mmcblk0p2:rootfs@mmcblk0p3:swap@mmcblk0p4:UDISK@mmcblk0p5 cma=4M mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=16K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw19p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-00008-g384031a(01/16/2020-14:12:41) mbr_offset=1032192 bootreason=unknow
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 55480K/65536K available (3095K kernel code, 235K rwdata, 1192K rodata, 136K init, 129K bss, 5960K reserved, 4096K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf800000 - 0xc0000000   (   8 MB)
[    0.000000]       .text : 0xc0008000 - 0xc030e088   (3097 kB)
[    0.000000]       .init : 0xc0460000 - 0xc0482000   ( 136 kB)
[    0.000000]       .data : 0xc0482000 - 0xc04bcc18   ( 236 kB)
[    0.000000]        .bss : 0xc04bcc18 - 0xc04dd204   ( 130 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000137] Console: colour dummy device 80x30
[    0.000159] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000171] pid_max: default: 32768 minimum: 301
[    0.000322] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000333] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000840] CPU: Testing write buffer coherency: ok
[    0.001087] Setting up static identity map for 0x400081c0 - 0x4000820c
[    0.002330] devtmpfs: initialized
[    0.025166] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.025491] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.025516] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.025808] atomic64_test: passed
[    0.025820] pinctrl core: initialized pinctrl subsystem
[    0.026598] NET: Registered protocol family 16
[    0.027727] DMA: preallocated 16 KiB pool for atomic coherent allocations
[    0.028955] dump_class_init,857, success
[    0.031717] sunxi iommu: irq = 23
[    0.035530] sun8iw19p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.048606] use hosc , set rate 1000000
[    0.048632] sun8iw19p1-pinctrl pio: initialized sunXi PIO driver
[    0.050962] iommu: Adding device 1c0e000.ve to group 0
[    0.051819] iommu: Adding device 2300000.eise to group 0
[    0.058348] iommu: Adding device 1000000.disp to group 0
[    0.059557] iommu: Adding device 1480000.g2d to group 0
[    0.060888] iommu: Adding device 2400000.nna to group 0
[    0.063715] iommu: Adding device csi0 to group 0
[    0.064204] iommu: Adding device csi1 to group 0
[    0.065738] iommu: Adding device 2100000.isp to group 0
[    0.066720] iommu: Adding device 2104000.scaler to group 0
[    0.067039] iommu: Adding device 2104400.scaler to group 0
[    0.067350] iommu: Adding device 2104800.scaler to group 0
[    0.067796] iommu: Adding device 2104c00.scaler to group 0
[    0.068483] iommu: Adding device vinc0 to group 0
[    0.069066] iommu: Adding device vinc1 to group 0
[    0.111494] pwm module init!
[    0.114772] SCSI subsystem initialized
[    0.115114] usbcore: registered new interface driver usbfs
[    0.115193] usbcore: registered new interface driver hub
[    0.117467] usbcore: registered new device driver usb
[    0.117725] sunxi_i2c_adap_init()2551 - init
[    0.118251] sunxi_i2c_probe()2288 - [i2c1] twi_drv_used = 1
[    0.118265] sunxi_i2c_probe()2292 - [i2c1] twi_pkt_interval = 0
[    0.118282] twi1 supply twi not found, using dummy regulator
[    0.118381] twi_request_gpio()455 - [i2c1] init name: twi1
[    0.118663] sunxi_i2c_dma_request()1125 - [i2c1] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers
[    0.119054] sunxi_i2c_probe()2288 - [i2c2] twi_drv_used = 1
[    0.119067] sunxi_i2c_probe()2292 - [i2c2] twi_pkt_interval = 0
[    0.119084] twi2 supply twi not found, using dummy regulator
[    0.119147] twi_request_gpio()455 - [i2c2] init name: twi2
[    0.119787] sunxi_i2c_dma_request()1125 - [i2c2] using dma0chan2 (tx) and dma0chan3 (rx)for DMA transfers
[    0.120459] media: Linux media interface: v0.10
[    0.120595] Linux video capture interface: v2.00
[    0.121723] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[    0.121973] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000
[    0.122148] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.123320] Advanced Linux Sound Architecture Driver Initialized.
[    0.126415] G2D: rcq version initialized.major:251
[    0.127212] clocksource: Switched to clocksource arch_sys_counter
[    0.146430] udc_init,0
[    0.146587] NET: Registered protocol family 2
[    0.147767] TCP established hash table entries: 16 (order: -6, 64 bytes)
[    0.147782] TCP bind hash table entries: 16 (order: -6, 64 bytes)
[    0.147791] TCP: Hash tables configured (established 16 bind 16)
[    0.147851] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.147872] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.148021] NET: Registered protocol family 1
[    0.150588] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.164411] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.164809] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.167718] NET: Registered protocol family 38
[    0.167766] io scheduler noop registered
[    0.167774] io scheduler deadline registered
[    0.168030] io scheduler cfq registered (default)
[    0.168807] [DISP]disp_module_init
[    0.195631] [DISP] Fb_copy_boot_fb,line:1503:
[    0.195644] no boot_fb0
[    0.196081] rotation hw function is configed to zero degree
[    0.198833] [DISP] disp_sys_pwm_config,line:618:
[    0.198845] disp_sys_pwm_Config, handle is NULL!
[    0.198854] [DISP] disp_sys_pwm_set_polarity,line:636:
[    0.198859] disp_sys_pwm_Set_Polarity, handle is NULL!
[    0.200064] [DISP]disp_module_init finish
[    0.201917] uart uart0: get regulator failed
[    0.201944] uart0 supply uart not found, using dummy regulator
[    0.202120] uart uart0: uart0 error to get fifo size property
[    0.202174] uart0: ttyS0 at MMIO 0x5000000 (irq = 294, base_baud = 1500000) is a SUNXI
[    0.202200] sw_console_setup()1830 - console setup baud 115200 parity n bits 8, flow n
[    0.328484] [ST7789V LCD INFO] LINE:0208-->LCD_panel_init:
[    0.328492] [ST7789V LCD INFO] LINE:0225-->lcd_panel_st7789v_init:
[    0.854127] [DISP] disp_lcd_pwm_enable,line:959:
[    0.854128] pwm device hdl is NULL
[    0.854139] [DISP] disp_device_attached_and_enable,line:221:
[    0.854140] attached ok, mgr0<-->dev0
[    0.854149] [DISP] disp_device_attached_and_enable,line:224:
[    0.854150] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
[    1.158414] console [ttyS0] enabled
[    1.163030] uart uart1: get regulator failed
[    1.168034] uart1 supply uart not found, using dummy regulator
[    1.174817] uart uart1: uart1 error to get fifo size property
[    1.181390] uart1: ttyS1 at MMIO 0x5000400 (irq = 295, base_baud = 1500000) is a SUNXI
[    1.191337] misc dump reg init
[    1.196935] libphy: Fixed MDIO Bus: probed
[    1.202547] sun8iw19p1-pinctrl pio: expect_func as:gmac0, but muxsel(5) is func:ephy
[    1.211624] sun8iw19p1-pinctrl pio: pin PD1 already requested by soc@03000000:lcd0@01c0c000; cannot claim for 5020000.eth
[    1.224163] sun8iw19p1-pinctrl pio: pin-97 (5020000.eth) status -22
[    1.231275] sun8iw19p1-pinctrl pio: could not request pin 97 (PD1) from group PD1  on device pio
[    1.241215] sunxi-gmac 5020000.eth: Error applying setting, reverse things back
[    1.249492] sunxi-gmac: probe of 5020000.eth failed with error -22
[    1.256684] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.264421] get drv_vbus is fail, 84
[    1.268503] get ehci0-controller, regulator_io is no nocare
[    1.274802] get ehci0-controller wakeup-source is fail.
[    1.280870] sunxi ehci0-controller don't init wakeup source
[    1.287168] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc04d7658, 0x:c48dd000, irq_no:12c
[    1.299437] sunxi-ehci 5101000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.309697] sunxi-ehci 5101000.ehci0-controller: new USB bus registered, assigned bus number 1
[    1.319650] sunxi-ehci 5101000.ehci0-controller: irq 300, io mem 0xc3661800
[    1.357235] sunxi-ehci 5101000.ehci0-controller: USB 0.0 started, EHCI 1.00
[    1.366005] hub 1-0:1.0: USB hub found
[    1.370470] hub 1-0:1.0: 1 port detected
[    1.375179] [ehci0-controller]: sunxi_usb_disable_ehci
[    1.381046] [sunxi-ehci0]: remove, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc04d7658
[    1.390888] sunxi-ehci 5101000.ehci0-controller: remove, state 1
[    1.397732] usb usb1: USB disconnect, device number 1
[    1.404596] sunxi-ehci 5101000.ehci0-controller: USB bus 1 deregistered
[    1.412758] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.420170] get drv_vbus is fail, 84
[    1.424194] get ohci0-controller, regulator_io is no nocare
[    1.430564] get ohci0-controller wakeup-source is fail.
[    1.436601] sunxi ohci0-controller don't init wakeup source
[    1.443070] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc04d6e08
[    1.452875] sunxi-ohci 5101000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    1.462739] sunxi-ohci 5101000.ohci0-controller: new USB bus registered, assigned bus number 1
[    1.472518] sunxi-ohci 5101000.ohci0-controller: irq 301, io mem 0xc3661c00
[    1.552145] hub 1-0:1.0: USB hub found
[    1.556586] hub 1-0:1.0: 1 port detected
[    1.561341] [ohci0-controller]: sunxi_usb_disable_ohci
[    1.567123] [sunxi-ohci0]: remove, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc04d6e08
[    1.576985] sunxi-ohci 5101000.ohci0-controller: remove, state 1
[    1.583825] usb usb1: USB disconnect, device number 1
[    1.590219] sunxi-ohci 5101000.ohci0-controller: USB bus 1 deregistered
[    1.598509] usbcore: registered new interface driver uas
[    1.604830] usbcore: registered new interface driver usb-storage
[    1.611818] usbcore: registered new interface driver ums-alauda
[    1.618785] usbcore: registered new interface driver ums-cypress
[    1.625773] usbcore: registered new interface driver ums-datafab
[    1.632716] usbcore: registered new interface driver ums_eneub6250
[    1.639881] usbcore: registered new interface driver ums-freecom
[    1.646873] usbcore: registered new interface driver ums-isd200
[    1.653756] usbcore: registered new interface driver ums-jumpshot
[    1.660903] usbcore: registered new interface driver ums-karma
[    1.667754] usbcore: registered new interface driver ums-onetouch
[    1.674856] usbcore: registered new interface driver ums-realtek
[    1.681805] usbcore: registered new interface driver ums-sddr09
[    1.688720] usbcore: registered new interface driver ums-sddr55
[    1.695598] usbcore: registered new interface driver ums-usbat
[    1.702350] usb_serial_number:20080411
[    1.706907] sunxi_gpadc_init,1831, success
[    1.712230] sunxi_gpadc_setup: get channel scan data failed
[    1.718920] input: sunxi-gpadc0 as /devices/virtual/input/input0
[    1.726961] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    1.734124] sunxi-rtc rtc: RTC enabled
[    1.738867] i2c /dev entries driver
[    1.743456] sunxi cedar version 0.1
[    1.747735] VE: install start!!!
[    1.747735]
[    1.753203] cedar_ve: cedar-ve the get irq is 291
[    1.758696] VE: line 1811 set the sram data
[    1.758696]
[    1.765516] VE: ve_debug_proc_info:c04d98d0, data:c368c000, lock:c04d9958
[    1.765516]
[    1.775090] VE: install end!!!
[    1.775090]
[    1.780603] google_vp9: sunxi google vp9 version 0.1
[    1.787308] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.798117] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48)
[    1.806959] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    1.812625] sunxi-mmc sdc0: No vmmc regulator found
[    1.818204] sunxi-mmc sdc0: No vqmmc regulator found
[    1.823797] sunxi-mmc sdc0: No vdmmc regulator found
[    1.829408] sunxi-mmc sdc0: No vd33sw regulator found
[    1.835099] sunxi-mmc sdc0: No vd18sw regulator found
[    1.840845] sunxi-mmc sdc0: No vq33sw regulator found
[    1.846540] sunxi-mmc sdc0: No vq18sw regulator found
[    1.852261] sunxi-mmc sdc0: Cann't get uart0 pinstate,check if needed
[    1.859546] sunxi-mmc sdc0: Cann't get sleep pinstate,check if needed
[    1.867322] sunxi-mmc sdc0: set host busy
[    1.871921] mmc:failed to get gpios
[    1.875860] sunxi-mmc sdc0: min-frequency:100000
[    1.881347] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.891817] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    1.927235] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.967238] sunxi-mmc sdc0: detmode:alway in(non removable)
[    1.967261] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.975632] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.998638] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.009658] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48)
[    2.009791] sunxi-mmc sdc1: No vmmc regulator found
[    2.009797] sunxi-mmc sdc1: No vqmmc regulator found
[    2.009801] sunxi-mmc sdc1: No vdmmc regulator found
[    2.009805] sunxi-mmc sdc1: No vd33sw regulator found
[    2.009809] sunxi-mmc sdc1: No vd18sw regulator found
[    2.009813] sunxi-mmc sdc1: No vq33sw regulator found
[    2.009818] sunxi-mmc sdc1: No vq18sw regulator found
[    2.009833] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed
[    2.010288] sunxi-mmc sdc1: set host busy
[    2.010345] mmc:failed to get gpios
[    2.010602] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.010633] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[    2.041981] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.070988] sunxi-mmc sdc1: detmode:manually by software
[    2.115968] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.129782] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    2.136604] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    2.142706] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.154080] usbcore: registered new interface driver usbhid
[    2.154083] usbhid: USB HID core driver
[    2.154445] mostcore: init()
[    2.155741] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.155976] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.156049] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.156115] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.156183] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.156197] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.156260] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.156281] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.156347] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.156359] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.156421] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.156434] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.162767] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.162856] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.162881] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.162889] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.162911] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.162918] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.162937] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.162944] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.162963] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.162969] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.162989] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.162995] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163013] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163020] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163040] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163047] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163065] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163072] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163092] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163098] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163116] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163124] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163142] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163149] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163167] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163174] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163192] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163199] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163217] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163224] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163243] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163250] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163268] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163275] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163293] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163300] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163318] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163325] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163339] ac108 2-003b: ref_cfg.ref_channel:0x3, set ref_pga_gain:16
[    2.163356] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163364] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163382] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163389] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163408] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163415] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163433] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163440] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163458] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163465] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163483] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163490] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163508] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163515] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.163533] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.163540] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.227481] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.227490] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.227513] sunxi_i2c_drv_core_process()1009 - [i2c2] Timeout when sending 9th SCL clk
[    2.227520] i2c_sunxi_drv_complete()1183 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x3b)
[    2.227561] ac108 2-003b: i2c probe succeed.
[    2.228150] --->sunxi_daudio_dev_probe<--- strat.
[    2.228277] sunxi-daudio daudio0: regulator missing or invalid
[    2.228396] --->sunxi_daudio_dev_probe<--- end.
[    2.228941] digital_vol:0, lineout_vol:31, main_gain:23, pa_msleep:160, pa_level:1
[    2.228950] adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:1, dachpf:0
[    2.229008] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
[    2.229494] [sunxi_card_init] card init finished.
[    2.229889] sunxi-codec-machine sndcodec: sun8iw19codec <-> codec mapping ok
[    2.241204] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.243295] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    2.243409] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    2.243545] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    2.243598] mmc0: new high speed SDHC card at address 0001
[    2.247542] mmcblk0: mmc0:0001 ASTC 7.50 GiB
[    2.251277]  mmcblk0: p1 p2 p3 p4 p5
[    2.394786] random: fast init done
[    2.395679] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
[    2.397297] NET: Registered protocol family 10
[    2.399021] NET: Registered protocol family 17
[    2.399069] NET: Registered protocol family 15
[    2.399727] Registering SWP/SWPB emulation handler
[    3.075479] get det_vbus is fail, 84
[    3.080599] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.092472] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !!
[    3.098417] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.104319] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.110228] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.116131] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.122034] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.128039] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.134041] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.140042] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.140061] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.146109] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !!
[    3.146140] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.174166] get id is fail, 84
[    3.178422] sunxi-rtc rtc: setting system clock to 1970-01-01 00:26:26 UTC (1586)
[    3.188160] ALSA device list:
[    3.191504]   #0: sun8iw19-codec
[    3.197162] EXT4-fs (mmcblk0p3): couldn't mount as ext3 due to feature incompatibilities
[    3.208004] EXT4-fs (mmcblk0p3): couldn't mount as ext2 due to feature incompatibilities
[    3.222144] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[    3.230465] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[    3.253459] EXT4-fs warning (device mmcblk0p3): ext4_clear_journal_err:4767: Filesystem error recorded from previous mount: IO failure
[    3.267132] EXT4-fs warning (device mmcblk0p3): ext4_clear_journal_err:4768: Marking fs in need of filesystem check.
[    3.295223] EXT4-fs (mmcblk0p3): recovery complete
[    3.304969] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    3.314224] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    3.322179] Freeing unused kernel memory: 136K
[    3.327175] This architecture does not have kernel memory protection.
[    3.507629] EXT4-fs (mmcblk0p3): warning: mounting fs with errors, running e2fsck is recommended
[    3.522393] EXT4-fs error (device mmcblk0p3): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing
[    3.540173] Aborting journal on device mmcblk0p3-8.
[    3.549859] EXT4-fs (mmcblk0p3): Remounting filesystem read-only
[    3.556641] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
[    3.568989] EXT4-fs error (device mmcblk0p3): ext4_journal_check_start:56: Detected aborted journal
[    3.579247] EXT4-fs (mmcblk0p3): Remounting filesystem read-only
can't run '/bin/mkdir': Read-only file system
mount: mounting devpts on /dev/pts failed: No such file or directory
------run rc.preboot file-----
[    3.841625] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    3.860330] Adding 81916k swap on /dev/mmcblk0p4.  Priority:-1 extents:1 across:81916k SS
------run rc.modules file-----
------run rc.final file-----
Load mpp modules
[    4.038267] [sensor_power_err]fetch sensor0_phase from device_tree failed
[    4.097663] [VIN_ERR]registering sp2305_mipi, No such device!
read-only file system detected...done
Starting network...
[    4.396332] get wifi_sdc_id failed
[    4.526445] get wifi_sdc_id failed
insmod: can't insert '/lib/modules/4.9.118/8189fs.ko': Operation not permitted
i

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn