TAS5722 Audio codec bring-up

Hello! I am having problems bringing up TAS5722 Audio amplifier driver (it uses same driver as TAS5720) on TX2NX.
I have done this before, during the prototyping stage, on I2S1 interface and it worked.
Now the only thing that has changed is that I’m using I2S3 interface. Here’s the things I have done:

  1. Enabled I2S3 and AUD_MCLK via Pinmux:

cat tegra_pinctrl_reg shows:
I2S1_FS, pin #224 - 0x00006441
I2S1_DIN, pin #222 - 0x00006455
I2S1_DOUT, pin #220 - 0x00006401
I2S1_SCLK, pin #226 - 0x00006441
AUD_MCLK, pin #211 - 0x00000404

which means SFIO is enabled (bit 10 = 1)

  1. Added TAS5720 driver to Linux kernel, compiled and then flashed.

  2. Added TAS5720 to tegra_machine_driver_mobile.c

...
Line 346:

rtd = snd_soc_get_pcm_runtime(card, "tas5720-codec");
	if (rtd) {
		dai_params = (struct snd_soc_pcm_stream *)rtd->dai_link->params;
		dai_params->rate_min = srate;
		dai_params->channels_min = channels;
		dai_params->formats = (machine->fmt_via_kcontrol == 2) ?
			(1ULL << SNDRV_PCM_FORMAT_S32_LE) : formats;
	}
...
  1. Added DeviceTree configuration
// Audio
	i2c@c250000 {
		tas5722: tas5722@6c {
			compatible = "ti,tas5722";
			reg = <0x6c>;
			status = "okay";
		};
	};

	tegra_sound: sound {
		status = "okay";
		compatible = "nvidia,tegra-audio-t186ref-mobile-rt565x";
		nvidia,model = "tegra-snd-t186ref-mobile-rt565x";
		clocks = <&tegra_car TEGRA186_CLK_PLLA>,
			 <&tegra_car TEGRA186_CLK_PLL_A_OUT0>,
			 <&tegra_car TEGRA186_CLK_AUD_MCLK>;
		clock-names = "pll_a", "pll_a_out0", "extern1";
		assigned-clocks = <&tegra_car TEGRA186_CLK_PLL_A_OUT0>,
				  <&tegra_car TEGRA186_CLK_AUD_MCLK>;
		assigned-clock-parents = <&tegra_car TEGRA186_CLK_PLLA>,
					 <&tegra_car TEGRA186_CLK_PLL_A_OUT0>;
		assigned-clock-rates = <0>, <12288000>;
		resets = <&tegra_car TEGRA186_RESET_AUD_MCLK>;
		reset-names = "extern1_rst";

		mclk-fs = <256>;

		nvidia,audio-routing =
			"x Headphone",		"x OUT";

		nvidia,dai-link-3 {
			link-name = "tas5720-codec";
			cpu-dai = <&tegra_i2s3>;
			codec-dai = <&tas5722>;
			cpu-dai-name = "I2S3";
			codec-dai-name = "tas5720-amplifier";
			format = "i2s";
			bit-format = "s16_le";
			srate = <48000>;
			num-channel = <2>;
			ignore_suspend;
			name-prefix = "x";
			status = "okay";
		};
	};

Here’s the dmesg on boot

[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.9.253-tegra (matiss@ubuntu) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #41 SMP PREEMPT Tue Feb 22 03:56:09 PST 2022
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 80,
[    0.000000] OF: fdt: - 80000000 ,  70000000
[    0.000000] OF: fdt: - f0200000 ,  85600000
[    0.000000] OF: fdt: - 175e00000 ,  200000
[    0.000000] OF: fdt: - 176600000 ,  200000
[    0.000000] OF: fdt: - 177000000 ,  200000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] OF: reserved mem: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[    0.000000] OF: reserved mem: initialized node ramoops_carveout, compatible id nvidia,ramoops
[    0.000000] cma: Reserved 64 MiB at 0x00000000fc000000
[    0.000000] On node 0 totalpages: 1006592
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 523776 pages, LIFO batch:31
[    0.000000]   Normal zone: 7624 pages used for memmap
[    0.000000]   Normal zone: 482816 pages, LIFO batch:31
[    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.1
[    0.000000] percpu: Embedded 24 pages/cpu s57624 r8192 d32488 u98304
[    0.000000] pcpu-alloc: s57624 r8192 d32488 u98304 alloc=24*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 990776
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2  video=tegrafb earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x1772e0000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 no_console_suspend boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x175840000 sdhci_tegra.en_boot_part_access=1  
[    0.000000] log_buf_len individual max cpu contribution: 32768 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 163840 bytes
[    0.000000] log_buf_len min size: 32768 bytes
[    0.000000] log_buf_len: 262144 bytes
[    0.000000] early log buf free: 30072(91%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Memory: 3163124K/4026368K available (15358K kernel code, 2964K rwdata, 6744K rodata, 8640K init, 612K bss, 109580K reserved, 753664K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008200000 - 0xffffff8009100000   ( 15360 KB)
[    0.000000]     .rodata : 0xffffff8009100000 - 0xffffff80097a0000   (  6784 KB)
[    0.000000]       .init : 0xffffff80097a0000 - 0xffffff800a010000   (  8640 KB)
[    0.000000]       .data : 0xffffff800a010000 - 0xffffff800a2f5008   (  2965 KB)
[    0.000000]        .bss : 0xffffff800a2f5008 - 0xffffff800a38e0f4   (   613 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf03dc8000   (    61 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0f7200000   (  3954 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=6.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 31.25MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[    0.000003] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[    0.009276] Console: colour dummy device 80x25
[    0.013953] console [tty0] enabled
[    0.017517] bootconsole [uart8250] disabled
[    0.021901] kmemleak: Kernel memory leak detector disabled
[    0.021915] Calibrating delay loop (skipped), value calculated using timer frequency.. 62.50 BogoMIPS (lpj=125000)
[    0.021930] pid_max: default: 32768 minimum: 301
[    0.022238] Security Framework initialized
[    0.022398] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.022408] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.022983] ftrace: allocating 47199 entries in 185 pages
[    0.147310] sched-energy: Sched-energy-costs installed from DT
[    0.147329] ASID allocator initialised with 65536 entries
[    0.181441] tegra-id: chipid=21817.
[    0.181454] tegra-id: opt_subrevision=1.
[    0.181477] Tegra Revision: A02p SKU: 0xdc CPU Process: 0 SoC Process: 0
[    0.181490] DTS File Name: /home/test/TX2NX/kernel/source/public/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t18x/lanai/kernel-dts/tegra186-p3636-0001-p3509-0000-a01.dts
[    0.181505] DTB Build time: <unknown>
[    0.231023] CPU1: Booted secondary processor [4e0f0030]
[    0.262392] CPU2: Booted secondary processor [4e0f0030]
[    0.293402] CPU3: Booted secondary processor [411fd073]
[    0.325378] CPU4: Booted secondary processor [411fd073]
[    0.357357] CPU5: Booted secondary processor [411fd073]
[    0.357410] Brought up 6 CPUs
[    0.357443] SMP: Total of 6 processors activated.
[    0.357455] CPU features: detected feature: 32-bit EL0 Support
[    0.359912] CPU: All CPU(s) started at EL2
[    0.360072] alternatives: patching kernel code
[    0.362579] devtmpfs: initialized
[    0.384642] Initilizing CustomIPI irq domain
[    0.384795] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.384819] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.392728] pinctrl core: initialized pinctrl subsystem
[    0.393012] OS set in device tree is not L4T.
[    0.393187] regulator-dummy: no parameters
[    0.393334] Initializing plugin-manager
[    0.393399] Plugin module not found
[    0.393441] Plugin-manager status disabled
[    0.394547] NET: Registered protocol family 16
[    0.395455] pstore: using zlib compression
[    0.395722] console [pstore-1] enabled
[    0.395733] pstore: Registered ramoops as persistent store backend
[    0.395746] ramoops: attached 0x200000@0x175880000, ecc: 0/0
[    0.412937] cpuidle: using governor menu
[    0.413954] bpmp: waiting for handshake
[    0.413969] bpmp: handshake completed
[    0.413992] bpmp: synchronizing channels
[    0.414004] bpmp: channels synchronized
[    0.414015] bpmp: mail init ok
[    0.415527] arm-smmu 12000000.iommu: probing hardware configuration...
[    0.415544] arm-smmu 12000000.iommu: SMMUv2 with:
[    0.415558] arm-smmu 12000000.iommu: 	stage 1 translation
[    0.415570] arm-smmu 12000000.iommu: 	stage 2 translation
[    0.415582] arm-smmu 12000000.iommu: 	nested translation
[    0.415597] arm-smmu 12000000.iommu: 	stream matching with 128 register groups, mask 0x7f80
[    0.415617] arm-smmu 12000000.iommu: SMMU address space size (0x800000) differs from mapped region size (0x1000000)!
[    0.415635] arm-smmu 12000000.iommu: 	64 context banks (0 stage-2 only)
[    0.415649] arm-smmu 12000000.iommu: 	Stage-1: 39-bit VA -> 48-bit IPA
[    0.415662] arm-smmu 12000000.iommu: 	Stage-2: 39-bit IPA -> 48-bit PA
[    0.417310] vdso: 2 pages (1 code @ ffffff8009107000, 1 data @ ffffff800a014000)
[    0.417339] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.420530] atomic_pool_init():622: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.421578] Registering BPMP clocks...
[    0.421662] tegra_bpmp_clk_init: clock init ok (638 clks)
[    0.422128] Serial: AMBA PL011 UART driver
[    0.422995] tegra_powergate_init: DONE
[    0.423012] DTS File Name: /home/test/TX2NX/kernel/source/public/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t18x/lanai/kernel-dts/tegra186-p3636-0001-p3509-0000-a01.dts
[    0.423038] DTB Build time: <unknown>
[    0.424344] Tegra reboot handler registered.
[    0.425512] tegra-pmc c360000.pmc: scratch reg offset dts data not present
[    0.425589] tegra-pmc: get_secure_pmc_setting: done secure_pmc=0
[    0.425612] tegra-pmc: ### PMC reset source: TEGRA_POWER_ON_RESET
[    0.425624] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_L0
[    0.425635] tegra-pmc: ### PMC reset status reg: 0x0
[    0.425793] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.425818] tegra-pmc c360000.pmc: IO padctrl driver initialized
[    0.426102] iommu: Adding device 3460000.sdhci to group 0
[    0.427451] iommu: Adding device 3160000.i2c to group 1
[    0.427871] iommu: Adding device c240000.i2c to group 2
[    0.428188] iommu: Adding device 3180000.i2c to group 3
[    0.428489] iommu: Adding device 3190000.i2c to group 4
[    0.428872] iommu: Adding device 31b0000.i2c to group 5
[    0.429208] iommu: Adding device 31c0000.i2c to group 6
[    0.429513] iommu: Adding device c250000.i2c to group 7
[    0.429811] iommu: Adding device 31e0000.i2c to group 8
[    0.431288] iommu: Adding device 3210000.spi to group 9
[    0.431592] iommu: Adding device c260000.spi to group 10
[    0.432254] iommu: Adding device 3100000.serial to group 11
[    0.432562] iommu: Adding device 3110000.serial to group 12
[    0.432860] iommu: Adding device 3130000.serial to group 13
[    0.434054] iommu: Adding device 2490000.ether_qos to group 14
[    0.434078] arm-smmu: forcing sodev map for 2490000.ether_qos
[    0.434923] iommu: Adding device b000000.rtcpu to group 15
[    0.436624] iommu: Adding device 13e10000.host1x to group 16
[    0.436948] iommu: Adding device 13e10000.host1x:ctx0 to group 17
[    0.437238] iommu: Adding device 13e10000.host1x:ctx1 to group 18
[    0.437544] iommu: Adding device 13e10000.host1x:ctx2 to group 19
[    0.437835] iommu: Adding device 13e10000.host1x:ctx3 to group 20
[    0.438128] iommu: Adding device 13e10000.host1x:ctx4 to group 21
[    0.438424] iommu: Adding device 13e10000.host1x:ctx5 to group 22
[    0.438714] iommu: Adding device 13e10000.host1x:ctx6 to group 23
[    0.439012] iommu: Adding device 13e10000.host1x:ctx7 to group 24
[    0.439448] iommu: Adding device 150c0000.nvcsi to group 25
[    0.440006] iommu: Adding device 15700000.vi to group 26
[    0.440325] iommu: Adding device 15600000.isp to group 27
[    0.440536] iommu: Adding device 15200000.dc_common to group 28
[    0.441055] iommu: Adding device 15200000.nvdisplay to group 29
[    0.441389] iommu: Adding device 15210000.nvdisplay to group 30
[    0.441854] iommu: Adding device 15340000.vic to group 31
[    0.442065] iommu: Adding device 154c0000.nvenc to group 32
[    0.442266] iommu: Adding device 15480000.nvdec to group 33
[    0.442574] iommu: Adding device 15380000.nvjpg to group 34
[    0.442776] iommu: Adding device 15500000.tsec to group 35
[    0.442977] iommu: Adding device 15100000.tsecb to group 36
[    0.443484] iommu: Adding device 15810000.se to group 37
[    0.443698] iommu: Adding device 15820000.se to group 38
[    0.443895] iommu: Adding device 15830000.se to group 39
[    0.444091] iommu: Adding device 15840000.se to group 40
[    0.444864] iommu: Adding device smmu_test to group 41
[    0.445458] mc: mapped MMIO address: 0xffffff800a7b0000 -> 0x2c10000
[    0.445483] mc: mapped MMIO address: 0xffffff800a7d0000 -> 0x2c20000
[    0.445503] mc: mapped MMIO address: 0xffffff800b110000 -> 0x2c30000
[    0.445522] mc: mapped MMIO address: 0xffffff800b130000 -> 0x2c40000
[    0.445542] mc: mapped MMIO address: 0xffffff800b150000 -> 0x2c50000
[    0.445558] nv-tegra-mc 2c10000.mc: No mssnvlink node
[    0.445577] mc-err: mcerr ops are set to t18x
[    0.445734] dram-ecc: DRAM ECC disabled-MC_ECC_CONTROL:0x0000000c
[    0.446513] iommu: Adding device 3530000.xhci to group 42
[    0.446537] arm-smmu: forcing sodev map for 3530000.xhci
[    0.446941] iommu: Adding device 3550000.xudc to group 43
[    0.446963] arm-smmu: forcing sodev map for 3550000.xudc
[    0.447474] tegra186-aowake c370000.pmc: WAKE_AOWAKE_CNTRL_83 = 0x10a
[    0.447493] tegra186-aowake c370000.pmc: WAKE_AOWAKE_CTRL_0 = 3
[    0.447507] tegra186-aowake c370000.pmc: WAKE_AOWAKE_CNTRL_24(PMU_INT) = 256
[    0.448099] iommu: Adding device 17000000.gp10b to group 44
[    0.449022] tegra-reset 5000000.clock: registered 193 resets.
[    0.450959] iommu: Adding device d000000.bpmp to group 45
[    0.451173] bpmp: ping status is 0
[    0.451256] bpmp d000000.bpmp: firmware tag is 91572a54614f84d0fd0c270beec2c56f
[    0.452856] bpmp d000000.bpmp: probe ok
[    0.455409] iommu: Adding device 2600000.dma to group 46
[    0.456222] GPIO line 425 (camera-control-output-low) hogged as output/low
[    0.456266] GPIO line 427 (camera-control-output-low) hogged as output/low
[    0.456321] GPIO line 408 (w-disable1) hogged as output/high
[    0.456367] GPIO line 410 (w-disable2) hogged as output/high
[    0.456548] gpiochip_setup_dev: registered GPIOs 320 to 511 on device: gpiochip0 (tegra-gpio)
[    0.460332] gpiochip_setup_dev: registered GPIOs 256 to 319 on device: gpiochip1 (tegra-gpio-aon)
[    0.461924] iommu: Adding device 10003000.pcie-controller to group 47
[    0.461952] arm-smmu: forcing sodev map for 10003000.pcie-controller
[    0.462273] iommu: Adding device sound to group 48
[    0.462603] iommu: Adding device 3510000.hda to group 49
[    0.469075] iommu: Adding device c1a0000.aon to group 50
[    0.469633] vdd-1v8-ap: 1800 mV 
[    0.469855] vdd-ac-bat: 5000 mV 
[    0.470045] vdd-3v3-disp-cvb: 3300 mV 
[    0.470320] vdd-3v3-cvb: 3300 mV 
[    0.470509] vdd-1v8-cvb: 1800 mV 
[    0.470697] vdd-fan: 5000 mV 
[    0.470906] vdd-hdmi-5v0: 5000 mV 
[    0.471097] vdd_sys_en: 1200 mV 
[    0.497851] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.500360] eventlib_kernel: keventlib is initialized, test id: 0
[    0.500558] SCSI subsystem initialized
[    0.500660] libata version 3.00 loaded.
[    0.500844] usbcore: registered new interface driver usbfs
[    0.500888] usbcore: registered new interface driver hub
[    0.500924] usbcore: registered new device driver usb
[    0.502917] random: fast init done
[    0.510372] max77620 4-003c: PMIC Version OTP:0x45 and ES:0x8
[    0.513077] vddio-ddr: at 1125 mV 
[    0.516932] avdd_dsi_csi: 1200 mV 
[    0.520933] vdd-1v8: 1800 mV 
[    0.524929] vdd-3v3-sys: 3300 mV 
[    0.525784] spmic-ldo0: at 1800 mV 
[    0.526419] spmic-ldo1: at 800 mV 
[    0.528932] vddio-3v3: 3300 mV 
[    0.529582] vddio-sdmmc1: 1800 <--> 3300 mV at 3300 mV 
[    0.532935] vdd-rtc: at 800 mV 
[    0.533651] avdd-ts-hv: 1800 <--> 3300 mV at 1800 mV 
[    0.537369] spmic-ldo6: at 800 mV 
[    0.541367] vdd-pex-1v00: 1000 mV 
[    0.541963] dvdd-pex: 1000 mV 
[    0.543946] GPIO line 253 (spmic_gpio_input) hogged as input
[    0.544089] GPIO line 254 (spmic_gpio_input) hogged as input
[    0.544255] gpiochip_setup_dev: registered GPIOs 248 to 255 on device: gpiochip2 (max77620-gpio)
[    0.544447] max77620 4-003c: max77620 probe successful
[    0.544823] media: Linux media interface: v0.10
[    0.544860] Linux video capture interface: v2.00
[    0.548079] pps_core: LinuxPPS API ver. 1 registered
[    0.548093] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.548121] PTP clock support registered
[    0.548324] tegra_wdt_t18x 30c0000.watchdog: Expiry count is deprecated
[    0.548522] tegra_wdt_t18x 30c0000.watchdog: Tegra WDT init timeout = 120 sec
[    0.548549] tegra_wdt_t18x 30c0000.watchdog: Registered successfully
[    0.549716] trusty trusty: trusty version: Built: 12:20:14 Jul 26 2021 
[    0.549745] trusty trusty: selected api version: 3 (requested 3)
[    0.550510] Advanced Linux Sound Architecture Driver Initialized.
[    0.550847] Bluetooth: Core ver 2.22
[    0.550885] NET: Registered protocol family 31
[    0.550897] Bluetooth: HCI device and connection manager initialized
[    0.550913] Bluetooth: HCI socket layer initialized
[    0.550927] Bluetooth: L2CAP socket layer initialized
[    0.550949] Bluetooth: SCO socket layer initialized
[    0.551522] vdd-sys-bl: 3300 mV 
[    0.553061] camchar: rtcpu character device driver loaded
[    0.553515] gpio tegra-gpio wake61 for gpio=92(L:4)
[    0.553597] extcon-gpio-states external-connection:extcon@1: Cable state:0, cable id:0
[    0.554327] clocksource: Switched to clocksource arch_sys_counter
[    0.576245] VFS: Disk quotas dquot_6.6.0
[    0.576335] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.576593] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.577050] dma_declare_coherent_resizable_cma_memory:324: resizable heap=vpr, base=0x00000000c6000000, size=0x2a000000
[    0.577206] cma: enabled page replacement for spfn=c6000, epfn=f0000
[    0.577222] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[    0.577240] nvmap: nvmap_select_cache_ops() nvmap cache ops set to roc
[    0.577257] nvmap_page_pool_init: Total RAM pages: 979197
[    0.577269] nvmap_page_pool_init: nvmap page pool size: 122399 pages (478 MB)
[    0.577328] nvmap_background_zero_thread: PP zeroing thread starting.
[    0.577799] misc nvmap: created heap vpr base 0x00000000c6000000 size (688128KiB)
[    0.579628] tegra-gpcdma 2600000.dma: GPC DMA driver register 32 channels
[    0.585061] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type BCPU-therm
[    0.585266] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type MCPU-therm
[    0.585615] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    0.585701] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.585848] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
[    0.586074] la/ptsa driver initialized.
[    0.586092] pre_t19x_iso_plat_init(): iso emc max clk=1600000KHz
[    0.586103] pre_t19x_iso_plat_init(): max_iso_bw=23040000KB
[    0.586422] NET: Registered protocol family 2
[    0.587053] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.587225] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.587532] TCP: Hash tables configured (established 32768 bind 32768)
[    0.587589] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.587658] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.587928] NET: Registered protocol family 1
[    0.588260] RPC: Registered named UNIX socket transport module.
[    0.588275] RPC: Registered udp transport module.
[    0.588285] RPC: Registered tcp transport module.
[    0.588296] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.588311] PCI: CLS 0 bytes, default 64
[    0.588422] Trying to unpack rootfs image as initramfs...
[    0.602944] host1x 13e10000.host1x: initialized
[    0.604244] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.606262] audit: initializing netlink subsys (disabled)
[    0.606300] audit: type=2000 audit(0.484:1): initialized
[    0.606725] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.613116] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.614083] ntfs: driver 2.1.32 [Flags: R/W].
[    0.614626] 9p: Installing v9fs 9p2000 file system support
[    0.616502] Key type asymmetric registered
[    0.616517] Asymmetric key parser 'x509' registered
[    0.616696] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[    0.616761] io scheduler noop registered
[    0.616970] io scheduler cfq registered (default)
[    0.619749] gic 2a41000.agic-controller: GIC IRQ controller registered
[    0.630667] iommu: Adding device aconnect@2a41000:adsp_audio to group 51
[    0.650690] iommu: Adding device 2993000.adsp to group 52
[    0.651248] tegra-aconnect aconnect@2a41000: Tegra ACONNECT bus registered
[    0.656022] tegra-pwm 3280000.pwm: PWM clk can sleep in ops
[    0.656907] tegra-pwm 3290000.pwm: PWM clk can sleep in ops
[    0.657716] tegra-pwm 32a0000.pwm: PWM clk can sleep in ops
[    0.658522] tegra-pwm c340000.pwm: PWM clk can sleep in ops
[    0.660419] tegra-pcie 10003000.pcie-controller: 2x1, 1x1, 1x1 configuration
[    0.661148] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[    0.661444] tegra-pcie 10003000.pcie-controller: probing port 0, using 2 lanes
[    0.661725] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[    0.661843] misc tegra_camera_ctrl: tegra_camera_isomgr_register tpg_max_iso = 3916800KBs
[    0.661863] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1000000, vi_iso_bw=1600000, max_bw=3916800
[    0.663031] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
[    0.664107] tsec 15500000.tsec: initialized
[    0.665017] tsec 15100000.tsecb: initialized
[    0.667410] nvdec 15480000.nvdec: initialized
[    0.671228] falcon 15340000.vic: initialized
[    0.672421] falcon 154c0000.nvenc: initialized
[    0.673550] falcon 15380000.nvjpg: initialized
[    0.675467] iommu_context_dev 13e10000.host1x:ctx0: initialized (streamid=56)
[    0.676934] iommu_context_dev 13e10000.host1x:ctx1: initialized (streamid=57)
[    0.678417] iommu_context_dev 13e10000.host1x:ctx2: initialized (streamid=58)
[    0.679900] iommu_context_dev 13e10000.host1x:ctx3: initialized (streamid=59)
[    0.681388] iommu_context_dev 13e10000.host1x:ctx4: initialized (streamid=60)
[    0.682871] iommu_context_dev 13e10000.host1x:ctx5: initialized (streamid=61)
[    0.684356] iommu_context_dev 13e10000.host1x:ctx6: initialized (streamid=62)
[    0.685897] iommu_context_dev 13e10000.host1x:ctx7: initialized (streamid=63)
[    0.688677] tegradccommon 15200000.dc_common: host1x channel mapped
[    0.688699] tegradccommon 15200000.dc_common: dc_common syncpt # 1 allocated
[    0.688735] tegradccommon 15200000.dc_common: dma mapping done
[    0.689403] tegradc 15200000.nvdisplay: disp0 connected to head0->/host1x/dsi
[    0.689564] tegradc 15200000.nvdisplay: No hpd-gpio in DT
[    0.689617] tegradc 15200000.nvdisplay: DT parsed successfully
[    0.689650] tegradc 15200000.nvdisplay: Display dc.ffffff800b3e0000 registered with id=0
[    0.695424] tegra_nvdisp_bandwidth_register_max_config: max config iso bw = 16727000 KB/s
[    0.695446] tegra_nvdisp_bandwidth_register_max_config: max config EMC floor = 665600000 Hz
[    0.695464] tegra_nvdisp_bandwidth_register_max_config: max config hubclk = 357620000 Hz
[    0.695644] tegradc 15200000.nvdisplay: vblank syncpt # 8 for dc 0
[    0.695661] tegradc 15200000.nvdisplay: vpulse3 syncpt # 9 for dc 0
[    0.699989] tegradc 15200000.nvdisplay: probed
[    0.700348] Console: switching to colour frame buffer device 60x50
[    0.700382] tegradc 15200000.nvdisplay: fb registered
[    0.701615] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[    0.701694] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[    0.701832] tegra-adma 2930000.adma: Tegra210 ADMA driver registered 32 channels
[    0.702585] MIPI Display: enable
[    0.703006] tegra-fuse-burn 3820000.efuse:efuse-burn: shutdown limit check disabled
[    0.703038] tegra-fuse-burn 3820000.efuse:efuse-burn: Fuse burn driver initialized
[    0.703626] kfuse 3830000.kfuse: initialized
[    0.704872] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[    0.706253] tegradc 15200000.nvdisplay: DSI: HS clock rate is 175000
[    0.711030] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.713083] console [ttyS0] disabled
[    0.713136] 3100000.serial: ttyS0 at MMIO 0x3100000 (irq = 33, base_baud = 25500000) is a Tegra
[    0.745614] MIPI Display: postpoweron
[    0.745615] MIPI Display: regulator_get
[    0.745792] MIPI Display: regulator_get - success
[    0.746136] MIPI Display: Reset pin: 340 (Should be: 340)
[    1.038330] MIPI Display: postpoweron - success
[    1.092072] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[    1.436417] tegradc 15210000.nvdisplay: disp1 connected to head1->/host1x/sor
[    1.436529] tegradc 15210000.nvdisplay: DT parsed successfully
[    1.436552] tegradc 15210000.nvdisplay: Display dc.ffffff800b790000 registered with id=1
[    1.436738] tegradc 15210000.nvdisplay: vblank syncpt # 12 for dc 1
[    1.436743] tegradc 15210000.nvdisplay: vpulse3 syncpt # 13 for dc 1
[    1.445216] tegradc 15210000.nvdisplay: probed
[    1.496301] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[    1.900522] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[    1.902539] tegra-pcie 10003000.pcie-controller: link 2 down, ignoring
[    2.008585] tegra-pcie 10003000.pcie-controller: PCI host bridge to bus 0000:00
[    2.008591] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.008595] pci_bus 0000:00: root bus resource [mem 0x40100000-0x47ffffff]
[    2.008599] pci_bus 0000:00: root bus resource [mem 0x48000000-0x7fffffff pref]
[    2.008605] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.008635] pci 0000:00:01.0: [10de:10e5] type 01 class 0x060400
[    2.008748] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.008929] iommu: Adding device 0000:00:01.0 to group 53
[    2.008937] arm-smmu: forcing sodev map for 0000:00:01.0
[    2.009005] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.009168] pci 0000:01:00.0: [15b7:5009] type 00 class 0x010802
[    2.009230] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    2.009310] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x000000ff 64bit]
[    2.009782] iommu: Adding device 0000:01:00.0 to group 54
[    2.009786] arm-smmu: forcing sodev map for 0000:01:00.0
[    2.018449] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.018489] pci 0000:00:01.0: BAR 14: assigned [mem 0x40100000-0x401fffff]
[    2.018496] pci 0000:01:00.0: BAR 0: assigned [mem 0x40100000-0x40103fff 64bit]
[    2.018529] pci 0000:01:00.0: BAR 4: assigned [mem 0x40104000-0x401040ff 64bit]
[    2.018561] pci 0000:00:01.0: PCI bridge to [bus 01]
[    2.018569] pci 0000:00:01.0:   bridge window [mem 0x40100000-0x401fffff]
[    2.018832] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
[    2.018836] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    2.018843] pcie_pme 0000:00:01.0:pcie001: service driver pcie_pme loaded
[    2.018931] aer 0000:00:01.0:pcie002: service driver aer loaded
[    3.057270] console [ttyS0] enabled
[    3.057273] tegradc 15210000.nvdisplay: fb registered
[    3.061244] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.062707] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.064167] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.065625] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.065629] tegradc 15210000.nvdisplay: dp: Failed for I2C write addr:80, size:1, stat:0x10000100
[    3.065721] tegra_nvdisp_handle_pd_enable: Unpowergated Head2 pd
[    3.066162] Parent Clock set for DC plld3
[    3.069796] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.071259] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.072720] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.074182] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.074186] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.074845] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.076294] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.077741] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.078966] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.078969] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.079622] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.081069] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.082523] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.083972] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.083975] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.084628] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.086076] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.087525] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.088973] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.088976] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.088979] tegradc 15210000.nvdisplay: dp: failed to exit panel power save mode (0xfffffff2)
[    3.089237] hpd: state 7 (Takeover from bootloader), hpd 1, pending_hpd_evt 1
[    3.089240] hpd: switching from state 7 (Takeover from bootloader) to state 1 (Check Plug)
[    3.190335] hpd: state 1 (Check Plug), hpd 1, pending_hpd_evt 0
[    3.190340] hpd: switching from state 1 (Check Plug) to state 2 (Check EDID)
[    3.198332] hpd: state 2 (Check EDID), hpd 1, pending_hpd_evt 0
[    3.198997] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.200451] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.201905] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.203359] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.203363] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.204020] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.205474] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.206930] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.208384] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.208387] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.209044] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.210500] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.211955] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.213408] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.213411] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.214069] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 2
[    3.215524] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 1
[    3.216979] tegradc 15210000.nvdisplay: dp: aux write retry (0x10000100) -- 0
[    3.218435] tegradc 15210000.nvdisplay: dp: aux write got error (0x10000100)
[    3.218438] tegradc 15210000.nvdisplay: dp: Failed to write DPCD data. CMD 0x600, Status 0x10000100
[    3.218441] tegradc 15210000.nvdisplay: dp: failed to exit panel power save mode (0xfffffff2)
[    3.218444] hpd: edid read prepare failed
[    3.218445] hpd: DC from connected to disconnected
[    3.474273] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 34, base_baud = 0) is a TEGRA_UART
[    3.483158] serial-tegra 3130000.serial: RX in PIO mode
[    3.488993] 3130000.serial: ttyTHS3 at MMIO 0x3130000 (irq = 35, base_baud = 0) is a TEGRA_UART
[    3.498704] [drm] Initialized
[    3.508224] brd: module loaded
[    3.514517] loop: module loaded
[    3.517703] tegra_profiler: version: 1.145, samples/io: 49/28
[    3.523560] tegra_profiler: auth: init
[    3.527930] THERMAL EST: found 3 subdevs
[    3.531887] THERMAL EST num_resources: 0
[    3.535818] [THERMAL EST subdev 0]
[    3.539229] [THERMAL EST subdev 1]
[    3.542636] [THERMAL EST subdev 2]
[    3.546040] THERMAL EST: Found 2 profiles, default profile is quiet
[    3.552569] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type thermal-fan-est
[    3.561533] THERMAL EST: thz register success.
[    3.566064] THERMAL EST: end of probe, return err: 0
[    3.571634] sd: No Scsi addr parsed to reserve index
[    3.576631] hisi_sas: driver version v1.6
[    3.581273] nvme nvme0: pci function 0000:01:00.0
[    3.586012] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[    3.590977] libphy: Fixed MDIO Bus: probed
[    3.591399] tun: Universal TUN/TAP device driver, 1.6
[    3.591400] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.592063] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.592064] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.592105] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    3.592106] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.592138] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.592139] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.592170] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 4.4.0-k
[    3.592172] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    3.772728]  nvme0n1: p1 p2
[    3.838456] eqos 2490000.ether_qos: can't get pllrefe_vcoout clk (-2)
[    3.846880] eqos 2490000.ether_qos: failed to read eqos_auto_cal_config_0_reg
[    3.854450] eqos 2490000.ether_qos: Setting local MAC: 48 b0 2d 3b 34 3a
[    3.861177] Using phyrst_lpmode = 1 from DT
[    3.865435] libphy: dwc_phy: probed
[    3.870974] PPP generic driver version 2.4.2
[    3.875370] PPP BSD Compression module registered
[    3.880085] PPP Deflate Compression module registered
[    3.885149] PPP MPPE Compression module registered
[    3.889943] NET: Registered protocol family 24
[    3.894532] usbcore: registered new interface driver r8152
[    3.900056] usbcore: registered new interface driver asix
[    3.905491] usbcore: registered new interface driver ax88179_178a
[    3.911613] usbcore: registered new interface driver cdc_ether
[    3.917476] usbcore: registered new interface driver net1080
[    3.923167] usbcore: registered new interface driver cdc_subset
[    3.929120] usbcore: registered new interface driver zaurus
[    3.934732] usbcore: registered new interface driver cdc_ncm
[    3.940505] VFIO - User Level meta-driver version: 0.3
[    3.946441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.952982] ehci-pci: EHCI PCI platform driver
[    3.957482] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.963669] ohci-pci: OHCI PCI platform driver
[    3.968148] ohci-platform: OHCI generic platform driver
[    3.976969] tegra-xusb 3530000.xhci: USB2 port 0 has OTG_CAP
[    3.984090] tegra-xusb 3530000.xhci: extcon 0: ffffffc0efada800 id
[    3.990348] tegra-xusb 3530000.xhci: Direct firmware load for tegra18x_xusb_firmware failed with error -2
[    3.994674] usbcore: registered new interface driver uas
[    3.994710] usbcore: registered new interface driver usb-storage
[    3.994801] usbcore: registered new interface driver usbserial
[    4.006192] tegra-xudc-new 3550000.xudc: device count: 1
[    4.022434] tegra-xusb 3530000.xhci: Falling back to user helper
[    4.029233] tegra-xudc-new 3550000.xudc: USB charger detection disabled
[    4.035864] tegra-xudc-new 3550000.xudc: vbus state: 0
[    4.041025] tegra-xudc-new 3550000.xudc: entering ELPG
[    4.046867] tegra-xudc-new 3550000.xudc: entering ELPG done
[    4.052694] mousedev: PS/2 mouse device common for all mice
[    4.058335] usbcore: registered new interface driver xpad
[    4.164071] Goodix-TS 1-005d: ID 911, version: 1060
[    4.169010] Goodix-TS 1-005d: Direct firmware load for goodix_911_cfg.bin failed with error -2
[    4.177634] Goodix-TS 1-005d: Falling back to user helper
[    4.242701] tegra_nvdisp_handle_pd_disable: Powergated Head2 pd
[    4.248663] tegradc 15210000.nvdisplay: blank - powerdown
[    4.254077] extcon-disp-state external-connection:disp-state: cable 44 state 0 already set.
[    4.262428] Extcon DP: HPD disabled
[    4.265912] hpd: hpd_switch 0
[    4.268895] hpd: switching from state 2 (Check EDID) to state 3 (Disabled)
[    4.308352] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[    4.316768] Wake73 for irq=42
[    4.320920] rtc rtc1: alarm rtc device
[    4.324690] tegra_rtc c2a0000.rtc: rtc core: registered c2a0000.rtc as rtc1
[    4.331666] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
[    4.337922] i2c /dev entries driver
[    4.342461] imx283 0-001a: probing v4l2 sensor at addr 0x1a
[    4.342500] imx283 0-001a: imx283_parse_dt: parsing devicetree
[    4.342556] imx283 0-001a: avdd not present. err: -22 
[    4.342560] imx283 0-001a: iovdd not present. err: -22 
[    4.342565] imx283 0-001a: dvdd not present. err: -22 
[    4.342568] imx283 0-001a: avdd, iovdd and/or dvdd reglrs. not present, assume sensor powered independently
[    4.342572] imx283 0-001a: imx283_power_get: power get
[    4.343199] imx283 0-001a: tegracam sensor driver:imx283_v2.0.6
[    4.349134] imx283 0-001a: imx283_power_on: power on
[    4.349676] tegra-i2c 3160000.i2c: no acknowledge from address 0x1a
[    4.355987] imx283 0-001a: imx283_read_reg: i2c read failed for 0x3037
[    4.362516] imx283 0-001a: i2c probe - HMAX (0x3036) = 0
[    4.362594] tegra-i2c 3160000.i2c: no acknowledge from address 0x1a
[    4.368899] imx283 0-001a: imx283_read_reg: i2c read failed for 0x3036
[    4.375429] imx283 0-001a: i2c probe - HMAX (0x3037) = 0
[    4.375433] imx283 0-001a: board setup failed
[    4.379845] imx283: probe of 0-001a failed with error -121
[    4.385390] imx283 2-001a: probing v4l2 sensor at addr 0x1a
[    4.385427] imx283 2-001a: imx283_parse_dt: parsing devicetree
[    4.385465] imx283 2-001a: avdd not present. err: -22 
[    4.385469] imx283 2-001a: iovdd not present. err: -22 
[    4.385473] imx283 2-001a: dvdd not present. err: -22 
[    4.385476] imx283 2-001a: avdd, iovdd and/or dvdd reglrs. not present, assume sensor powered independently
[    4.385480] imx283 2-001a: imx283_power_get: power get
[    4.385974] imx283 2-001a: tegracam sensor driver:imx283_v2.0.6
[    4.391907] imx283 2-001a: imx283_power_on: power on
[    4.392474] tegra-i2c 3180000.i2c: no acknowledge from address 0x1a
[    4.398777] imx283 2-001a: imx283_read_reg: i2c read failed for 0x3037
[    4.405312] imx283 2-001a: i2c probe - HMAX (0x3036) = 0
[    4.405490] tegra-i2c 3180000.i2c: no acknowledge from address 0x1a
[    4.411796] imx283 2-001a: imx283_read_reg: i2c read failed for 0x3036
[    4.418326] imx283 2-001a: i2c probe - HMAX (0x3037) = 0
[    4.418329] imx283 2-001a: board setup failed
[    4.422728] imx283: probe of 2-001a failed with error -121
[    4.429022] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[    4.439970] parse_throttle_dt_data: Num cap clks = 4
[    4.444956] parse_throttle_dt_data: clk=mcpu type=1
[    4.449839] parse_throttle_dt_data: clk=bcpu type=2
[    4.454726] parse_throttle_dt_data: clk=gpu type=4
[    4.459523] parse_throttle_dt_data: clk=emc type=3
[    4.464939] tegra_throttle_probe: probe successful. #cdevs=4
[    4.471101] FAN dev name: pwm-fan
[    4.474475] FAN:gpio request success.
[    4.478139] FAN: can't find tach_gpio
[    4.481816] pwm_fan_driver pwm-fan: Found 2 profiles, default profile is quiet
[    4.489056] pwm_fan_driver pwm-fan: cap state:4, cap pwm:255
[    4.494900] pwm_fan_driver pwm-fan: got pwm for fan. polarity is normal
[    4.501526] pwm_fan_driver pwm-fan: tach period: 1000
[    4.507029] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[    4.514604] pwm_fan_driver pwm-fan: index 1: pwm=130, rpm=1000, rru=2, rrd=2, state:2
[    4.522440] pwm_fan_driver pwm-fan: index 2: pwm=160, rpm=2000, rru=1, rrd=1, state:2
[    4.530270] pwm_fan_driver pwm-fan: index 3: pwm=200, rpm=3000, rru=1, rrd=1, state:2
[    4.538101] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[    4.545932] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[    4.553766] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[    4.561597] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[    4.569430] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[    4.577348] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[    4.585769] tegra-oc-event d280000.soctherm-oc-event: OC driver initialized
[    4.593633] device-mapper: uevent: version 1.0.3
[    4.598578] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    4.607256] CPU EMC frequency mapping table: from device tree
[    4.614939] cpufreq: platform driver Initialization: pass
[    4.620895] cpuidle: Initializing cpuidle driver init for Denver cluster
[    4.627723] cpuidle: Initializing cpuidle driver init for A57 cluster
[    4.635108] sdhci: Secure Digital Host Controller Interface driver
[    4.641292] sdhci: Copyright(c) Pierre Ossman
[    4.645651] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.652211] sdhci-tegra 3460000.sdhci: Client registration for eMC Successful
[    4.660931] CMDQ: cmdq_platfm_init successful
[    4.665720] sdhci-tegra 3440000.sdhci: allocated mmc-pwrseq
[    4.671656] CQE: CMD_TIMING bit set for R1B DCMD
[    4.676519] sdhci-tegra 3440000.sdhci: Client registration for eMC Successful
[    4.687973] tegra-se-nvhost 15810000.se: initialized
[    4.690452] FAN rising trip_level:1 cur_temp:46500 trip_temps[2]:60000
[    4.700520] tegra-se-nvhost 15810000.se: tegra_se_probe: complete
[    4.707121] tegra-se-nvhost 15820000.se: initialized
[    4.713021] tegra-se-nvhost 15820000.se: tegra_se_probe: complete
[    4.719590] tegra-se-nvhost 15830000.se: initialized
[    4.722330] mmc0: SDHCI controller on 3460000.sdhci [3460000.sdhci] using ADMA 64-bit with 64 bit addr
[    4.726339] mmc1: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit with 64 bit addr
[    4.743945] tegra-se-nvhost 15830000.se: tegra_se_probe: complete
[    4.750492] tegra-se-nvhost 15840000.se: initialized
[    4.756410] tegra-se-nvhost 15840000.se: tegra_se_probe: complete
[    4.763254] tegra-se-elp 3ad0000.se_elp: tegra_se_elp_probe: complete
[    4.764247] mmc0: mmc_decode_ext_csd: CMDQ supported: depth: 31, cmdq_support: 1
[    4.777224] hidraw: raw HID events driver (C) Jiri Kosina
[    4.778215] mmc0: periodic cache flush enabled
[    4.778222] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    4.778532] mmcblk0: mmc0:0001 DG4016 14.7 GiB 
[    4.778625] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[    4.778740] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[    4.782833] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB
[    4.787295]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 p33
[    4.829529] usbcore: registered new interface driver usbhid
[    4.835107] usbhid: USB HID core driver
[    4.846470] tegra186-cam-rtcpu b000000.rtcpu: Trace buffer configured at IOVA=0xbff00000
[    4.856293] tegra-ivc ivc-b000000.rtcpu: region 0: iova=0xbfef0000-0xbfefdb7f size=56192
[    4.864596] tegra-ivc ivc-b000000.rtcpu:echo@0: echo: ver=0 grp=1 RX[16x64]=0x1000-0x1480 TX[16x64]=0x1480-0x1900
[    4.874988] tegra-ivc ivc-b000000.rtcpu:vinotify@12c0: vinotify: ver=0 grp=1 RX[64x128]=0x1900-0x3980 TX[64x128]=0x3980-0x5a00
[    4.887065] tegra-ivc ivc-b000000.rtcpu:mods@32c0: mods: ver=0 grp=1 RX[1x64]=0x5a00-0x5ac0 TX[1x64]=0x5ac0-0x5b80
[    4.897492] tegra-ivc ivc-b000000.rtcpu:ivccontrol@52c0: ivccontrol: ver=0 grp=1 RX[16x320]=0x5b80-0x7000 TX[16x320]=0x7000-0x8480
[    4.909280] tegra-ivc ivc-b000000.rtcpu:ivccapture@72c0: ivccapture: ver=0 grp=1 RX[16x64]=0x8480-0x8900 TX[16x64]=0x8900-0x8d80
[    4.920886] tegra-ivc ivc-b000000.rtcpu:dbg@7c00: dbg: ver=0 grp=1 RX[1x384]=0x8d80-0x8f80 TX[1x384]=0x8f80-0x9180
[    4.931330] tegra-ivc ivc-b000000.rtcpu:dbg@7e00: dbg: ver=0 grp=1 RX[1x8192]=0x9180-0xb200 TX[1x8192]=0xb200-0xd280
[    4.942143] tegra186-cam-rtcpu b000000.rtcpu: using cam RTCPU IRQ (48)
[    4.948671] tegra186-cam-rtcpu b000000.rtcpu: tegra_camrtc_mon_create is successful
[    4.962345] mmc1: hw tuning done ...
[    4.966484] tegra186-cam-rtcpu b000000.rtcpu: firmware version cpu=sce cmd=5 sha1=c73bbe92930645be44530c166eb578bfbb9499c3
[    4.970064] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[    4.970263] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 68
[    4.993531] tegra_aon c1a0000.aon: tegra aon driver probe OK
[    4.999594] tegra186-aondbg aondbg: aondbg driver probe() OK
[    5.005649] register_ari_mca_banks: Registered MCA ROC:IOB
[    5.011446] register_ari_mca_banks: Registered MCA ROC:CCE
[    5.017656] tegra18-bridge 2390000.axi2apb: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.026439] tegra18-bridge 2390000.axi2apb: enabled timeout = 9894000
[    5.032880] tegra18-bridge 2390000.axi2apb: bridge probed OK
[    5.038583] tegra18-bridge 23a0000.axi2apb: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.047366] tegra18-bridge 23a0000.axi2apb: enabled timeout = 9894000
[    5.053801] tegra18-bridge 23a0000.axi2apb: bridge probed OK
[    5.059503] tegra18-bridge 23b0000.axi2apb: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.068283] tegra18-bridge 23b0000.axi2apb: enabled timeout = 9894000
[    5.074721] tegra18-bridge 23b0000.axi2apb: bridge probed OK
[    5.080428] tegra18-bridge 23c0000.axi2apb: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.089210] tegra18-bridge 23c0000.axi2apb: enabled timeout = 9894000
[    5.095647] tegra18-bridge 23c0000.axi2apb: bridge probed OK
[    5.101345] tegra18-bridge 23d0000.axi2apb: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.110123] tegra18-bridge 23d0000.axi2apb: enabled timeout = 9894000
[    5.116559] tegra18-bridge 23d0000.axi2apb: bridge probed OK
[    5.122257] tegra18-bridge 2100000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.130952] tegra18-bridge 2100000.axip2p: enabled timeout = 9894000
[    5.137301] tegra18-bridge 2100000.axip2p: bridge probed OK
[    5.142909] tegra18-bridge 2110000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.151605] tegra18-bridge 2110000.axip2p: enabled timeout = 9894000
[    5.157955] tegra18-bridge 2110000.axip2p: bridge probed OK
[    5.163565] tegra18-bridge 2120000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.172259] tegra18-bridge 2120000.axip2p: enabled timeout = 9894000
[    5.178608] tegra18-bridge 2120000.axip2p: bridge probed OK
[    5.184217] tegra18-bridge 2130000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.192911] tegra18-bridge 2130000.axip2p: enabled timeout = 9894000
[    5.199260] tegra18-bridge 2130000.axip2p: bridge probed OK
[    5.204872] tegra18-bridge 2140000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.213567] tegra18-bridge 2140000.axip2p: enabled timeout = 9894000
[    5.219922] tegra18-bridge 2140000.axip2p: bridge probed OK
[    5.225540] tegra18-bridge 2150000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.234235] tegra18-bridge 2150000.axip2p: enabled timeout = 9894000
[    5.240584] tegra18-bridge 2150000.axip2p: bridge probed OK
[    5.246193] tegra18-bridge 2160000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.254890] tegra18-bridge 2160000.axip2p: enabled timeout = 9894000
[    5.261240] tegra18-bridge 2160000.axip2p: bridge probed OK
[    5.266852] tegra18-bridge 2170000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.275550] tegra18-bridge 2170000.axip2p: enabled timeout = 9894000
[    5.281900] tegra18-bridge 2170000.axip2p: bridge probed OK
[    5.287512] tegra18-bridge 2180000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.296210] tegra18-bridge 2180000.axip2p: enabled timeout = 9894000
[    5.302559] tegra18-bridge 2180000.axip2p: bridge probed OK
[    5.308169] tegra18-bridge 2190000.axip2p: axi_cbb clk rate = 102 MHZ, timeout = 97000 useconds
[    5.316864] tegra18-bridge 2190000.axip2p: enabled timeout = 9894000
[    5.323213] tegra18-bridge 2190000.axip2p: bridge probed OK
[    5.328832] **** A57 ECC: Enabled
[    5.332141] tegra18_a57_serr_init: on CPU 5 a A57 Core
[    5.337340] tegra18x_actmon d230000.actmon: in actmon_register()...
[    5.344005] tegra18x_actmon d230000.actmon: initialization Completed for the device mc_all
[    5.352672] hw perfevents: enabled with denver15_uncore_pmu PMU driver, 3 counters available
[    5.361229] denver_knobs_init:MTS_VERSION:53679346
[    5.367796] nvpmodel: initialized successfully
[    5.373028] trusty-virtio trusty:virtio: initializing
[    5.378188] trusty_ipc virtio0: vring0: va(pa)  ffffffc0ed0ac000(0) qsz 32 notifyid 1
[    5.386040] trusty_ipc virtio0: vring1: va(pa)  ffffffc0ed0ae000(0) qsz 32 notifyid 2
[    5.393961] trusty-virtio trusty:virtio: initializing done
[    5.394052] trusty_ipc virtio0: is online
[    5.404648] usbcore: registered new interface driver snd-usb-audio
[    5.411753] tas5720 7-006c: tas5720_probe
[    5.415817] tas5720 7-006c: registered TAS5722 codec
[    5.422328] tas5720 7-006c: probe successful
[    5.425140] input: tegra-hda HDMI/DP,pcm=3 as /devices/3510000.hda/sound/card0/input0
[    5.425261] input: tegra-hda HDMI/DP,pcm=7 as /devices/3510000.hda/sound/card0/input1
[    5.508821] OPE platform probe
[    5.511951] OPE platform probe successful
[    5.563020] tas5720 7-006c: tas5720_codec_probe
[    5.571742] tegra-asoc: sound: ADMAIF1 <-> ADMAIF1 mapping ok
[    5.577575] tegra-asoc: sound: ADMAIF2 <-> ADMAIF2 mapping ok
[    5.583391] tegra-asoc: sound: ADMAIF3 <-> ADMAIF3 mapping ok
[    5.589240] tegra-asoc: sound: ADMAIF4 <-> ADMAIF4 mapping ok
[    5.595072] tegra-asoc: sound: ADMAIF5 <-> ADMAIF5 mapping ok
[    5.600885] tegra-asoc: sound: ADMAIF6 <-> ADMAIF6 mapping ok
[    5.606723] tegra-asoc: sound: ADMAIF7 <-> ADMAIF7 mapping ok
[    5.612552] tegra-asoc: sound: ADMAIF8 <-> ADMAIF8 mapping ok
[    5.618376] tegra-asoc: sound: ADMAIF9 <-> ADMAIF9 mapping ok
[    5.624187] tegra-asoc: sound: ADMAIF10 <-> ADMAIF10 mapping ok
[    5.630193] tegra-asoc: sound: ADMAIF11 <-> ADMAIF11 mapping ok
[    5.636199] tegra-asoc: sound: ADMAIF12 <-> ADMAIF12 mapping ok
[    5.642189] tegra-asoc: sound: ADMAIF13 <-> ADMAIF13 mapping ok
[    5.648199] tegra-asoc: sound: ADMAIF14 <-> ADMAIF14 mapping ok
[    5.654204] tegra-asoc: sound: ADMAIF15 <-> ADMAIF15 mapping ok
[    5.660189] tegra-asoc: sound: ADMAIF16 <-> ADMAIF16 mapping ok
[    5.666199] tegra-asoc: sound: ADMAIF17 <-> ADMAIF17 mapping ok
[    5.672204] tegra-asoc: sound: ADMAIF18 <-> ADMAIF18 mapping ok
[    5.678195] tegra-asoc: sound: ADMAIF19 <-> ADMAIF19 mapping ok
[    5.684181] tegra-asoc: sound: ADMAIF20 <-> ADMAIF20 mapping ok
[    5.692648] tas5720 7-006c: tas5720_set_dai_fmt: 0x4001
[    5.714306] u32 classifier
[    5.717033]     Actions configured
[    5.720494] Initializing XFRM netlink socket
[    5.725360] NET: Registered protocol family 10
[    5.730401] NET: Registered protocol family 17
[    5.734856] NET: Registered protocol family 15
[    5.739355] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    5.752363] Bluetooth: RFCOMM socket layer initialized
[    5.757511] Bluetooth: RFCOMM ver 1.11
[    5.761270] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.767192] Bluetooth: HIDP socket layer initialized
[    5.772167] 9pnet: Installing 9P2000 support
[    5.776472] Key type dns_resolver registered
[    5.780937] Registered cp15_barrier emulation handler
[    5.785999] Registered setend emulation handler
[    5.791429] registered taskstats version 1
[    5.798063] isp 15600000.isp: initialized
[    5.805377] nvcsi 150c0000.nvcsi: initialized
[    5.810735] tegra-vi4 15700000.vi: using default number of vi channels,15
[    5.813293] Wake83 for irq=51
[    5.813371] gpio tegra-gpio-aon wake29 for gpio=56(FF:0)
[    5.813502] input: gpio-keys as /devices/gpio-keys/input/input2
[    5.833761] tegra-vi4 15700000.vi: initialized
[    5.839009] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi--2 bound
[    5.845103] tegra_rtc c2a0000.rtc: setting system clock to 2000-01-01 01:00:13 UTC (946688413)
[    5.845832] mmcblk mmc0:0001: Card claimed for testing.
[    5.859185] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi--1 bound
[    5.862694] bpmp: mounted debugfs mirror
[    5.863526] bwmgr: missing cdev-type property
[    5.866995] ALSA device list:
[    5.866998]   #0: tegra-hda at 0x3518000 irq 379
[    5.866999]   #1: tegra-snd-t186ref-mobile-rt565x
[    6.012586] EXT4-fs (mmcblk0p1): 13 orphan inodes deleted
[    6.018000] EXT4-fs (mmcblk0p1): recovery complete
[    6.037971] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    6.046102] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    6.053483] devtmpfs: mounted
[    6.058639] Freeing unused kernel memory: 8640K
[    6.158536] systemd[1]: System time before build time, advancing clock.
[    6.183525] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.197448] cgroup: cgroup2: unknown option "nsdelegate"
[    6.214281] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    6.237392] systemd[1]: Detected architecture arm64.
[    6.261367] systemd[1]: Set hostname to <tx2-nx>.
[    6.347570] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    6.364646] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    6.488739] random: systemd: uninitialized urandom read (16 bytes read)
[    6.495404] systemd[1]: Reached target User and Group Name Lookups.
[    6.501999] random: systemd: uninitialized urandom read (16 bytes read)
[    6.510122] systemd[1]: Created slice System Slice.
[    6.515180] random: systemd: uninitialized urandom read (16 bytes read)
[    6.521952] systemd[1]: Listening on RPCbind Server Activation Socket.
[    6.528737] systemd[1]: Listening on udev Control Socket.
[    6.534461] systemd[1]: Listening on Journal Audit Socket.
[    6.567828] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[    6.827387] systemd-journald[2118]: Received request to flush runtime journal from PID 1
[    7.344890] using random self ethernet address
[    7.356580] using random host ethernet address
[    7.722712] random: crng init done
[    7.726123] random: 7 urandom warning(s) missed due to ratelimiting
[    7.937044] Mass Storage Function, version: 2009/09/11
[    7.937051] LUN: removable file: (no medium)
[    7.957323] using random self ethernet address
[    7.975408] using random host ethernet address
[    8.012957] rndis0: HOST MAC 7a:39:a6:8e:b4:a0
[    8.013193] rndis0: MAC 7a:39:a6:8e:b4:a1
[    8.015558] usb0: HOST MAC 7a:39:a6:8e:b4:a2
[    8.015609] usb0: MAC 7a:39:a6:8e:b4:a3
[    8.015632] tegra-xudc-new 3550000.xudc: exiting ELPG
[    8.024132] tegra-xudc-new 3550000.xudc: exiting ELPG done
[    8.024156] tegra-xudc-new 3550000.xudc: ep 0 (type: 0, dir: out) enabled
[    8.024185] tegra-xudc-new 3550000.xudc: entering ELPG
[    8.025350] tegra-xudc-new 3550000.xudc: entering ELPG done
[    8.025363] tegra-xudc-new 3550000.xudc: exiting ELPG
[    8.026402] tegra-xudc-new 3550000.xudc: exiting ELPG done
[    8.026416] tegra-xudc-new 3550000.xudc: entering ELPG
[    8.027087] tegra-xudc-new 3550000.xudc: entering ELPG done
[    8.047854] l4tbr0: port 1(rndis0) entered blocking state
[    8.047859] l4tbr0: port 1(rndis0) entered disabled state
[    8.048371] device rndis0 entered promiscuous mode
[    8.065410] IPv6: ADDRCONF(NETDEV_UP): rndis0: link is not ready
[    8.078699] l4tbr0: port 2(usb0) entered blocking state
[    8.078703] l4tbr0: port 2(usb0) entered disabled state
[    8.078851] device usb0 entered promiscuous mode
[    8.090603] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[    8.146796] tas5720 7-006c: tas5722_volume_set: 414
[    8.163588] tegra-xusb 3530000.xhci: cannot find firmware....retry after 1 second
[    8.174055] tas5720 7-006c: tas5720_set_dai_fmt: 0x4001
[    8.181678] tas5720 7-006c: tas5720_set_dai_fmt: 0x4001
[    8.380723] CPU1: shutdown
[    8.383482] psci: CPU1 killed (polled 0 ms)
[    8.426741] CPU2: shutdown
[    8.429458] psci: CPU2 killed (polled 0 ms)
[    8.442821] bcpu-throttle-alert cooling device registered.
[    8.446626] mcpu-throttle-alert cooling device registered.
[    8.447355] gpu-throttle-alert cooling device registered.
[    8.499045] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.581252] input: Goodix Capacitive TouchScreen as /devices/c240000.i2c/i2c-1/1-005d/input/input3
[    8.582445] gpio tegra-gpio wake60 for gpio=91(L:3)
[    8.646210] zram: Added device: zram0
[    8.648681] zram: Added device: zram1
[    8.650001] zram: Added device: zram2
[    8.650913] zram: Added device: zram3
[    8.675796] zram0: detected capacity change from 0 to 502456320
[    8.739127] Adding 490676k swap on /dev/zram0.  Priority:5 extents:1 across:490676k SS
[    8.744430] zram1: detected capacity change from 0 to 502456320
[    8.756309] Adding 490676k swap on /dev/zram1.  Priority:5 extents:1 across:490676k SS
[    8.760433] zram2: detected capacity change from 0 to 502456320
[    8.773047] Adding 490676k swap on /dev/zram2.  Priority:5 extents:1 across:490676k SS
[    8.777068] zram3: detected capacity change from 0 to 502456320
[    8.793867] Adding 490676k swap on /dev/zram3.  Priority:5 extents:1 across:490676k SS
[    8.811985] gpio tegra-gpio-aon wake51 for gpio=47(AA:7)
[    8.815718] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.176383] tegra-xusb 3530000.xhci: Firmware timestamp: 2020-07-06 13:39:28 UTC, Version: 55.18 release
[    9.176414] tegra-xusb 3530000.xhci: xHCI Host Controller
[    9.176430] tegra-xusb 3530000.xhci: new USB bus registered, assigned bus number 1
[    9.177136] tegra-xusb 3530000.xhci: hcc params 0x0184fd25 hci version 0x100 quirks 0x00050810
[    9.177166] tegra-xusb 3530000.xhci: irq 66, io mem 0x03530000
[    9.177290] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    9.177294] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.177297] usb usb1: Product: xHCI Host Controller
[    9.177299] usb usb1: Manufacturer: Linux 4.9.253-tegra xhci-hcd
[    9.177302] usb usb1: SerialNumber: 3530000.xhci
[    9.177706] hub 1-0:1.0: USB hub found
[    9.177736] hub 1-0:1.0: 4 ports detected
[    9.178051] tegra-xusb 3530000.xhci: xHCI Host Controller
[    9.178060] tegra-xusb 3530000.xhci: new USB bus registered, assigned bus number 2
[    9.178177] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    9.178181] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.178184] usb usb2: Product: xHCI Host Controller
[    9.178186] usb usb2: Manufacturer: Linux 4.9.253-tegra xhci-hcd
[    9.178189] usb usb2: SerialNumber: 3530000.xhci
[    9.178579] hub 2-0:1.0: USB hub found
[    9.178639] hub 2-0:1.0: 3 ports detected
[    9.184915] Wake76 for irq=199
[    9.184919] Wake77 for irq=199
[    9.184921] Wake78 for irq=199
[    9.184922] Wake79 for irq=199
[    9.184923] Wake80 for irq=199
[    9.184925] Wake81 for irq=199
[    9.184926] Wake82 for irq=199
[    9.184966] tegra-xusb 3530000.xhci: Upgrade port 0 to USB3.0
[    9.184970] tegra-xusb 3530000.xhci: Upgrade port 1 to USB3.0
[    9.282511] usb usb2: usb_suspend_both: status 0
[    9.407512] Bridge firewalling registered
[    9.464633] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    9.502366] usb 1-2: new full-speed USB device number 2 using tegra-xusb
[    9.528264] usb 1-2: New USB device found, idVendor=045e, idProduct=0800
[    9.528270] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    9.528273] usb 1-2: Product: Microsoft® Nano Transceiver v2.0
[    9.528275] usb 1-2: Manufacturer: Microsoft
[    9.531697] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/3530000.xhci/usb1/1-2/1-2:1.0/0003:045E:0800.0001/input/input4
[    9.590958] hid-generic 0003:045E:0800.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® Nano Transceiver v2.0] on usb-3530000.xhci-2/input0
[    9.595768] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/3530000.xhci/usb1/1-2/1-2:1.1/0003:045E:0800.0002/input/input5
[    9.596161] hid-generic 0003:045E:0800.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® Nano Transceiver v2.0] on usb-3530000.xhci-2/input1
[    9.612156] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/3530000.xhci/usb1/1-2/1-2:1.2/0003:045E:0800.0003/input/input6
[    9.670629] hid-generic 0003:045E:0800.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® Nano Transceiver v2.0] on usb-3530000.xhci-2/input2
[    9.790371] usb 1-3: new full-speed USB device number 3 using tegra-xusb
[    9.811646] usb 1-3: New USB device found, idVendor=1a86, idProduct=7523
[    9.811652] usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    9.811655] usb 1-3: Product: USB Serial
[    9.959839] tegradc 15200000.nvdisplay: unblank
[    9.959848] tegradc 15210000.nvdisplay: blank - powerdown
[   10.039626] Netfilter messages via NETLINK v0.30.
[   10.059908] ctnetlink v0.93: registering with nfnetlink.
[   10.476098] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[   11.138938] fuse init (API version 7.26)
[   11.252369] tas5720 7-006c: tas5722_volume_set: 414
[   11.335744] tas5720 7-006c: tas5720_set_dai_fmt: 0x4001
[   11.364444] tas5720 7-006c: tas5720_set_dai_fmt: 0x4001
[   12.061192] usbcore: registered new interface driver ch341
[   12.062926] usbserial: USB Serial support registered for ch341-uart
[   12.062977] ch341 1-3:1.0: ch341-uart converter detected
[   12.064294] usb 1-3: ch341-uart converter now attached to ttyUSB0
[   13.141071] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.317768] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   13.317779] Bluetooth: BNEP socket layer initialized
[   13.734862] tas5720 7-006c: tas5722_volume_get: 414
[   13.915306] tas5720 7-006c: tas5722_volume_get: 414
[   14.116114] tas5720 7-006c: tas5722_volume_get: 414
[   14.153337] tegradc 15200000.nvdisplay: blank - powerdown
[   14.290016] tas5720 7-006c: tas5722_volume_get: 414
[   14.451273] tas5720 7-006c: tas5722_volume_get: 414

When I’m trying to play sound via Ubuntu Sound Settings - I press Test and the test only happens for like 10 ms before going back - it’s like there’s an error when trying to play but there’s nothing on dmesg.

The only thing that differs between my prototype test is i2s3 instead of i2s1 and that I’m using AUD_MCLK pin for clock, and that I’m using dai-link-3 instead of dai-link-1 (it gives me an error on codec probe, if I select dai-link-1. It said that I can’t have multiple codecs on single link or something like that). Otherwise there are nothing on any of the pins that are used (I2S or AUD_MCLK - all are low during the time of the boot)

Hi therealmatiss,
I2S3 Pinmux is enabled by default, so only AUD_MCLK is needed to be setup. You need to check with I2S3/DAP3 with “cat tegra_pinctrl_reg”

The kernel log shows the sound card got registered with codec TAS5722 ([ 5.563020] tas5720 7-006c: tas5720_codec_probe)
[ 5.866995] ALSA device list:
[ 5.866998] #0: tegra-hda at 0x3518000 irq 379
[ 5.866999] #1: tegra-snd-t186ref-mobile-rt565x

Considering the above information, codec and sound card registration part seems to be fine. Now coming to playback scenario on Ubuntu. I would like to understand few things from your side as there is no dmesg error seen during playback from ubuntu gui.

  1. To start, Can you try the playback with commandline tools like aplay/speaker-test.
    for eg.
    amixer -c 1 cset name=“I2S3 Mux” “ADMAIF2”
    aplay -D hw:1,1
  2. Please check, if the audio file duration is for 10second the above command should exit exactly after the same duration. This will make sure there is no dapm related issue.
  3. If possible, can you probe the I2S3 signals on the board.

Once we have the above information, we can proceed on next steps.

1 Like

Hello!

By trying to play audio track I get this:

nx@tx2-nx:~$ amixer -c 1 cset name='I2S3 Mux' 'ADMAIF2'
numid=997,iface=MIXER,name='I2S3 Mux'
  ; type=ENUMERATED,access=rw------,values=1,items=81
  ; Item #0 'None'
  ; Item #1 'ADMAIF1'
  ; Item #2 'ADMAIF2'
  ; Item #3 'ADMAIF3'
  ; Item #4 'ADMAIF4'
  ; Item #5 'ADMAIF5'
  ; Item #6 'ADMAIF6'
  ; Item #7 'ADMAIF7'
  ; Item #8 'ADMAIF8'
  ; Item #9 'ADMAIF9'
  ; Item #10 'ADMAIF10'
  ; Item #11 'ADMAIF11'
  ; Item #12 'ADMAIF12'
  ; Item #13 'ADMAIF13'
  ; Item #14 'ADMAIF14'
  ; Item #15 'ADMAIF15'
  ; Item #16 'ADMAIF16'
  ; Item #17 'I2S1'
  ; Item #18 'I2S2'
  ; Item #19 'I2S3'
  ; Item #20 'I2S4'
  ; Item #21 'I2S5'
  ; Item #22 'I2S6'
  ; Item #23 'SFC1'
  ; Item #24 'SFC2'
  ; Item #25 'SFC3'
  ; Item #26 'SFC4'
  ; Item #27 'MIXER1-1'
  ; Item #28 'MIXER1-2'
  ; Item #29 'MIXER1-3'
  ; Item #30 'MIXER1-4'
  ; Item #31 'MIXER1-5'
  ; Item #32 'AMX1'
  ; Item #33 'AMX2'
  ; Item #34 'AMX3'
  ; Item #35 'AMX4'
  ; Item #36 'ARAD1'
  ; Item #37 'AFC1'
  ; Item #38 'AFC2'
  ; Item #39 'AFC3'
  ; Item #40 'AFC4'
  ; Item #41 'AFC5'
  ; Item #42 'AFC6'
  ; Item #43 'OPE1'
  ; Item #44 'SPKPROT1'
  ; Item #45 'MVC1'
  ; Item #46 'MVC2'
  ; Item #47 'IQC1-1'
  ; Item #48 'IQC1-2'
  ; Item #49 'IQC2-1'
  ; Item #50 'IQC2-2'
  ; Item #51 'DMIC1'
  ; Item #52 'DMIC2'
  ; Item #53 'DMIC3'
  ; Item #54 'DMIC4'
  ; Item #55 'ADX1-1'
  ; Item #56 'ADX1-2'
  ; Item #57 'ADX1-3'
  ; Item #58 'ADX1-4'
  ; Item #59 'ADX2-1'
  ; Item #60 'ADX2-2'
  ; Item #61 'ADX2-3'
  ; Item #62 'ADX2-4'
  ; Item #63 'ADX3-1'
  ; Item #64 'ADX3-2'
  ; Item #65 'ADX3-3'
  ; Item #66 'ADX3-4'
  ; Item #67 'ADX4-1'
  ; Item #68 'ADX4-2'
  ; Item #69 'ADX4-3'
  ; Item #70 'ADX4-4'
  ; Item #71 'ADMAIF17'
  ; Item #72 'ADMAIF18'
  ; Item #73 'ADMAIF19'
  ; Item #74 'ADMAIF20'
  ; Item #75 'ASRC1-1'
  ; Item #76 'ASRC1-2'
  ; Item #77 'ASRC1-3'
  ; Item #78 'ASRC1-4'
  ; Item #79 'ASRC1-5'
  ; Item #80 'ASRC1-6'
  : values=2'
nx@tx2-nx:~/Desktop$ aplay -D hw:1,1 --dump-hw-params test.wav 
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
HW Params of device "hw:1,1":
--------------------
ACCESS:  MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT:  S8 S16_LE S24_LE S32_LE
SUBFORMAT:  STD
SAMPLE_BITS: [8 32]
FRAME_BITS: [8 512]
CHANNELS: [1 16]
RATE: [8000 192000]
PERIOD_TIME: (10 2048000]
PERIOD_SIZE: [2 16384]
PERIOD_BYTES: [128 16384]
PERIODS: [1 8]
BUFFER_TIME: (10 4096000]
BUFFER_SIZE: [2 32768]
BUFFER_BYTES: [128 32768]
TICK_TIME: ALL
--------------------

So there’s no sound obviously - no errors or anything like that. But also I am not setting sysclk anywhere? How can I get AUD_MCLK to work and I2S CLK?

  1. There is nothing on any of the pins. The SFIO functions are set correctly.

Hi therealmatiss,

As soon as playback starts the AUD_MCLK and I2S CLK will be ON as SFIO functions are set correctly from your comment.

Also on my earlier ask, Does the aplay command runs for whole duration of test.wav or exit immediately?.

Can you provide me the details on the I2S3 Header Pins used for Probing and codec connection.

1 Like

Okay, so I added assigned-clock-rates = <12288000>, <12288000>; to DTS and now I have working all I2S signals but no AUD_MCLK.

I did these commands:
amixer -c 1 cset name='I2S3 Mux' 'ADMAIF3'
amixer -c 1 cset name='ADMAIF3 Mux' 'I2S'
aplay -D hw:1,2 test.wav

aplay does play the test.wav file for the entire duration. Unfortunately the speaker doesn’t produce any sound - I also checked the chip itself - the Enable pin is correct (on) and Fault is low (so there’s no fault).

Also I noticed that in tegra_machine_driver_mobile.c there’s a function static int codec_init(struct tegra_machine *machine) which contains:

        if (strstr(dai_links[i].name, "rt565x-playback") ||
		    strstr(dai_links[i].name, "rt565x-codec-sysclk-bclk1"))
			dai_links[i].init = tegra_machine_rt565x_init;
		else if (strstr(dai_links[i].name, "fe-pi-audio-z-v2"))
			dai_links[i].init = tegra_machine_fepi_init;
		else if (strstr(dai_links[i].name, "respeaker-4-mic-array"))
			dai_links[i].init = tegra_machine_respeaker_init;

So I tried to add:

else if (strstr(dai_links[i].name, "tas5720-playback"))
			dai_links[i].init = tegra_machine_tas5720_init;
static int tegra_machine_tas5720_init(struct snd_soc_pcm_runtime *rtd)
{
    struct device *dev = rtd->card->dev;
    int err;

		err = snd_soc_dai_set_sysclk(rtd->codec_dai, 0, 12288000,
                                 SND_SOC_CLOCK_IN);
    if (err) {
			dev_err(dev, "failed to set tas5720 sysclk!\n");
			// return err;
    }

    return 0;
}

Unfortunately if I set the clock SND_SOC_CLOCK_IN or SND_SOC_CLOCK_OUT it fails to set system clock.
I don’t know - maybe I don’t even need it as I will be using AUD_MCLK.

Okay, so I don’t know what I’m doing wrong. I read that having mclk-fs set can mess things up but in DTS I set:

assigned-clock-rates = <0>, <12288000>;
mclk-fs = <0>;

There are all I2S signals but no AUD_MCLK. sudo cat grep /sys/kernel/debug/clocks/aud_mclk/clk_rate shows 22579199. Even though I have it set at 12288000.

Hi,
mclk-fs = <0>; seems not correct. for e.g sysclk(AUD_MCLK) expected is “256xsample_rate” for your codec. Please set mclk-fs = <256>;

1 Like

Hey!

Just did this like 30 minutes ago myself and now there are all signals! Unfortunately there’s no output. I noticedthat the Codec set_volume function is never called. How can I set volume through amixer?

That’s great news to get I2S and AUD_MCLK probed fine.

Can you check if codec control is exposed for Volume.

amixer -c 1 controls

If you find any volume control, we can set the volume by amixer -c 1 cset name="" “value”

1 Like

The volume in registers are set okay.

So I check all the chip registers and it sets Clock Error bit to high - I noticed that the AUD_MCLK is not 48000 * 256 = 12288000 - instead via the oscilloscope it’s read about 11.5 MHz. What could be wrong?

Hi therealmatiss,
Can you dump the clock tree “cat /sys/kernel/debug/clk/clk_summary” and attach the log. AUD_MCLK should be deriving it’s clock from PLLA clock. Need to check if the parent clock rate is set properly.

1 Like

Here’s the log:

   clock                                           enable_cnt  prepare_cnt        rate    req_rate   accuracy   phase
----------------------------------------------------------------------------------------------------------------------
 gpc2clk                                                    1            1           0           0          0 0  
 *[        default_freq                                       0]
    gpcclk                                                  1            1   114750000   114750000          0 0  
    *[        default_freq                                       0]
 vi                                                         0            0   409600000   409600000          0 0  
 *[        default_freq                                       0]
 isp                                                        0            0   768000000   768000000          0 0  
 *[        default_freq                                       0]
 sce_cpu_nic                                                1            1   115200000   115200000          0 0  
 *[        default_freq                                       0]
 se                                                         0            0   601600000   601600000          0 0  
 *[        default_freq                                       0]
 eqos_rx_input                                              1            1           0           0          0 0  
 *[        default_freq                                       0]
    eqos_rx                                                 1            1           0           0          0 0  
    *[        default_freq                                       0]
 sor0_pad_clkout                                            8            8   270000000   270000000          0 0  
 *[        default_freq                                       0]
    sor0_out                                                7            7   270000000    24000000          0 0  
    *[        default_freq                                       0]
 i2s6_sync_input                                            0            0           0           0          0 0  
 *[        default_freq                                       0]
 i2s5_sync_input                                            0            0           0           0          0 0  
 *[        default_freq                                       0]
 i2s4_sync_input                                            0            0           0           0          0 0  
 *[        default_freq                                       0]
 i2s3_sync_input                                            0            0           0           0          0 0  
 *[        default_freq                                       0]
 i2s2_sync_input                                            0            0           0           0          0 0  
 *[        default_freq                                       0]
 i2s1_sync_input                                            0            0           0           0          0 0  
 *[        default_freq                                       0]
    dspk2_sync_clk                                          0            0           0           0          0 0  
    *[        default_freq                                       0]
    dspk1_sync_clk                                          0            0           0           0          0 0  
    *[        default_freq                                       0]
    dmic4_sync_clk                                          0            0           0           0          0 0  
    *[        default_freq                                       0]
    dmic3_sync_clk                                          0            0           0           0          0 0  
    *[        default_freq                                       0]
    dmic2_sync_clk                                          0            0           0           0          0 0  
    *[        default_freq                                       0]
    dmic1_sync_clk                                          0            0           0           0          0 0  
    *[        default_freq                                       0]
 spdifin_sync_input                                         0            0           0           0          0 0  
 *[        default_freq                                       0]
    i2s6_sync_clk                                           0            0           0           0          0 0  
    *[        default_freq                                       0]
    i2s5_sync_clk                                           0            0           0           0          0 0  
    *[        default_freq                                       0]
    i2s4_sync_clk                                           0            0           0           0          0 0  
    *[        default_freq                                       0]
    i2s3_sync_clk                                           0            0           0           0          0 0  
    *[        default_freq                                       0]
    i2s2_sync_clk                                           0            0           0           0          0 0  
    *[        default_freq                                       0]
    i2s1_sync_clk                                           0            0           0           0          0 0  
    *[        default_freq                                       0]
 32khz_out0                                                 0            0       32768       32768          0 0  
 *[        default_freq                                       0]
 nvjpg                                                      0            0   857600000   857600000          0 0  
 *[        default_freq                                       0]
 nvenc                                                      0            0  1164800000  1164800000          0 0  
 *[        default_freq                                       0]
 vic                                                        0            0   115200000   115200000          0 0  
 *[        default_freq                                       0]
 nvdec                                                      0            0  1203200000  1203200000          0 0  
 *[        default_freq                                       0]
 tsecb                                                      0            0   716800000   716800000          0 0  
 *[        default_freq                                       0]
 tsec                                                       0            0   716800000   716800000          0 0  
 *[        default_freq                                       0]
 emc                                                        0            0  1600000000  1600000000          0 0  
 *[        default_freq                                       0]
 osc                                                        2            2    38400000    38400000          0 0  
 *[        default_freq                                       0]
    spi2                                                    0            0    38400000    38400000          0 0  
    *[        default_freq                                       0]
    nafll_disp                                              0            0           0           0          0 0  
    *[        default_freq                                       0]
       dflldisp_div                                         0            0           0           0          0 0  
       *[        default_freq                                       0]
    pwm4                                                    1            1     6400000     5646848          0 0  
    *[        default_freq                                       0]
    usb2_hsic_trk                                           1            1     9600000     9600000          0 0  
    *[        default_freq                                       0]
       usb2_trk                                             1            1     9600000     9600000          0 0  
       *[        default_freq                                       0]
 clk_m                                                      8            8    19200000    19200000          0 0  
 *[        default_freq                                       0]
    spi1                                                    0            0    19200000    19200000          0 0  
    *[        default_freq                                       0]
    hda2hdmicodec                                           2            2    19200000    19200000          0 0  
    *[        default_freq                                       0]
    sor0                                                    1            1    19200000    19200000          0 0  
    *[        default_freq                                       0]
    dsid_lp                                                 0            0    19200000    19200000          0 0  
    *[        default_freq                                       0]
    dsic_lp                                                 0            0    19200000    19200000          0 0  
    *[        default_freq                                       0]
    dsib_lp                                                 0            0    19200000    19200000          0 0  
    *[        default_freq                                       0]
    dsia_lp                                                 0            0    19200000    19200000          0 0  
    *[        default_freq                                       0]
    nvdisplay_p2                                            2            2    19200000    19200000          0 0  
    *[        default_freq                                       0]
    tach                                                    1            1     1010526     1010526          0 0  
    *[        default_freq                                       0]
    actmon                                                  2            2    19200000    19200000          0 0  
    *[        default_freq                                       0]
    mipi_cal                                                1            1    19200000    19200000          0 0  
    *[        default_freq                                       0]
    fuse                                                    2            2    19200000    19200000          0 0  
    *[        default_freq                                       0]
       kfuse                                                0            0    19200000    19200000          0 0  
       *[        default_freq                                       0]
    dbgapb                                                  0            0    19200000    19200000          0 0  
    *[        default_freq                                       0]
 clk_32k                                                    0            0       32768       32768          0 0  
 *[        default_freq                                       0]
 pll_ref                                                    7            7    38400000    38400000          0 0  
 *[        default_freq                                       0]
    pll_nvcsi                                               0            0   450000000   450000000          0 0  
    *[        default_freq                                       0]
       nvcsi                                                0            0   225000000   225000000          0 0  
       *[        default_freq                                       0]
    pll_dp                                                  1            1   270000000   270000000          0 0  
    *[        default_freq                                       0]
    pll_c4_vco                                              0            0   784999218   784999218          0 0  
    *[        default_freq                                       0]
       pll_c4_out0                                          0            0   196249804   196249804          0 0  
       *[        default_freq                                       0]
          sdmmc4                                            0            0   196249804   196249804          0 0  
          *[        default_freq                                       0]
       pll_c4_vco_div2                                      0            0   392499609   392499609          0 0  
       *[        default_freq                                       0]
       pll_c4_out2                                          0            0   156999843   156999843          0 0  
       *[        default_freq                                       0]
       pll_c4_out1                                          0            0   261666406   261666406          0 0  
       *[        default_freq                                       0]
          pll_c4_out_mux                                    0            0   261666406   261666406          0 0  
          *[        default_freq                                       0]
             pllc4_out                                      0            0   261666406   261666406          0 0  
             *[        default_freq                                       0]
    pll_disphub                                             1            1   508800000   508800000          0 0  
    *[        default_freq                                       0]
       plldisphub_div                                       0            0   508800000   508800000          0 0  
       *[        default_freq                                       0]
       nvdisplayhub                                         2            2    23127272    22406250          0 0  
       *[        default_freq                                       0]
    pll_d3                                                  1            1   148500000   148500000          0 0  
    *[        default_freq                                       0]
       nvdisplay_p1                                         4            4   148500000   148500000          0 0  
       *[        default_freq                                       0]
          nvdisplay_disp                                    2            2   148500000   194000000          0 0  
          *[        default_freq                                       0]
    pll_d2                                                  0            0    25806426    25806426          0 0  
    *[        default_freq                                       0]
    pll_d                                                   4            4   349991852   349992000          0 0  
    *[        default_freq                                       0]
       dsid                                                 1            1   349991852   582000000          0 0  
       *[        default_freq                                       0]
       dsic                                                 1            1   349991852   582000000          0 0  
       *[        default_freq                                       0]
       dsib                                                 1            1   349991852   582000000          0 0  
       *[        default_freq                                       0]
       pll_d_out1                                           2            2   349991852   582000000          0 0  
       *[        default_freq                                       0]
          dsi                                               1            1   349991852   582000000          0 0  
          *[        default_freq                                       0]
          nvdisplay_p0                                      3            4    29165987    29166000          0 0  
          *[        default_freq                                       0]
             nvdisplay_dsc                                  1            1    29165987   194000000          0 0  
             *[        default_freq                                       0]
    pll_e                                                   1            1    38400000    38400000          0 0  
    *[        default_freq                                       0]
       pcie                                                 0            0    38400000    38400000          0 0  
       *[        default_freq                                       0]
    pll_a1                                                  0            0   600000000   600000000          0 0  
    *[        default_freq                                       0]
       pll_a_out1                                           0            0   600000000   600000000          0 0  
       *[        default_freq                                       0]
    pll_a_vco                                               0            0   307200000   307200000          0 0  
    *[        default_freq                                       0]
       pll_a                                                0            0   307200000   307200000          0 0  
       *[        default_freq                                       0]
          pll_a_out0                                        0            0   307200000   307200000          0 0  
          *[        default_freq                                       0]
             aud_mclk                                       0            0    12288000    12288000          0 0  
             *[        default_freq                                       0]
             dspk2                                          0            0    12288000    12288000          0 0  
             *[        default_freq                                       0]
             dspk1                                          0            0    12288000    12288000          0 0  
             *[        default_freq                                       0]
             dmic4                                          0            0     3072000     3072000          0 0  
             *[        default_freq                                       0]
             dmic3                                          0            0     3072000     3072000          0 0  
             *[        default_freq                                       0]
             dmic2                                          0            0     3072000     3072000          0 0  
             *[        default_freq                                       0]
             dmic1                                          0            0     3072000     3072000          0 0  
             *[        default_freq                                       0]
             i2s6                                           0            0     2390661     1536000          0 0  
             *[        default_freq                                       0]
             i2s5                                           0            0     2390661     1536000          0 0  
             *[        default_freq                                       0]
             i2s4                                           0            0     2390661     1536000          0 0  
             *[        default_freq                                       0]
             i2s3                                           0            0     2390661     1536000          0 0  
             *[        default_freq                                       0]
             i2s2                                           0            0     2390661     1536000          0 0  
             *[        default_freq                                       0]
             i2s1                                           0            0     2390661     1536000          0 0  
             *[        default_freq                                       0]
    pll_c2                                                  0            0   307200000   307200000          0 0  
    *[        default_freq                                       0]
    pll_u                                                   3            3    38400000    38400000          0 0  
    *[        default_freq                                       0]
       pll_u_48M                                            1            1    48000000    48000000          0 0  
       *[        default_freq                                       0]
          xusb_fs                                           2            2    48000000    48000000          0 0  
          *[        default_freq                                       0]
       pll_u_480M                                           1            1   480000000   480000000          0 0  
       *[        default_freq                                       0]
          xusb_core_ss                                      1            1   120000000   120000000          0 0  
          *[        default_freq                                       0]
       pll_refe_ref                                         1            1    60000000    60000000          0 0  
       *[        default_freq                                       0]
          pllrefe_iddq                                      1            1    60000000    60000000          0 0  
          *[        default_freq                                       0]
             pll_refe                                       2            2   625000000   625000000          0 0  
             *[        default_freq                                       0]
                pll_refe_out1                               3            3   625000000   625000000          0 0  
                *[        default_freq                                       0]
                   eqos_tx_clk                              1            1   125000000   125000000          0 0  
                   *[        default_freq                                       0]
                   eqos_ptp_ref_clk                         1            1   125000000   125000000          0 0  
                   *[        default_freq                                       0]
                   pllrefe_out1_div5                        1            1   125000000   125000000          0 0  
                   *[        default_freq                                       0]
                      eqos_axi_clk                          1            1   125000000   125000000          0 0  
                      *[        default_freq                                       0]
                pll_refe_out                                1            1   312500000   312500000          0 0  
                *[        default_freq                                       0]
                   xusb_falcon                              1            1   312500000   312500000          0 0  
                   *[        default_freq                                       0]
                   pllrefe_out_gated                        0            0   312500000   312500000          0 0  
                   *[        default_freq                                       0]
    pll_aon                                                 0            0   480000000   480000000          0 0  
    *[        default_freq                                       0]
    pll_c                                                   0            0   307200000   307200000          0 0  
    *[        default_freq                                       0]
    pll_p                                                   4            4   408000000   408000000          0 0  
    *[        default_freq                                       0]
       pll_p_out5                                           1            1   204000000   204000000          0 0  
       *[        default_freq                                       0]
          gpu                                               1            1   204000000   204000000          0 0  
          *[        default_freq                                       0]
       pll_p_div17                                          1            1    24000000    24000000          0 0  
       *[        default_freq                                       0]
          sor_safe                                          9            9    24000000    24000000          0 0  
          *[        default_freq                                       0]
             dpaux                                          1            1    24000000    24000000          0 0  
             *[        default_freq                                       0]
       host1x                                               1            1   102000000   102000000          0 0  
       *[        default_freq                                       0]
       pll_p_out0                                          19           19   408000000   408000000          0 0  
       *[        default_freq                                       0]
          nvcsilp                                           0            0   204000000   204000000          0 0  
          *[        default_freq                                       0]
          ahub                                              0            0    45333333    45333333          0 0  
          *[        default_freq                                       0]
          sce_apb                                           1            1   102000000   102000000          0 0  
          *[        default_freq                                       0]
          sdmmc3                                            0            0   204000000   204000000          0 0  
          *[        default_freq                                       0]
          sdmmc_legacy_tm                                   0            0    12000000    12000000          0 0  
          *[        default_freq                                       0]
          extperiph1                                        1            1    24000000    24000000          0 0  
          *[        default_freq                                       0]
          extperiph2                                        1            1    24000000    24000000          0 0  
          *[        default_freq                                       0]
          xusb_core_dev                                     1            1   102000000   102000000          0 0  
          *[        default_freq                                       0]
          xusb                                              2            2   102000000   102000000          0 0  
          *[        default_freq                                       0]
             xusb_ss                                        2            2   102000000   102000000          0 0  
             *[        default_freq                                       0]
             xusb_host                                      1            1   102000000   102000000          0 0  
             *[        default_freq                                       0]
          axi_cbb                                           1            1   102000000   102000000          0 0  
          *[        default_freq                                       0]
          uartd                                             0            0   408000000    19200000          0 0  
          *[        default_freq                                       0]
          uartb                                             0            0   408000000    19200000          0 0  
          *[        default_freq                                       0]
          maud                                              1            1   102000000   102000000          0 0  
          *[        default_freq                                       0]
          hda2codec_2x                                      2            2    48000000    48000000          0 0  
          *[        default_freq                                       0]
          hda                                               2            2    51000000    51000000          0 0  
          *[        default_freq                                       0]
          uarta                                             1            1   408000000   408000000          0 0  
          *[        default_freq                                       0]
          spdif_in                                          0            0   408000000   408000000          0 0  
          *[        default_freq                                       0]
          afi                                               0            0     3187500           0          0 0  
          *[        default_freq                                       0]
          pwm3                                              0            0   102000000   102000000          0 0  
          *[        default_freq                                       0]
          pwm2                                              0            0   102000000   102000000          0 0  
          *[        default_freq                                       0]
          pwm1                                              0            0   102000000   102000000          0 0  
          *[        default_freq                                       0]
          ape                                               0            0   408000000   408000000          0 0  
          *[        default_freq                                       0]
             apb2ape                                        0            0   408000000   408000000          0 0  
             *[        default_freq                                       0]
          uart_fst_mipi_cal                                 1            1    68000000    68000000          0 0  
          *[        default_freq                                       0]
          i2c9                                              1            1    81600000    83200000          0 0  
          *[        default_freq                                       0]
          i2c8                                              1            1    81600000    83200000          0 0  
          *[        default_freq                                       0]
          i2c7                                              1            1    81600000    83200000          0 0  
          *[        default_freq                                       0]
          i2c6                                              1            1    20400000    20700000          0 0  
          *[        default_freq                                       0]
          i2c4                                              1            1    20400000    20700000          0 0  
          *[        default_freq                                       0]
          i2c3                                              1            1    20400000    20700000          0 0  
          *[        default_freq                                       0]
          i2c2                                              1            1    20400000    20700000          0 0  
          *[        default_freq                                       0]
          i2c1                                              1            1    81600000    83200000          0 0  
          *[        default_freq                                       0]
          pllp_grtcba                                       0            0   408000000   408000000          0 0  
          *[        default_freq                                       0]
             pllp_grtbb                                     0            0   408000000   408000000          0 0  
             *[        default_freq                                       0]
             pllp_xusb                                      0            0   408000000   408000000          0 0  
             *[        default_freq                                       0]
             pllp_uphy                                      0            0   408000000   408000000          0 0  
             *[        default_freq                                       0]
             pllp_audio                                     0            0   408000000   408000000          0 0  
             *[        default_freq                                       0]
             pllp_grtcab                                    0            0   408000000   408000000          0 0  
             *[        default_freq                                       0]
                pllp_boot                                   0            0   408000000   408000000          0 0  
                *[        default_freq                                       0]
                pllp_bb                                     0            0   408000000   408000000          0 0  
                *[        default_freq                                       0]
                pllp_grtcaa                                 0            0   408000000   408000000          0 0  
                *[        default_freq                                       0]
                   pllp_grtlb                               0            0   408000000   408000000          0 0  
                   *[        default_freq                                       0]
                      pllp_grtla                            0            0   408000000   408000000          0 0  
                      *[        default_freq                                       0]
                         pllp_grtba                         0            0   408000000   408000000          0 0  
                         *[        default_freq                                       0]
                pllp_grtcbb                                 0            0   408000000   408000000          0 0  
                *[        default_freq                                       0]
                   pllp_display                             0            0   408000000   408000000          0 0  
                   *[        default_freq                                       0]
                   pllp_grttb                               0            0   408000000   408000000          0 0  
                   *[        default_freq                                       0]
                      pllp_grtta                            0            0   408000000   408000000          0 0  
                      *[        default_freq                                       0]
                      pllp_aon                              0            0   408000000   408000000          0 0  
                      *[        default_freq                                       0]

From above, seems like AUD_MCLK is set to proper rate. Do you still see silent on output or noise in the output due to aud_mclk clock issue.

It’s silent - I’m pretty sure, it’s because the clock is imprecise, so the chip doesn’t even produce output then. I will try to set the MCLK precisely to 12.28 MHz via Signal generator and will keep you posted if then it works.

Okay, so I managed to solve the issue after getting all the clocks. I needed to use s32_le format instead of s16_le. It’s weird, that it worked when I initially tested this chip.

Hi therealmatiss,
Whether S32_LE works now or still facing the issue?

1 Like

Hey! The only thing I had to change was format. Now everything works :)

That’s awesome.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.