Can't read/write any SPDIF registers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't read/write any SPDIF registers

Jump to solution
658 Views
kejieyu
Contributor II

Hi,

I can request SPDIF PHY memory region, and ioremap also ok. but when try to read/write any one of SPDIF registers. The Linux system became no network connection, and no reaction on the terminator. seemly Linux dead.

Kernel log:

Request memRegion region Phy: 0x02004000 Size: 0x00004000
spdif_ioremap: Request memRegion region SPIDF ok.
spdif IRQ is ( 84)

I see the iomuxc setup a lot of the PADs.

Is there any setting of the PADs will impact the SPDIF registers access?

Or other configuration of the SOC impact the SPDIF access.

My system is not using the Freescale's SPDIF driver for audio.

Processor is : i.MX6QL

Linux version 3.18.13

Best Regards

Labels (3)
Tags (1)
0 Kudos
1 Solution
525 Views
igorpadykov
NXP Employee
NXP Employee

Hi kejieyu

please check that spdif clocks are enabled in CCM_CCGR5 ,

look at example imx6qdl-sabreauto.dtsi 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
526 Views
igorpadykov
NXP Employee
NXP Employee

Hi kejieyu

please check that spdif clocks are enabled in CCM_CCGR5 ,

look at example imx6qdl-sabreauto.dtsi 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos